mherger wrote: 
> > I looked in the server.log file and found the $credential string :
> > 'streaming-hifi-sublime'.
> >
> > So, I added it in the getStreamingFormat sub :
> > ...
> > if (!$credential || $credential !~
> > /streaming-(?:lossless|classique|hifi-sublime)/ ) {
> >             $ext = 'mp3';
> >     }
> > ...
> >
> > And now I have FLAC 16/44 quality !! :cool:
> 
> 
> Perfect! Will update the plugin asap.
> 
> -- 
> 
> Michael

Hi Michael,
Thanks a lot for the amazing work you are doing here.

I'm now experimenting with Qobuz and I have the same problem, I could
only receive mp3 on LMS even though the subscription allows flac. I
tried the steps you suggest above and the log shows:

Code:
--------------------
    [15-03-22 16:51:40.1451] Slim::Utils::Misc::msg (1311) Warning: 
[16:51:40.1446] *streaming* at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Qobuz/API.pm line 509.
--------------------


so I tried replacing

Code:
--------------------
    if (!$credential || $credential !~ 
/streaming-(?:lossless|classique|hifi-sublime)/ ) {
--------------------

with 

Code:
--------------------
    if (!$credential || $credential !~ /streaming/ ) {
--------------------

and I confirm I now correctly receive FLAC.

I then tried to call the "login" API directly on Qobuz and in the answer
I get:

Code:
--------------------
    
"credential":{"id":320321,"label":"*streaming-lossless*","description":"Abonnent
 Qobuz 
HiFi","parameters":{"lossy_streaming":true,"lossless_streaming":true,"mobile_streaming":true,"offline_streaming":true,"included_format_group_ids":[2,3,4],"included_supplier_ids":[22],"color_scheme":{"logo":"#B8D729"},"label":"Qobuz
 Hi-Fi","short_label":"Hi-Fi"}}
--------------------


So it seems that the "streaming-lossless" gets truncated to "streaming"
somewhere in the plugin. I'm a total perl noob so I got stuck in
troubleshooting further. Can you please point me at the next step to
figure out what is happening? 

I am running LMS 7.8.1 - 1426671206, in case it makes a difference.

-- 
Antonio


------------------------------------------------------------------------
e3d74's Profile: http://forums.slimdevices.com/member.php?userid=64260
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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

Reply via email to