bpa wrote: 
> 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?

bpa wrote: 
> 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
  
--------------------


bpa wrote: 
> 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
------------------------------------------------------------------------
carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=112353

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to