Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    325
    Quote Originally Posted by bpa View Post
    That is the question we are trying to work out.
    Ok, Clear. :-)

    Quote Originally Posted by bpa View Post
    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.
    Hey that is working without a problem:
    Code:
    [20-06-06 23:03:42.5179] Slim::Player::StreamingController::_Stream (1136) dc:a6:32:42:97:5e: got song from params, song index 0
    [20-06-06 23:03:42.5184] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [20-06-06 23:03:42.5188] Slim::Player::StreamingController::_Stream (1213) dc:a6:32:42:97:5e: preparing to stream song index 0
    [20-06-06 23:03:42.5192] Slim::Player::Song::open (363) https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3
    [20-06-06 23:03:42.5198] Slim::Player::Song::open (387) seek=true time=85.5489362068176 canSeek=1
    [20-06-06 23:03:42.5209] Slim::Player::TranscodingHelper::getConvertCommand2 (445) Matched: mp3->mp3 via: -
    [20-06-06 23:03:42.5212] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=mp3
    [20-06-06 23:03:42.5218] Slim::Player::Song::open (462) Opening stream (no direct streaming) using Slim::Player::Protocols::HTTPS [https://xxxxxxxx.duckdns.org:8123/local/mytestfile.mp3]
    [20-06-06 23:03:42.6198] Slim::Player::Song::open (483) URL is a song (audio): https://xxxxxxxxx.duckdns.org:8123/local/mytestfile.mp3, type=mp3
    [20-06-06 23:03:42.6215] Slim::Player::StreamingController::_Stream (1282) dc:a6:32:42:97:5e: stream
    [20-06-06 23:03:42.6252] Slim::Player::StreamingController::_Stream (1319) Song queue is now 0
    [20-06-06 23:03:42.6257] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING
    [20-06-06 23:03:42.6261] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING
    [20-06-06 23:03:42.6270] Slim::Player::Source::playmode (95) dc:a6:32:42:97:5e: Current playmode: play
    [20-06-06 23:03:42.7597] Slim::Player::Player::_buffering (1144) Buffering... 0 / 12288
    [20-06-06 23:03:42.7729] Slim::Player::StreamingController::playerBufferReady (2278) dc:a6:32:42:97:5e
    [20-06-06 23:03:42.7732] Slim::Player::StreamingController::_setPlayingState (2377) new playing state WAITING_TO_SYNC
    [20-06-06 23:03:42.7740] Slim::Player::StreamingController::_setPlayingState (2377) new playing state PLAYING
    [20-06-06 23:03:42.7743] Slim::Player::StreamingController::_Playing (368) Song 0 has now started playing
    [20-06-06 23:03:42.7750] Slim::Player::StreamingController::_Playing (397) Song queue is now 0
    [20-06-06 23:03:42.7799] Slim::Player::Source::_readNextChunk (372) end of file or error on socket, song pos: 435177
    [20-06-06 23:03:42.7801] Slim::Player::Source::_readNextChunk (377) dc:a6:32:42:97:5e mark end of stream
    [20-06-06 23:03:42.7810] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMOUT
    [20-06-06 23:03:43.1839] Slim::Player::StreamingController::playerEndOfStream (2286) dc:a6:32:42:97:5e
    [20-06-06 23:03:43.1846] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMOUT
    [20-06-06 23:03:43.1858] Slim::Player::StreamingController::playerTrackStarted (2200) dc:a6:32:42:97:5e
    [20-06-06 23:03:43.1864] Slim::Player::StreamingController::_setPlayingState (2377) new playing state PLAYING
    [20-06-06 23:03:43.1870] Slim::Player::StreamingController::_Playing (368) Song 0 has now started playing
    [20-06-06 23:03:43.1883] Slim::Player::StreamingController::_Playing (397) Song queue is now 0
    [20-06-06 23:03:43.2237] Slim::Player::StreamingController::playerReadyToStream (2218) dc:a6:32:42:97:5e
    [20-06-06 23:03:43.2244] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state IDLE
    [20-06-06 23:03:43.2258] Slim::Player::StreamingController::nextsong (889) The next song is number 0, was 0
    [20-06-06 23:04:06.0048] Slim::Player::StreamingController::playerStopped (2177) dc:a6:32:42:97:5e
    [20-06-06 23:04:06.0056] Slim::Player::StreamingController::_setPlayingState (2377) new playing state STOPPED
    And the best is, that I can send the texts now from Home Assistant directly to LMS and they are spoken!

    YEAH! Thank you for the help!
    Last edited by carsten_h; 2020-06-06 at 14:14.
    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. #12
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,876
    Quote Originally Posted by carsten_h View Post
    And the best is, that I can send the texts now from Home Assistant directly to LMS and they are spoken!

    YEAH! Thank you for the help!
    Likely a problem with squeezelite, if you want you can turn on squeezelite logging and try to find the problem or you may just be happy with proxied streaming.

    I suspect it may be due to the https URL rather than http.

  3. #13
    Senior Member
    Join Date
    Apr 2019
    Location
    Wunstorf, Germany
    Posts
    325
    Quote Originally Posted by bpa View Post
    you may just be happy with proxied streaming
    I am happy with it as long as it works.
    So thank you again!
    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

Posting Permissions

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