mherger wrote:
> > Correct, but Qobuz uses STDIN (I) capability, nor Remote (R).
>
> And how does it reach STDIN from the remote source?
>
> --
>
> Michael
Dont' ask this to me, but I believe is the Qobuz Protocol Handelr that
does this.
If you enable info debuigging in player.source you will see something
like that:
Code:
--------------------
[19-12-13 16:45:56.5090] Slim::Player::Song::open (364) qobuz://75491759.flac
[19-12-13 16:45:56.5096] Slim::Player::Song::open (388) seek=false time=0
canSeek=1
[19-12-13 16:45:56.5110] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: flc->aif via: [flac] -dcs --totally-silent $START$ $END$ --
$FILE$ | [sox] -q -t wav - -t aif -b 24 --buffer 32768 - Bass -6 10
Equalizer 1200 0.3q -4 treble -3 5000 treble -12 22000 dither -S -p 24
[19-12-13 16:45:56.5114] Slim::Player::Song::open (409) Transcoder:
streamMode=R, streamformat=aif
[19-12-13 16:45:56.5126]
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command
for conversion: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs
--totally-silent -- "qobuz://75491759.flac" |
"/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t aif -b 24
--buffer 32768 - Bass -6 10 Equalizer 1200 0.3q -4 treble -3 5000 treble -12
22000 dither -S -p 24 & |
[19-12-13 16:45:56.5131] Slim::Player::Song::open (559) Tokenized command:
"/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent --
"qobuz://75491759.flac" | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q
-t wav - -t aif -b 24 --buffer 32768 - Bass -6 10 Equalizer 1200 0.3q -4
treble -3 5000 treble -12 22000 dither -S -p 24 & |
[19-12-13 16:45:56.5889] Slim::Player::StreamingController::_Stream (1283)
00:e0:4c:68:ce:77: stream
[19-12-13 16:45:56.5942] Slim::Player::StreamingController::_Stream (1320)
Song queue is now 8
[19-12-13 16:45:56.5950] Slim::Player::StreamingController::_setPlayingState
(2378) new playing state BUFFERING
[19-12-13 16:45:56.5954]
Slim::Player::StreamingController::_setStreamingState (2387) new streaming
state STREAMING
[19-12-13 16:45:56.6916] Slim::Player::Source::_readNextChunk (373) end of
file or error on socket, song pos: 66001912
--------------------
If you disable Remote and enable STDIN it will work:
Code:
--------------------
[19-12-11 15:33:26.0104] Slim::Player::Song::open (364) qobuz://81575186.flac
[19-12-11 15:33:26.0112] Slim::Player::Song::open (388) seek=false time=0
canSeek=1
[19-12-11 15:33:26.0124] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: flc->aif via: [flac] -dcs --totally-silent $START$ $END$ --
$FILE$ | [sox] -q -t wav - -t aif -b 24 --buffer 32768 - Bass -6 10
Equalizer 1200 0.3q -4 treble -3 5000 treble -12 22000 dither -S -p 24
[19-12-11 15:33:26.0129] Slim::Player::Song::open (409) Transcoder:
streamMode=I, streamformat=aif
[19-12-11 15:33:26.0133] Slim::Player::Song::open (462) Opening stream (no
direct streaming) using Plugins::Qobuz::ProtocolHandler [qobuz://81575186.flac]
[19-12-11 15:33:26.1838] Slim::Player::Song::open (483) URL is a song
(audio): qobuz://81575186.flac, type=flc
--------------------
To understand this I followed all the path in LMS then I realized.
BTW seems to me that now is working also with seeking enabled (indeed it
will not seek inside the stream, but nevertheless playback happen), last
time I checked it was not working producing an error in the log, That's
good, have you changed something recently?
________________________________________________________________________
Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See
www.marcoc1712.it
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=97146
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins