Registered Member
|
Hi all, happy new years! I am using Amarok from Ubuntu KDE ppa, and is showing 0 search results for any search term in the Internet/LibriVox. I tried looking at the librivox script's main.js file and tried fixing the URL since it seems LibriVox updated their URL API, but that didn't help. Clearing out amarokrc file also didn't help. Any ideas?
I am using the following system:
I tried adjusting `/usr/share/kde4/apps/amarok/scripts/librivox_service/main.js` line 259 like this:
but it didn't seem to help at all. If someone confirms that it also happens elsewhere, I am willing to file a detailed bug report. Below is the output of `amarok --debug` as I opened it, performed a librivox search with the keyword "conan", but got nothing. But librivox.org actually shows quite a few items for "conan" [1]. [1]: https://librivox.org/search?q=conan&sea ... m=advanced
When in doubt, use GNU GPLv3+.
|
Manager
|
Please file a bug report, the forum is really a bad place for this, as suggested by this post: viewtopic.php?f=115&t=67238
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Ok. I thought it might be something stupid such as I have some bad connection etc. I'll file a bug report then.
When in doubt, use GNU GPLv3+.
|
Manager
|
I doubt this is on your side, since you said they changed their API, the change needs to be done on our side. Sadly I fear this is not going to happen any time soon, we have quite a few other API changes to handle for other services, and we currently are rather short on developer time.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I read the librivox main.js script, and wasn't overwhelmed by it; maybe I can try to adapt it to their current API. I just wanted to make sure that this doesn't work for everyone. If so, I will try to contribute something since I am going to need it anyway.
When in doubt, use GNU GPLv3+.
|
Manager
|
That would be awesome indeed if you could give a hand on this.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I have contacted the original authors to see if they actually have a working script. I am also reading the Amarok tutorial for Scripts [1]. I find the debugging method described is rather unfriendly, since it seems it is not straightforward to put stopping points and drop into a REPL. I'll do my best.
[1] https://community.kde.org/Amarok/Develo ... torial_2.0
When in doubt, use GNU GPLv3+.
|
Registered Member
|
I realized that, although my Amarok is saying it is using version 2.8.0, the actual librivox script is a very old one! The librivox script was updated three years ago (2014) to version 2.0 (X-KDE-PluginInfo-Version=2.0) [1], which happened well before Amarok version v2.8.0 tag, and that librivox script still remains in the Amarok master branch as of now [2].
I am going to compile the source to see if it works. If it works, then someone who did packaging did a poor job ever since some years ago. No idea why someone would change the upstream version so it breaks. Sounds very much like Canonical. [1]: https://cgit.kde.org/amarok.git/commit/ ... 7686b27cf3 [2]: https://cgit.kde.org/amarok.git/commit/ ... 3f01d35457
When in doubt, use GNU GPLv3+.
|
Registered Member
|
Latest build in master 1ccf0a34d2411a951d9d1bed1afc3b3f01d35457 works perfectly. So, I do confirm that packaging was the problem. I found that both Ubuntu and Debian are packaging very old (at least 3 years) scripts along with Amarok. I will file a bug report there, and will follow up; if no one is packaging (well), maybe I can volunteer.
When in doubt, use GNU GPLv3+.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]