Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,097

    Unsupported Sample Rate - Joggler (again)

    I was trying to play this stream below on a Joggler - direct or proxied by LMS and I get on the SqueezePlay screen the well known "Unsupported Sample-rate" message and no sound and in LMS I see
    Slim::Player::Song:pen (417) Error: Couldn't create command line for aac playback for [http://stream.srg-ssr.ch/m/rsj/aacp_96]

    I assume that this is the 48KHz problem that the Joggler does not like - and I cannot turn off stuff (Hide the audio sample rate from LMS) like in the BBC Sounds plugin because this is not going via BBC Sounds.

    This is pCP 8 with various pCP extensions added including lame - I have downgraded from a recent 8.3 to a recent 8.2.1 and have the same issue.

    I know that I can increase logging levels to see the convert.conf handling in action but is there a more general trick I can do, like the LMS bit-rate limiting to force a sample rate limit?
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,097
    I should have added - the same stream plays fine on SB2 where I see the following running

    Code:
    sh -c "/usr/local/slimserver/Bin/armhf-linux/faad" -q -w -f 1 - | "/usr/local/slimserver/Bin/armhf-linux/flac" -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,831
    Paul, it's possible to install squeezelite for playback and use squeezeplay for control

    https://www.jogglerwiki.com/forum/vi...php?f=2&t=5141

    ronnie

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,097
    I just turned on Info logging on slimproto and restarted SqueezePlay on the Joggler ... and it tells LMS that the max it can take is 44100 ...

    Code:
    [21-12-02 10:53:50.2260] Slim::Networking::Slimproto::_hello_handler (967) Squeezebox says hello:  Deviceid: 12 revision: 0 mac: 02:0e:8e:aa:bb:cc uuid: 123456789 bitmapped: 0 reconnect: 0 wlan_channellist: 0000 lang: EN  bytes_received: 0  capabilities: Model=squeezeplay,ModelName=SqueezePlay,Firmware=7.7.2-r9710,alc,ogg,flc,aif,pcm,mp3,MaxSampleRate=44100,AccuratePlayPoints,ImmediateCrossfade,test,Rtmp=2
    [21-12-02 10:53:50.2268] Slim::Networking::Slimproto::_hello_handler (1156) Hello from existing client: 02:0e:8e:24:cc:42 on ipport: 192.168.2.124:58165
    [21-12-02 10:53:50.2276] Slim::Player::SqueezePlay::updateCapabilities (167) unknown capability: ImmediateCrossfade=1, ignored
    [21-12-02 10:53:50.2281] Slim::Player::SqueezePlay::updateCapabilities (180) formats: alc,ogg,flc,aif,pcm,mp3,test
    so does this mean that LMS is not honouring it?

    Turning on logging for the convert.conf handling seems to show that it wanted to use faad but rejected it:
    "because no available stream mode supported: R"
    I think that the convert.conf is as shipped (in pCP) and I do not have a custom-convert.conf

    Code:
    [21-12-02 11:04:18.5312] Slim::Player::StreamingController::_eventAction (283) params: seekdata => undef index => 0
    [21-12-02 11:04:18.5323] Slim::Player::StreamingController::_setPlayingState (2377) new playing state STOPPED
    [21-12-02 11:04:18.5328] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state IDLE
    [21-12-02 11:04:18.5343] Slim::Player::Song::new (109) index 0 -> http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:04:18.5352] Slim::Player::Song::new (143) live=11
    [21-12-02 11:04:18.5357] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state TRACKWAIT
    [21-12-02 11:04:18.5421] Slim::Player::StreamingController::_playersMessage (796) Getting stream info...: http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:04:18.5444] Slim::Player::Song::getNextSong (222) http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:04:18.5451] Slim::Player::Song::getNextSong (244) scanning URL http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:04:18.5491] Slim::Player::StreamingController::_eventAction (302) 02:0e:8e:aa:bb:cc: Play - new state STOPPED-TRACKWAIT
    [21-12-02 11:04:18.5576] Slim::Player::StreamingController::_eventAction (272) 02:0e:8e:aa:bb:cc: StatusHeartbeat in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_NoOp
    [21-12-02 11:04:18.6590] Slim::Player::TranscodingHelper::checkBin (268) Checking formats for: aac-flc-*-*
    [21-12-02 11:04:18.6599] Slim::Player::TranscodingHelper::enabledFormat (235) Checking to see if aac-flc-*-* is enabled
    [21-12-02 11:04:18.6606] Slim::Player::TranscodingHelper::enabledFormat (243) There are 1 disabled formats...
    [21-12-02 11:04:18.6614] Slim::Player::TranscodingHelper::enabledFormat (249) Testing spt-pcm-*-* vs aac-flc-*-*
    [21-12-02 11:04:18.6621] Slim::Player::TranscodingHelper::checkBin (276)    enabled
    [21-12-02 11:04:18.6628] Slim::Player::TranscodingHelper::checkBin (278)   Found command: [faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    [21-12-02 11:04:18.6637] Slim::Player::TranscodingHelper::getConvertCommand2 (409) Rejecting [faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes - because no available stream mode supported: R
    [21-12-02 11:04:18.6645] Slim::Player::TranscodingHelper::checkBin (268) Checking formats for: aac-pcm-*-*
    [21-12-02 11:04:18.6652] Slim::Player::TranscodingHelper::enabledFormat (235) Checking to see if aac-pcm-*-* is enabled
    [21-12-02 11:04:18.6659] Slim::Player::TranscodingHelper::enabledFormat (243) There are 1 disabled formats...
    [21-12-02 11:04:18.6667] Slim::Player::TranscodingHelper::enabledFormat (249) Testing spt-pcm-*-* vs aac-pcm-*-*
    [21-12-02 11:04:18.6674] Slim::Player::TranscodingHelper::checkBin (276)    enabled
    [21-12-02 11:04:18.6682] Slim::Player::TranscodingHelper::checkBin (278)   Found command: [faad] -q -w -f 2 -b 1 $FILE$
    [21-12-02 11:04:18.6691] Slim::Player::TranscodingHelper::getConvertCommand2 (409) Rejecting [faad] -q -w -f 2 -b 1 $FILE$ because no available stream mode supported: R
    [21-12-02 11:04:18.6699] Slim::Player::TranscodingHelper::checkBin (268) Checking formats for: aac-mp3-*-*
    [21-12-02 11:04:18.6706] Slim::Player::TranscodingHelper::enabledFormat (235) Checking to see if aac-mp3-*-* is enabled
    [21-12-02 11:04:18.6712] Slim::Player::TranscodingHelper::enabledFormat (243) There are 1 disabled formats...
    [21-12-02 11:04:18.6716] Slim::Player::TranscodingHelper::enabledFormat (249) Testing spt-pcm-*-* vs aac-mp3-*-*
    [21-12-02 11:04:18.6721] Slim::Player::TranscodingHelper::checkBin (276)    enabled
    [21-12-02 11:04:18.6725] Slim::Player::TranscodingHelper::checkBin (278)   Found command: [faad] -q -w -f 1 $FILE$ | [lame] --silent -q $QUALITY$ $BITRATE$ - -
    [21-12-02 11:04:18.6730] Slim::Player::TranscodingHelper::getConvertCommand2 (409) Rejecting [faad] -q -w -f 1 $FILE$ | [lame] --silent -q $QUALITY$ $BITRATE$ - - because no available stream mode supported: R
    [21-12-02 11:04:18.6735] Slim::Player::TranscodingHelper::getConvertCommand2 (490) Error: Didn't find any command matches for type: aac

    However, see next message for it working on SB2 despite is starting off with the same problem.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  5. #5
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,097
    Here it is working to SB2

    Playing the same station to SB2 does work - and the log shows:

    Code:
    [21-12-02 11:10:38.5181] Slim::Player::Song::new (109) index 0 -> http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:10:38.5189] Slim::Player::Song::new (143) live=11
    [21-12-02 11:10:38.5193] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state TRACKWAIT
    [21-12-02 11:10:38.5268] Slim::Player::StreamingController::_playersMessage (796) Getting stream info...: http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:10:38.5297] Slim::Player::Song::getNextSong (222) http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:10:38.5303] Slim::Player::Song::getNextSong (244) scanning URL http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:10:38.5342] Slim::Player::StreamingController::_eventAction (302) 90:04:20:dd:ee:ff: Play - new state STOPPED-TRACKWAIT
    [21-12-02 11:10:38.5442] Slim::Player::StreamingController::_eventAction (272) 90:04:20:dd:ee:ff: StatusHeartbeat in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_NoOp
    [21-12-02 11:10:38.5450] Slim::Player::StreamingController::_eventAction (272) 90:04:20:dd:ee:ff: StatusHeartbeat in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_NoOp
    [21-12-02 11:10:38.5456] Slim::Player::StreamingController::_eventAction (272) 90:04:20:dd:ee:ff: StatusHeartbeat in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_NoOp
    [21-12-02 11:10:38.5463] Slim::Player::StreamingController::_eventAction (272) 90:04:20:dd:ee:ff: StatusHeartbeat in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_NoOp
    [21-12-02 11:10:38.6250] Slim::Player::TranscodingHelper::checkBin (268) Checking formats for: aac-flc-*-*
    [21-12-02 11:10:38.6256] Slim::Player::TranscodingHelper::enabledFormat (235) Checking to see if aac-flc-*-* is enabled
    [21-12-02 11:10:38.6260] Slim::Player::TranscodingHelper::enabledFormat (243) There are 1 disabled formats...
    [21-12-02 11:10:38.6266] Slim::Player::TranscodingHelper::enabledFormat (249) Testing spt-pcm-*-* vs aac-flc-*-*
    [21-12-02 11:10:38.6271] Slim::Player::TranscodingHelper::checkBin (276)    enabled
    [21-12-02 11:10:38.6276] Slim::Player::TranscodingHelper::checkBin (278)   Found command: [faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    [21-12-02 11:10:38.6281] Slim::Player::TranscodingHelper::getConvertCommand2 (409) Rejecting [faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes - because no available stream mode supported: R
    [21-12-02 11:10:38.6287] Slim::Player::TranscodingHelper::checkBin (268) Checking formats for: aac-pcm-*-*
    [21-12-02 11:10:38.6291] Slim::Player::TranscodingHelper::enabledFormat (235) Checking to see if aac-pcm-*-* is enabled
    [21-12-02 11:10:38.6296] Slim::Player::TranscodingHelper::enabledFormat (243) There are 1 disabled formats...
    [21-12-02 11:10:38.6300] Slim::Player::TranscodingHelper::enabledFormat (249) Testing spt-pcm-*-* vs aac-pcm-*-*
    [21-12-02 11:10:38.6304] Slim::Player::TranscodingHelper::checkBin (276)    enabled
    [21-12-02 11:10:38.6309] Slim::Player::TranscodingHelper::checkBin (278)   Found command: [faad] -q -w -f 2 -b 1 $FILE$
    [21-12-02 11:10:38.6313] Slim::Player::TranscodingHelper::getConvertCommand2 (409) Rejecting [faad] -q -w -f 2 -b 1 $FILE$ because no available stream mode supported: R
    [21-12-02 11:10:38.6318] Slim::Player::TranscodingHelper::checkBin (268) Checking formats for: aac-mp3-*-*
    [21-12-02 11:10:38.6323] Slim::Player::TranscodingHelper::enabledFormat (235) Checking to see if aac-mp3-*-* is enabled
    [21-12-02 11:10:38.6327] Slim::Player::TranscodingHelper::enabledFormat (243) There are 1 disabled formats...
    [21-12-02 11:10:38.6332] Slim::Player::TranscodingHelper::enabledFormat (249) Testing spt-pcm-*-* vs aac-mp3-*-*
    [21-12-02 11:10:38.6336] Slim::Player::TranscodingHelper::checkBin (276)    enabled
    [21-12-02 11:10:38.6340] Slim::Player::TranscodingHelper::checkBin (278)   Found command: [faad] -q -w -f 1 $FILE$ | [lame] --silent -q $QUALITY$ $BITRATE$ - -
    [21-12-02 11:10:38.6345] Slim::Player::TranscodingHelper::getConvertCommand2 (409) Rejecting [faad] -q -w -f 1 $FILE$ | [lame] --silent -q $QUALITY$ $BITRATE$ - - because no available stream mode supported: R
    [21-12-02 11:10:38.6349] Slim::Player::TranscodingHelper::getConvertCommand2 (490) Error: Didn't find any command matches for type: aac
    It starts out in a similar way - and rejects faad because of the lack of "R" but then continues ...

    Code:
    [21-12-02 11:10:38.8040] Slim::Player::Song::getNextSong (222) http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:10:38.8046] Slim::Player::StreamingController::_nextTrackReady (744) 90:04:20:dd:ee:ff: nextTrack will be index 0
    [21-12-02 11:10:38.8051] Slim::Player::StreamingController::_eventAction (272) 90:04:20:dd:ee:ff: NextTrackReady in STOPPED-TRACKWAIT -> Slim::Player::StreamingController::_Stream
    [21-12-02 11:10:38.8057] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [21-12-02 11:10:38.8062] Slim::Player::StreamingController::_Stream (1213) 90:04:20:dd:ee:ff: preparing to stream song index 0
    [21-12-02 11:10:38.8068] Slim::Player::Song::open (362) http://stream.srg-ssr.ch/m/rsj/aacp_96
    [21-12-02 11:10:38.8076] Slim::Player::Song::open (386) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDaac
    [21-12-02 11:10:38.8086] Slim::Player::TranscodingHelper::checkBin (268) Checking formats for: aac-flc-*-*
    [21-12-02 11:10:38.8091] Slim::Player::TranscodingHelper::enabledFormat (235) Checking to see if aac-flc-*-* is enabled
    [21-12-02 11:10:38.8095] Slim::Player::TranscodingHelper::enabledFormat (243) There are 1 disabled formats...
    [21-12-02 11:10:38.8099] Slim::Player::TranscodingHelper::enabledFormat (249) Testing spt-pcm-*-* vs aac-flc-*-*
    [21-12-02 11:10:38.8104] Slim::Player::TranscodingHelper::checkBin (276)    enabled
    [21-12-02 11:10:38.8108] Slim::Player::TranscodingHelper::checkBin (278)   Found command: [faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    [21-12-02 11:10:38.8114] Slim::Player::TranscodingHelper::getConvertCommand2 (493) Matched: aac->flc via: [faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    [21-12-02 11:10:38.8119] Slim::Player::Song::open (416) Transcoder: streamMode=I, streamformat=flc
    [21-12-02 11:10:38.8124] Slim::Player::Song::open (472) Opening stream (no direct streaming) using Slim::Player::Protocols::HTTP [http://stream.srg-ssr.ch/m/rsj/aacp_96]
    [21-12-02 11:10:38.9546] Slim::Player::Song::open (502) URL is a song (audio): http://stream.srg-ssr.ch/m/rsj/aacp_96, type=aac
    [21-12-02 11:10:38.9561] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (667) Using command for conversion: "/usr/local/slimserver/Bin/armhf-linux/faad" -q -w -f 1 - | "/usr/local/slimserver/Bin/armhf-linux/flac" -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    [21-12-02 11:10:38.9567] Slim::Player::Song::open (578) Tokenized command: "/usr/local/slimserver/Bin/armhf-linux/faad" -q -w -f 1 - | "/usr/local/slimserver/Bin/armhf-linux/flac" -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    [21-12-02 11:10:39.0117] Slim::Player::SongStreamController::new (36) live=2
    [21-12-02 11:10:39.0143] Slim::Player::StreamingController::_Stream (1282) 90:04:20:dd:ee:ff: stream
    [21-12-02 11:10:39.0207] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [21-12-02 11:10:39.0217] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING
    [21-12-02 11:10:39.0222] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  6. #6
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,097
    Note - reconfiguring the Joggler player in LMS to require proxied streaming does not make it work - and it seems to be a similar set of errors in the log.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  7. #7
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    21,005
    Quote Originally Posted by Paul Webster View Post
    It starts out in a similar way - and rejects faad because of the lack of "R" but then continues ...
    IIRC (but my knowledge is a bit out of date after Philippe changes) - all rules are evaluated and logged and then the "most" successful is chosen -so sometimes can see evaluation still going on after a Transcoder option has been chosen.

    The question is why bit rate change is not handled ?

    LMS selects a transcoding rule and perhaps LMS expects the rules to also handle bit rate. If rules does doesn't do bit rate - then LMS will think conversion is being done.

    Can you set up a test squeezelite (i.e. use cmd line options to disable codecs and bitrates) which has similar capbailities to joggler to see if it is a joggler specific issue or an omission in LMS conf rules.

  8. #8
    Senior Member
    Join Date
    May 2010
    Location
    London, UK
    Posts
    928
    Quote Originally Posted by Paul Webster View Post
    I just turned on Info logging on slimproto and restarted SqueezePlay on the Joggler ... and it tells LMS that the max it can take is 44100 ...

    Code:
    [21-12-02 10:53:50.2260] Slim::Networking::Slimproto::_hello_handler (967) Squeezebox says hello:  Deviceid: 12 revision: 0 mac: 02:0e:8e:aa:bb:cc uuid: 123456789 bitmapped: 0 reconnect: 0 wlan_channellist: 0000 lang: EN  bytes_received: 0  capabilities: Model=squeezeplay,ModelName=SqueezePlay,Firmware=7.7.2-r9710,alc,ogg,flc,aif,pcm,mp3,MaxSampleRate=44100,AccuratePlayPoints,ImmediateCrossfade,test,Rtmp=2
    [21-12-02 10:53:50.2268] Slim::Networking::Slimproto::_hello_handler (1156) Hello from existing client: 02:0e:8e:24:cc:42 on ipport: 192.168.2.124:58165
    [21-12-02 10:53:50.2276] Slim::Player::SqueezePlay::updateCapabilities (167) unknown capability: ImmediateCrossfade=1, ignored
    [21-12-02 10:53:50.2281] Slim::Player::SqueezePlay::updateCapabilities (180) formats: alc,ogg,flc,aif,pcm,mp3,test
    FWIW, my very, very, old Joggler Squeezeplay accepts 48000 as the maximum sample rate:
    Code:
    [21-12-02 13:16:30.4716] Slim::Networking::Slimproto::_hello_handler (967) Squeezebox says hello:  Deviceid: 12 revision: 0 mac: 00:0e:8e:24:c2:e3 uuid: 73650463949b23a9a812a4c259eb8fa6 bitmapped: 0 reconnect: 0 wlan_channellist: 0000 lang: EN  bytes_received: 0  capabilities: Model=squeezeplay,ModelName=SqueezePlay,Firmware=7.7.1-r1797:9561MS,alc,ogg,flc,aif,pcm,mp3,MaxSampleRate=48000,AccuratePlayPoints,ImmediateCrossfade,test,Rtmp=2
    It's too long since I looked at Squeezeplay on Joggler, and I don't remember where this is set.

  9. #9
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,097
    I am just doing a quick test with asound.conf changed to 48000 ... and it plays ...

    The file had today's date on before I changed it ... so I think it is rewritten by the special Joggler Squeezeplay when the user interface is changed between Internal and External (which is something that I was trying today to see if it behaved differently with Internal ... it didn't).

    My recollection from a while ago was that making this change to alsa to use 48000 made my Joggler unstable but perhaps that was only with the newer BirdsLikeWires builds with a more recent OS.
    Anyway - the experiment continues.

    https://www.jogglerwiki.com/forum/vi...p=32628#p32628

    If I get time I will try bpa's suggestion to try to replicate things with Squeezelite - because LMS really should have transcoded the 48k to 44.1 since that is what my Joggler said was its maximum.

    My USB audio card does support 48k (after all it is now playing) and it says it does when asked.

    Code:
    joggler@openframe:~$ cat /proc/asound/card1/stream0
    Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.7-4.4, full speed : USB Audio
    
    Playback:
      Status: Running
        Interface = 1
        Altset = 1
        Packet Size = 192
        Momentary freq = 48000 Hz (0x30.0000)
      Interface 1
        Altset 1
        Format: S16_LE
        Channels: 2
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 2
        Format: S16_LE
        Channels: 1
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 3
        Format: S8
        Channels: 2
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 4
        Format: S8
        Channels: 1
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 5
        Format: U8
        Channels: 2
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 6
        Format: U8
        Channels: 1
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
    
    Capture:
      Status: Stop
      Interface 2
        Altset 1
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 48000
      Interface 2
        Altset 2
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 48000
      Interface 2
        Altset 3
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 44100
      Interface 2
        Altset 4
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 44100
      Interface 2
        Altset 5
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 32000
      Interface 2
        Altset 6
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 32000
      Interface 2
        Altset 7
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 22050
      Interface 2
        Altset 8
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 22050
      Interface 2
        Altset 9
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 10
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 11
        Format: S8
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 12
        Format: S8
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 13
        Format: S8
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 8000
      Interface 2
        Altset 14
        Format: S8
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 8000
      Interface 2
        Altset 15
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (SYNC)
        Rates: 11025
      Interface 2
        Altset 16
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (SYNC)
        Rates: 11025
      Interface 2
        Altset 17
        Format: S8
        Channels: 2
        Endpoint: 4 IN (SYNC)
        Rates: 11025
      Interface 2
        Altset 18
        Format: S8
        Channels: 1
        Endpoint: 4 IN (SYNC)
        Rates: 11025
    joggler@openframe:~$ cat /proc/asound/card1/stream0
    Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.7-4.4, full speed : USB Audio
    
    Playback:
      Status: Running
        Interface = 1
        Altset = 1
        Packet Size = 192
        Momentary freq = 48000 Hz (0x30.0000)
      Interface 1
        Altset 1
        Format: S16_LE
        Channels: 2
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 2
        Format: S16_LE
        Channels: 1
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 3
        Format: S8
        Channels: 2
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 4
        Format: S8
        Channels: 1
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 5
        Format: U8
        Channels: 2
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
      Interface 1
        Altset 6
        Format: U8
        Channels: 1
        Endpoint: 2 OUT (ADAPTIVE)
        Rates: 32000, 44100, 48000
    
    Capture:
      Status: Stop
      Interface 2
        Altset 1
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 48000
      Interface 2
        Altset 2
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 48000
      Interface 2
        Altset 3
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 44100
      Interface 2
        Altset 4
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 44100
      Interface 2
        Altset 5
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 32000
      Interface 2
        Altset 6
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 32000
      Interface 2
        Altset 7
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 22050
      Interface 2
        Altset 8
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 22050
      Interface 2
        Altset 9
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 10
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 11
        Format: S8
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 12
        Format: S8
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 16000
      Interface 2
        Altset 13
        Format: S8
        Channels: 2
        Endpoint: 4 IN (ASYNC)
        Rates: 8000
      Interface 2
        Altset 14
        Format: S8
        Channels: 1
        Endpoint: 4 IN (ASYNC)
        Rates: 8000
      Interface 2
        Altset 15
        Format: S16_LE
        Channels: 2
        Endpoint: 4 IN (SYNC)
        Rates: 11025
      Interface 2
        Altset 16
        Format: S16_LE
        Channels: 1
        Endpoint: 4 IN (SYNC)
        Rates: 11025
      Interface 2
        Altset 17
        Format: S8
        Channels: 2
        Endpoint: 4 IN (SYNC)
        Rates: 11025
      Interface 2
        Altset 18
        Format: S8
        Channels: 1
        Endpoint: 4 IN (SYNC)
        Rates: 11025
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,097
    Hmmm ... it is playing but converting to flac like it does for SB2
    Code:
    sh -c "/usr/local/slimserver/Bin/armhf-linux/faad" -q -w -f 1 - | "/usr/local/slimserver/Bin/armhf-linux/flac" -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -
    Also - 44.1 sources continue to play without a problem after making the /etc/asound.conf change - and LMS does not transcode it.
    Last edited by Paul Webster; 2021-12-02 at 07:42.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •