ant! wrote: 
> Here is a log (about 3 times trying to activate the stream). If I
> interpret it right, it is switching off since the stream is empty? Do
> you see anything else from this?


Code:
--------------------
    
  [16-09-20 13:37:15.0658] 
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (627) Using command 
for conversion: "/usr/bin/arecord" -d0 -c2 -f S16_LE -r 44100 -twav -D "hw:1,0" 
| "/usr/bin/flac" -cs --totally-silent --compression-level-0 - 
  [16-09-20 13:37:15.0784] Slim::Player::Song::open (484) URL is a song 
(audio): wavin:hw:1,0, type=flc
  [16-09-20 13:37:15.0810] Slim::Player::SongStreamController::new (31) live=1
  [16-09-20 13:37:15.0847] Slim::Player::StreamingController::_Stream (1265) 
e8:b1:fc:f6:a4:ff: stream
  [16-09-20 13:37:15.1021] Slim::Player::StreamingController::_Stream (1302) 
Song queue is now 1
  [16-09-20 13:37:15.1034] Slim::Player::StreamingController::_setPlayingState 
(2357) new playing state BUFFERING
  [16-09-20 13:37:15.1044] 
Slim::Player::StreamingController::_setStreamingState (2366) new streaming 
state STREAMING
  [16-09-20 13:37:15.1054] Slim::Player::StreamingController::_eventAction 
(303) e8:b1:fc:f6:a4:ff: NextTrackReady - new state BUFFERING-STREAMING
  [16-09-20 13:37:15.1065] Slim::Player::StreamingController::_eventAction 
(303) e8:b1:fc:f6:a4:ff: Play - new state BUFFERING-STREAMING
  [16-09-20 13:37:15.1184] Slim::Player::StreamingController::_eventAction 
(271) e8:b1:fc:f6:a4:ff: StatusHeartbeat in BUFFERING-STREAMING -> 
Slim::Player::StreamingController::_NoOp
  [16-09-20 13:37:15.1267] Slim::Player::Source::_readNextChunk (350) Read to 
end of file or pipe
  
--------------------


The blue shows the command being executed and the red shows the error. 
When there is an immediate "End of file" it means the command in red
basically didn't work - either the arecord failed or the flac failed. 
In this context I'd be pretty sure the arecord failed for some reason
such as no permission, incompatible params with source, non existent
source, source in use by another user/program ... 

>  By the way, maybe it is described somewhere and I didn't find it: Which
> sampling rates, compression and file format is used for this stream? Is
> there a config file to set it up or fixed?
The arecord format shows it is recording in 44.1k 16 bit PCM withg a WAV
header so that Flac can compress using info in WAV header to know the
stream format.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=49584

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to