Squeebox plugin to stream from qobuz.com
instructions and help here: http://forums.slimdevices.com/showthread.php?97146-Qobuz-com-streaming-plugin&p=724680&viewfull=1#post724680
Squeebox plugin to stream from qobuz.com
Squeebox plugin to stream from qobuz.com
instructions and help here: http://forums.slimdevices.com/showthread.php?97146-Qobuz-com-streaming-plugin&p=724680&viewfull=1#post724680
If we set a new account in 3.2.0 , this don't run , it's impossible to make a new search or see new realeased or match playlist or favourites that we can see ( for example in the smartphon app )
For curiosity i actived a old daphile with v2.16.10 and everything is OK.
i attached pictures
Hello
When i compare the cpu use between the plugin and a play from disk, i notice that the plugin use so much cpu.
Sometime it reachs 100% use.
Here is the difference between a play of 10s from qobuz (first bloc) and a play from disk (second bloc)
https://i.ibb.co/1X5VWCt/Capture-d-cran-du-2023-03-31-22-56-56.png
Is it normal ?
Thanks
Hello,
I have written a small extension for the Qobuz plugin. If you think this extension fits in the concept of the Qobuz plugin, I would like to make a pull request. Please have a look at
https://github.com/upickartz/SqueezeboxQobuz/blob/MyQobuz/README_MyQobuz.md
To show my intensions find here an outline of the first section:
The Qobuz plugin is a great tool searching for new music. What I was missing is access to a defined collection of albums, for hearing my music on Qobuz, not seeing each album of an artist. Therefore, a new section 'MyQobuz' is provided, which contains my selected albums. Additionally, to the selection by genre and/or (alphabetically sorted) artists, a possibility to define tags for ‘MyQobuz’ albums is provided. It is also possible to correct the definition of the genre of an album defined by Qobuz, because often the Qobuz definition doesn't fit for me.
Hello
When i scan my qobuz library, the amount of album imported are lower than my favorites number
Some albums are not imported because they have disappeared from the qobuz catalog
This happens all the time, albums disappears and reappears with new id
Can you export the list of albums witch have not been found during scan to a log file please ?
It would be useful in order to put them back in favorites (manually)
Thanks
Thomas
Hi,
since a few days I discoverd that files are skipped randomly in Qobuz Plugin (version 2.6.1), Serverversion: Version: 8.3.1 - 1672817815
e.g.
[23-01-13 12:33:54.6289] Plugins::Qobuz::API::_get (700) https://www.qobuz.com/api.json/0.2/track/getFileUrl?app_id=&format_id=6&request_sig=&request_ts=1673609634&track_id=175886123&user_auth_token=
[23-01-13 12:34:03.9142] Plugins::Qobuz::ProtocolHandler::__ANON__ (289) Getting flac header information for: https://streaming-qobuz-std.akamaized.net/file?uid=1651096&eid=175886123&fmt=6&profile=raw&app_id=942852567&cid=1399698&etsp=1673613243&hmac=
**[23-01-13 12:34:29.9951] Slim::Player::Protocols::HTTPS::new (49) Couldn't create socket binding to with timeout: 15 - Invalid argument
[23-01-13 12:34:29.9960] Slim::Player::Song::open (497) Warning: stream failed to open [qobuz://175886123.flac].**
[23-01-13 12:34:30.0004] Plugins::Qobuz::API::_get (700) https://www.qobuz.com/api.json/0.2/track/getFileUrl?app_id=&format_id=6&request_sig=&request_ts=1673609669&track_id=175886124&user_auth_token=
[23-01-13 12:34:30.2731] Plugins::Qobuz::ProtocolHandler::__ANON__ (289) Getting flac header information for: https://streaming-qobuz-std.akamaized.net/file?uid=1651096&eid=175886124&fmt=6&profile=raw&app_id=942852567&cid=1399698&etsp=1673613270&hmac=
[23-01-13 12:34:42.6672] Plugins::Qobuz::Reporting::_post (147) https://www.qobuz.com/api.json/0.2/track/reportStreamingEnd?app_id=942852567: events=[{"duration":224,"purchase":false,"intent":"streaming","local":false,"credential_id":1399698,"online":true,"user_id":1651096,"sample":false,"device_id":31072873,"track_id":"175886122","date":1673609682,"format_id":5}]&user_auth_token=
[23-01-13 12:34:42.6713] Plugins::Qobuz::API::_get (700) https://www.qobuz.com/api.json/0.2/purchase/getUserPurchasesIds?app_id=&user_auth_token=
[23-01-13 12:34:42.6724] Plugins::Qobuz::Reporting::_post (147) https://www.qobuz.com/api.json/0.2/track/reportStreamingStart?app_id=942852567: events=[{"format_id":5,"date":1673609682,"device_id":31072873,"track_id":"175886124","online":true,"user_id":1651096,"sample":false,"credential_id":1399698,"local":false,"purchase":false,"duration":0,"intent":"streaming"}]&user_auth_token=
Hi, i just want PicorePlayer to use with Qobuz, i dont have an LMS. So, is possible to use it like that?
Thanks.
ps.:i dont find info related to how acomplish that, i just find things with LMS.
Would be nice to be able to sort albums by release date, and perhaps be able to separate full length albus from EPs and singles.
plugin.qobuz is added two times to the Log
(once in Plugin.pm with level 'ERROR' and once in Settings.pm with level 'INFO')
When looking at web GUI 'Settings'->'Advanced' choosing 'Logging' in drop down menu there is one entry for plugin.qobuz with level 'INFO'. I think the addLoggCategory call in Settings.pm overwrites the first one.
My guess is that you would want something like:
my $log = logger('plugin.qobuz');
in Settings.pm
Hello
when i rescan my qobuz library, the media scan details shows a number of albums and playlists that is higher than reality (2 more).
does it comes from the "+2" in the file Importer.pm ?
$progress->total(scalar @$albums + 2);
$progress->total((scalar @$playlists) + 2);
Thanks
Thomas
Since mysqueezebox servers are being shut down in Feb 2024, there will be no Tidal plugin anymore since it handles the authentication via mysqueezebox.com.
I guess the community demand on such a plugin is enormous, at least from what I read.
Since you've done an excellent job on the Qobuz addin - would it be possible for you to write a Tidal addin as well? Maybe the Kodi / Plex plugin for Tidal, also written in Pyton, is a good start - if you are interested
I'm using the Qobuz plugin, and I noticed the image returning from image proxy is larger than the original one from Qobuz server.
Image proxy returning 1500px
/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2F52%2F13%2F0094636981352_600.jpg/image.jpg
Original picture is 600px
https://static.qobuz.com/images/covers/52/13/0094636981352_600.jpg
Expected result would be something like this
/imageproxy/https%3A%2F%2Fstatic.qobuz.com%2Fimages%2Fcovers%2F52%2F13%2F0094636981352_600.jpg/image_300x300_f.png
Hi,
There was a change to the Qobuz API and the nethod for getting Playlists changed from "getPublicPlaylists" to "getFeatured"
Can you implement this in the Plugin please?
Thanks!
Hello
new playlists in qobuz are not imported in LMS
i had 142 playlists, then i had 2 new playlists, rescaned LMS and i am still at 142
even if i make "clear database and rescan", i am still at 142 playlists
and if i delete a playlist in qobuz and rescan, it stays in LMS
Thanks
Thomas
Hi, the script SqueezeboxQobuz.user.js is not working anymore.
I've hached a little and discovered it's becouse we need https, but then I got this error:
Mixed Content: The page at 'https://www.qobuz.com/ie-en/album/intavolatura-di-cimbalo-yoann-moulin/3770008056107' was loaded over HTTPS, but requested an insecure resource 'http://192.168.1.101:9000/status.html?p0=qobuz&p1=playalbum&p2=3770008056107'. This request has been blocked; the content must be served over HTTPS.
Where that request is issued? How could we mange to ask via https?
Thanks, Marco
Hello,
I tested the version 1.71 and the link to "Paramètres" is not showing up in the Plugins list, so there is no possibility to change the settings, etc.
François
Qobuz plugin 2.7.0: since this morning I cannot play any qobuz songs.
[22-12-23 13:06:55.4582] Plugins::Qobuz::API::_get (701) https://www.qobuz.com/api.json/0.2/playlist/getUserPlaylists?app_id=&limit=1&user_auth_token=&username=XXXXXXXXX%40yahoo.com
[22-12-23 13:06:55.6278] Plugins::Qobuz::API::_get (701) https://www.qobuz.com/api.json/0.2/favorite/getUserFavorites?app_id=&limit=1&type=albums&user_auth_token=
[22-12-23 13:06:55.8267] Plugins::Qobuz::API::_get (701) https://www.qobuz.com/api.json/0.2/favorite/getUserFavorites?app_id=&limit=1&type=artists&user_auth_token=
[22-12-23 13:07:06.3144] Plugins::Qobuz::API::_get (701) https://www.qobuz.com/api.json/0.2/track/getFileUrl?app_id=&format_id=27&replaygain=1&request_sig=3973126d0d23d0c38397690837b4e174&request_ts=1671800826&track_id=52369837&user_auth_token=
[22-12-23 13:07:06.4549] Plugins::Qobuz::API::ANON (737) Error: 400 Bad Request
[22-12-23 13:07:06.4585] Plugins::Qobuz::API::_get (701) https://www.qobuz.com/api.json/0.2/track/getFileUrl?app_id=&format_id=27&replaygain=1&request_sig=031eb00796b395a79515d08edf1085ba&request_ts=1671800826&track_id=52369838&user_auth_token=
[22-12-23 13:07:06.5851] Plugins::Qobuz::API::ANON (737) Error: 400 Bad Request
[22-12-23 13:07:06.5878] Plugins::Qobuz::API::_get (701) https://www.qobuz.com/api.json/0.2/track/getFileUrl?app_id=&format_id=27&replaygain=1&request_sig=2e3683aac2d28c2dc09021c6247e709f&request_ts=1671800826&track_id=52369839&user_auth_token=
[22-12-23 13:07:06.7252] Plugins::Qobuz::API::ANON (737) Error: 400 Bad Request
Hello
When i scan my qobuz library, LMS print a wrong favorite artists number (the result is +1 than the real number)
I think that in Importer.pm, you need to change :
$progress->total($progress->total + scalar @$artists);
to
$progress->total(scalar @$artists);
Thanks
Thomas
The Tidal-plugin supports adding multiple Tidal accounts and selecting a Tidal-account per player.
Has this been considered for the Qobuz-plugin? In a house with a lot of SqueezeBoxes and five users it is a valuable advantage.
Useless code line 529 in plugin.pm
sub browseArtistMenu
my ($client, $cb, $params, $args) = @_;
my $items = []; # this line is not needed
When using the library integration feature with Qobuz, FLAC tracks would always report the maximum available samplerate/-size, not the actual values. When playing from the Qobuz menus directly this doesn't happen. This is due to storing the data at scan time in the library.db
. LMS would prefer that stored data over the data provided by the plugin at playtime.
Data is imported here:
But it would be correctly reported by the API at playtime here:
And consumed here:
We might be able to update the stored record here using something like the following (not really tested):
diff --git a/ProtocolHandler.pm b/ProtocolHandler.pm
index b79123e..2322c85 100644
--- a/ProtocolHandler.pm
+++ b/ProtocolHandler.pm
@@ -383,6 +384,12 @@ sub getNextTrack {
$song->pluginData(samplesize => $streamData->{bit_depth});
$song->pluginData(samplerate => $streamData->{sampling_rate});
+ if (my $track = Slim::Schema->rs('Track')->single({ url => $url })) {
+ $track->samplerate($streamData->{sampling_rate}) * 1000;
+ $track->samplesize($streamData->{bit_depth});
+ $track->update();
+ }
+
Plugins::Qobuz::API->getFileUrl(sub {
$song->streamUrl(shift);
To be followed up...
Hi,
please enable skipping within tracks. This requires some changes within the Plugin, and perhaps also in LMS?
Thanks!
Qobuz offers different Hi-Res formats. A new one is format_id=7
for FLAC Hi-Res 24 bit =< 96kHz.
It is an important option for Pi user because 24/192 is not well supported in Pi due to internet or usb bandwidth.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.