Summary: | When clicking Download in the Jamendo service, it should ask to use ktorrent or download directly to the collection | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Emilio <periliocastrol> |
Component: | Services/Jamendo | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | myriam |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 2.6 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/324189ac00fdfb5dd70dffe398916f881a8f799d | Version Fixed In: | |
Sentry Crash Report: |
Description
Emilio
2012-05-05 11:03:46 UTC
*** Bug 322389 has been marked as a duplicate of this bug. *** Does the API even allow direct download? (In reply to comment #2) > Does the API even allow direct download? http://developer.jamendo.com/v3.0 doesn't seem to list any possibility to do a direct download, so torrent is OK. It does use ktorrent automatically it that is installed, so I guess we can close this bug as the API doesn't allow direct downloads. Wrong. Turns out that the API does indeed offer downloading the whole album in 192 kbps mp3 format: http://developer.jamendo.com/v3.0/albums/file Git commit 324189ac00fdfb5dd70dffe398916f881a8f799d by Mark Kretschmann. Committed on 07/08/2013 at 08:20. Pushed by markey into branch 'master'. Jamendo service: Use direct file download instead of BitTorrent. When pressing the "Download" button in the Jamendo service, Amarok would download a torrent file via deprecated API and then try to open a torrent client for downloading the album. This was brittle and barely ever worked as there are rarely any seeders and peers. Now the download function uses the exact same code as the "Copy to Collection" function, including the option to transcode on-the-fly. DIGEST: Amarok now supports direct download of Jamendo albums instead of downloading via BitTorrent. The download is now far more reliable, and on-the-fly transcoding to other formats is possible. M +3 -0 ChangeLog M +33 -0 src/browsers/CollectionTreeView.cpp M +2 -0 src/browsers/CollectionTreeView.h M +2 -2 src/services/jamendo/JamendoDatabaseHandler.cpp M +2 -28 src/services/jamendo/JamendoMeta.cpp M +0 -8 src/services/jamendo/JamendoMeta.h M +5 -42 src/services/jamendo/JamendoService.cpp M +0 -3 src/services/jamendo/JamendoService.h M +0 -5 src/services/jamendo/JamendoXmlParser.cpp http://commits.kde.org/amarok/324189ac00fdfb5dd70dffe398916f881a8f799d |