Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    325

    Problem getting TTS or play MP3 to work from Home Assistant to LMS 8!

    Hello!

    The problem is to get TTS (text to speech) to work from Home Assistant to LMS 8 (piCorePlayer installation).
    After much help in the Home Assistant community, the problem seems to be on the LMS side.

    What I did was to put two testfiles:
    - tts-testfile with 32kb/s CBR MP3 which is 435KB in size
    - music-MP3 with 192kb/s CBR from LMS server
    into the webserver-folder of Home Assistant

    My Home Assiatnt is only available via https:
    https://xxxxxxx.duckdns.org:8123 (valid Let's Encrypt certificate)
    https://192.168.178.108:8123 (there will be the same Let's Encrypt certificate but it doesn't work as this is no name)

    So my files are available under:
    https://xxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    https://xxxxxxx.duckdns.org:8123/local/mymusic.mp3

    If I am using these URL in Safari on my Mac I am getting both files without any problem to play.
    When I am using:
    Code:
    wget https://xxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    on my picorePlayer LMS Pi 4 I am getting this:
    Code:
    Connecting to xxxxxxxxxx.duckdns.org:8123 (xx.xxx.210.85:8123)
    mytestfile 100% |******************************************************************************************************************************************************************|  424k  0:00:00 ETA
    The IP address was the current external IP address of my router, so this is correct!
    and the file is completely on the Pi:
    Code:
    -rw-r--r--    1 tc       staff       435177 Jun  5 13:22 mytestfile.mp3
    So the normal connection from the LMS Pi to the Home Assistant Pi is working!

    Then I tested these files in LMS. I switched on one Radio station to hear sound coming through the speakers.
    Now I opened the URL from above in the Radio-URL dialog:
    Name:  mytestfile.png
Views: 222
Size:  42.4 KB
    and:
    Name:  mymusic.png
Views: 221
Size:  54.5 KB

    So the connection itself is working, but for both files only the seconds are counting and the bar goes round and round, but there is absolutely no sound. I also set the volume to max but nothing can be heard.
    There is also no single error message in the LMS log!
    LMS seems to correctly open the files, as the MP3 tags with cover are shown without any problem, but why no sound?

    So what am I doing wrong here? Is this a LMS problem?
    Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,871
    Quote Originally Posted by carsten_h View Post
    So the connection itself is working, but for both files only the seconds are counting and the bar goes round and round, but there is absolutely no sound. I also set the volume to max but nothing can be heard.
    There is also no single error message in the LMS log!
    LMS seems to correctly open the files, as the MP3 tags with cover are shown without any problem, but why no sound?

    So what am I doing wrong here? Is this a LMS problem?
    Ignore the screen timer - that just means you pressed play.

    Enable logging player.source to INFO to see what processing is being done.

    What is the MIME type associated with the file ? something like audio/mpeg or audio/mp3 is good.
    Incompatible MIME type and file may be considered unplayable

    edit:

    What is the sample size, no of channels and sample rate of the files ?

  3. #3
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    325
    Quote Originally Posted by bpa View Post
    Ignore the screen timer - that just means you pressed play.
    Ok.



    Quote Originally Posted by bpa View Post
    Enable logging player.source to INFO to see what processing is being done.
    How and where can I do it?

    Quote Originally Posted by bpa View Post
    What is the MIME type associated with the file ? something like audio/mpeg or audio/mp3 is good.
    Incompatible MIME type and file may be considered unplayable
    I don't know. How can I see this? When I look in Chrome into the source, I see this:
    Code:
    <source src="https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3" type="audio/mpeg">
    Quote Originally Posted by bpa View Post
    What is the sample size, no of channels and sample rate of the files ?
    for mytestfile.mp3 it is:
    no of channels: Mono
    sample rate: 24000 kHz
    Name:  Bildschirmfoto 2020-06-06 um 18.33.55.png
Views: 52
Size:  17.0 KB

    for mymusic.mp3 it is:
    no of channels: Stereo
    sample rate: 44100 kHz
    Name:  Bildschirmfoto 2020-06-06 um 18.34.06.png
Views: 53
Size:  17.1 KB

    For both sample size is not shown in the programs I tested, only one is showing this value but for both it is empty.
    Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express

  4. #4
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,871
    Quote Originally Posted by carsten_h View Post
    How and where can I do it?
    WebUI Settings/Adavcned/Logging



    for mytestfile.mp3 it is:
    no of channels: Mono
    sample rate: 24000 kHz
    I think SB player (and some players as I'm not sure what players you are using) have problem with sample rates less than 32kHz and sometime mono.

    I have an idea other TTS system have had the same problem with LMS - did you search the forum ?

    As a test can you play the TTS files as files ? then convert the files CD quality and see if they play ?

  5. #5
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    5,826
    Quote Originally Posted by carsten_h View Post
    Ok.

    How and where can I do it?

    I don't know. How can I see this? When I look in Chrome into the source, I see this:
    Code:
    <source src="https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3" type="audio/mpeg">
    for mytestfile.mp3 it is:
    no of channels: Mono
    sample rate: 24000 kHz

    for mymusic.mp3 it is:
    no of channels: Stereo
    sample rate: 44100 kHz

    For both sample size is not shown in the programs I tested, only one is showing this value but for both it is empty.
    I don't know if this is related, but we have been workign a lot recently to fix issues around that topic here https://github.com/Logitech/slimserver/issues/350. Have you used that latest nightly build?
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  6. #6
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    325
    Quote Originally Posted by philippe_44 View Post
    Have you used that latest nightly build?
    I am using: Version: 8.0.0 - 1591161678 @ Wed Jun 3 07:54:55 CEST 2020
    Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express

  7. #7
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    325
    Quote Originally Posted by bpa View Post
    WebUI Settings/Adavcned/Logging
    Here is the result for the tts-file:
    Code:
    [20-06-06 22:06:07.5980] Slim::Player::Song::new (107) index 0 -> https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:06:07.5987] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state TRACKWAIT
    [20-06-06 22:06:07.6015] Slim::Player::StreamingController::_playersMessage (796) Streaminfos werden geladen...: https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:06:07.6024] Slim::Player::Song::getNextSong (228) https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:06:07.6027] Slim::Player::Song::getNextSong (250) scanning URL https://xxxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:06:07.6384] Slim::Player::TranscodingHelper::checkBin (274)    couldn't find binary for: lame
    [20-06-06 22:06:07.6387] Slim::Player::TranscodingHelper::getConvertCommand2 (442) Error: Didn't find any command matches for type: mp3
    [20-06-06 22:06:07.7361] Slim::Player::Song::getNextSong (228) https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:06:07.7366] Slim::Player::StreamingController::_nextTrackReady (744) dc:a6:32:42:97:5e: nextTrack will be index 0
    [20-06-06 22:06:07.7371] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [20-06-06 22:06:07.7374] Slim::Player::StreamingController::_Stream (1213) dc:a6:32:42:97:5e: preparing to stream song index 0
    [20-06-06 22:06:07.7377] Slim::Player::Song::open (363) https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:06:07.7381] Slim::Player::Song::open (387) seek=false time=0 canSeek=0SEEK_ERROR_MP3_UNKNOWN_BITRATE
    [20-06-06 22:06:07.7389] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 22:06:07.7392] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=mp3
    [20-06-06 22:06:07.7395] Slim::Player::Song::open (452) URL supports direct streaming [https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3->https://xxxxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3]
    [20-06-06 22:06:07.7407] Slim::Player::StreamingController::_Stream (1282) dc:a6:32:42:97:5e: stream
    [20-06-06 22:06:07.7447] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [20-06-06 22:06:07.7451] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING
    [20-06-06 22:06:07.7454] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING
    [20-06-06 22:06:07.8684] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:06:08.1699] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:06:08.4716] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:06:08.7733] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:06:09.0749] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:06:09.3766] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:06:09.6787] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    and so on...
    This is the result for the normal mp3 file:
    Code:
    [20-06-06 22:09:51.6802] Slim::Player::Song::new (107) index 0 -> https://xxxxxxxxx.duckdns.org:8123/local/mymusic.mp3
    [20-06-06 22:09:51.6810] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state TRACKWAIT
    [20-06-06 22:09:51.6838] Slim::Player::StreamingController::_playersMessage (796) Streaminfos werden geladen...: https://xxxxxxxxx.duckdns.org:8123/local/mymusic.mp3
    [20-06-06 22:09:51.6847] Slim::Player::Song::getNextSong (228) https://xxxxxxx.duckdns.org:8123/local/mymusic.mp3
    [20-06-06 22:09:51.6850] Slim::Player::Song::getNextSong (250) scanning URL https://xxxxxxxxx.duckdns.org:8123/local/mymusic.mp3
    [20-06-06 22:09:51.7273] Slim::Player::TranscodingHelper::checkBin (274)    couldn't find binary for: lame
    [20-06-06 22:09:51.7276] Slim::Player::TranscodingHelper::getConvertCommand2 (442) Error: Didn't find any command matches for type: mp3
    [20-06-06 22:09:51.9964] Slim::Player::Song::getNextSong (228) https://xxxxxxxx.duckdns.org:8123/local/mymusic.mp3
    [20-06-06 22:09:51.9972] Slim::Player::StreamingController::_nextTrackReady (744) dc:a6:32:42:97:5e: nextTrack will be index 0
    [20-06-06 22:09:51.9977] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [20-06-06 22:09:51.9980] Slim::Player::StreamingController::_Stream (1213) dc:a6:32:42:97:5e: preparing to stream song index 0
    [20-06-06 22:09:51.9984] Slim::Player::Song::open (363) https://xxxxxxxx.duckdns.org:8123/local/mymusic.mp3
    [20-06-06 22:09:51.9989] Slim::Player::Song::open (387) seek=false time=0 canSeek=0SEEK_ERROR_MP3_UNKNOWN_BITRATE
    [20-06-06 22:09:52.0000] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 22:09:52.0004] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=mp3
    [20-06-06 22:09:52.0010] Slim::Player::Song::open (452) URL supports direct streaming [https://xxxxxx.duckdns.org:8123/local/mymusic.mp3->https://xxxxxxx.duckdns.org:8123/local/mymusic.mp3]
    [20-06-06 22:09:52.0026] Slim::Player::StreamingController::_Stream (1282) dc:a6:32:42:97:5e: stream
    [20-06-06 22:09:52.0081] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [20-06-06 22:09:52.0085] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING
    [20-06-06 22:09:52.0087] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING
    [20-06-06 22:09:52.1307] Slim::Player::Player::_buffering (1144) Buffering... 0 / 73728
    [20-06-06 22:09:52.4325] Slim::Player::Player::_buffering (1144) Buffering... 0 / 73728
    [20-06-06 22:09:52.7341] Slim::Player::Player::_buffering (1144) Buffering... 0 / 73728
    [20-06-06 22:09:53.0357] Slim::Player::Player::_buffering (1144) Buffering... 0 / 73728
    [20-06-06 22:09:53.3375] Slim::Player::Player::_buffering (1144) Buffering... 0 / 73728
    [20-06-06 22:09:53.6392] Slim::Player::Player::_buffering (1144) Buffering... 0 / 73728
    and so on...
    After installing lame I got the following for the first file:
    Code:
    [20-06-06 22:19:49.1273] Slim::Player::Song::new (107) index 0 -> https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:19:49.1278] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state TRACKWAIT
    [20-06-06 22:19:49.1306] Slim::Player::StreamingController::_playersMessage (796) Streaminfos werden geladen...: https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:19:49.1313] Slim::Player::Song::getNextSong (228) https://xxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:19:49.1315] Slim::Player::Song::getNextSong (250) scanning URL https://xxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:19:49.2483] Slim::Player::Song::getNextSong (228) https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:19:49.2486] Slim::Player::StreamingController::_nextTrackReady (744) dc:a6:32:42:97:5e: nextTrack will be index 0
    [20-06-06 22:19:49.2490] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [20-06-06 22:19:49.2493] Slim::Player::StreamingController::_Stream (1213) dc:a6:32:42:97:5e: preparing to stream song index 0
    [20-06-06 22:19:49.2496] Slim::Player::Song::open (363) https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 22:19:49.2500] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
    [20-06-06 22:19:49.2507] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 22:19:49.2510] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=mp3
    [20-06-06 22:19:49.2514] Slim::Player::Song::open (452) URL supports direct streaming [https://xxxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3->https://xxxxxxxx.duckdns.org:8123/local/mytestfile.mp3]
    [20-06-06 22:19:49.2525] Slim::Player::StreamingController::_Stream (1282) dc:a6:32:42:97:5e: stream
    [20-06-06 22:19:49.2569] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [20-06-06 22:19:49.2574] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING
    [20-06-06 22:19:49.2576] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING
    [20-06-06 22:19:49.3802] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:19:49.6819] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:19:49.9836] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:19:50.2854] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:19:50.5871] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 22:19:50.8887] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    Last edited by carsten_h; 2020-06-06 at 13:23.
    Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,871
    Quote Originally Posted by carsten_h View Post
    Here is the result for the tts-file:
    It's supposed to stream direct to player but nothgin gets sent.

    If you save a copy of the TTS file locally on the LMS system - can the LMS play on the same player ?
    What is the player you are using ?

  9. #9
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    325
    Quote Originally Posted by bpa View Post
    It's supposed to stream direct to player but nothgin gets sent.
    But why there is nothing sent? Is this a problem of the receiver (LMS) or the sender (Home Assistant)?
    Why a browser is working and wget on the Pi also?

    Quote Originally Posted by bpa View Post
    If you save a copy of the TTS file locally on the LMS system - can the LMS play on the same player ?
    Yes, it can be played. This is the output:
    Code:
    [20-06-06 22:46:41.5580] Slim::Player::Song::getNextSong (228) file:///mnt/Musikbox/Music/Neuer%20Ordner/mytestfile.mp3
    [20-06-06 22:46:41.5584] Slim::Player::StreamingController::_nextTrackReady (744) dc:a6:32:42:97:5e: nextTrack will be index 0
    [20-06-06 22:46:41.5587] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [20-06-06 22:46:41.5589] Slim::Player::StreamingController::_Stream (1213) dc:a6:32:42:97:5e: preparing to stream song index 0
    [20-06-06 22:46:41.5592] Slim::Player::Song::open (363) file:///mnt/Musikbox/Music/Neuer%20Ordner/mytestfile.mp3
    [20-06-06 22:46:41.5604] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 22:46:41.5607] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
    [20-06-06 22:46:41.5614] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 22:46:41.5617] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=mp3
    [20-06-06 22:46:41.5620] Slim::Player::Song::open (462) Opening stream (no direct streaming) using Slim::Player::Protocols::File [file:///mnt/Musikbox/Music/Neuer%20Ordner/mytestfile.mp3]
    [20-06-06 22:46:41.5626] Slim::Player::Protocols::File::open (80) duration: [108.096] size: [432384] endian [] offset: [2793] for file:///mnt/Musikbox/Music/Neuer%20Ordner/mytestfile.mp3
    [20-06-06 22:46:41.5628] Slim::Player::Protocols::File::open (97) Opening file /mnt/Musikbox/Music/Neuer Ordner/mytestfile.mp3
    [20-06-06 22:46:41.5634] Slim::Player::Protocols::File::open (191) Seeking in 2793 into /mnt/Musikbox/Music/Neuer Ordner/mytestfile.mp3
    [20-06-06 22:46:41.5638] Slim::Player::Song::open (483) URL is a song (audio): file:///mnt/Musikbox/Music/Neuer%20Ordner/mytestfile.mp3, type=mp3
    [20-06-06 22:46:41.6475] Slim::Player::StreamingController::_Stream (1282) dc:a6:32:42:97:5e: stream
    [20-06-06 22:46:41.6510] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [20-06-06 22:46:41.6518] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING
    [20-06-06 22:46:41.6522] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING
    [20-06-06 22:46:41.6787] Slim::Player::Protocols::File::sysread (285) Trying to read past the end of file: file:///mnt/Musikbox/Music/Neuer%20Ordner/mytestfile.mp3
    [20-06-06 22:46:41.6790] Slim::Player::Source::_readNextChunk (372) end of file or error on socket, song pos: 435177, tell says: 435177, totalbytes: 432384
    [20-06-06 22:46:41.6792] Slim::Player::Source::_readNextChunk (377) dc:a6:32:42:97:5e mark end of stream
    [20-06-06 22:46:41.6795] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMOUT
    [20-06-06 22:46:41.7207] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 22:46:41.7584] Slim::Player::StreamingController::playerTrackStarted (2200) dc:a6:32:42:97:5e
    [20-06-06 22:46:41.7587] Slim::Player::StreamingController::_setPlayingState (2377) new playing state PLAYING
    [20-06-06 22:46:41.7590] Slim::Player::StreamingController::_Playing (368) Song 0 has now started playing
    [20-06-06 22:46:41.7599] Slim::Player::StreamingController::_Playing (397) Song queue is now 0
    [20-06-06 22:46:41.7815] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 22:46:42.0824] Slim::Player::StreamingController::playerEndOfStream (2286) dc:a6:32:42:97:5e
    [20-06-06 22:46:42.0831] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMOUT
    [20-06-06 22:46:42.0922] Slim::Player::StreamingController::playerReadyToStream (2218) dc:a6:32:42:97:5e
    [20-06-06 22:46:42.0928] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state IDLE
    [20-06-06 22:46:42.0938] Slim::Player::StreamingController::nextsong (889) The next song is number 0, was 0
    [20-06-06 22:46:44.1216] Slim::Player::StreamingController::pause (2136) dc:a6:32:42:97:5e
    [20-06-06 22:46:44.1225] Slim::Player::StreamingController::_setPlayingState (2377) new playing state PAUSED
    [20-06-06 22:46:44.1250] Slim::Player::Source::playmode (95) dc:a6:32:42:97:5e: Current playmode: pause
    Quote Originally Posted by bpa View Post
    What is the player you are using ?
    It is a piCorePlayer installation with LMS and Squeezelite and I have USB speaker attached.
    Pi4 4GB piCorePlayer with LMS and Squeezelite for USB; Pi3B+ (7" Display, Hifiberry DAC+ Pro) piCoreplayer with Squeezlite/Jivelite for Hifiberry and Bluetooth headphone; two Airport Express

  10. #10
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,871
    Quote Originally Posted by carsten_h View Post
    But why there is nothing sent? Is this a problem of the receiver (LMS) or the sender (Home Assistant)?
    Why a browser is working and wget on the Pi also?
    That is the question we are trying to work out.

    Initially there were two possibilities (i) the file is getting to player but isn't playable or (ii) the URL is not being connected to the player.
    Yes, it can be played. This is the output:
    Good that means the content is not the issue since you can hear it OK as a file.

    OK - now enable Proxied streaming for the player - in case there is a a HTTP{ issues between player and TTS Source. Proxied means LMS makes connection to TTS source not the player.

    See WebUI/Setting/Player/Audio/Streaming Method

Posting Permissions

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