By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1332 - Amarok last.fm support needs updated
Summary: Amarok last.fm support needs updated
Status: NEW
Alias: None
Product: TDE
Classification: Unclassified
Component: tdemultimedia (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 minor
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: 2621
  Show dependency treegraph
 
Reported: 2012-11-21 10:08 CST by Kris
Modified: 2020-06-18 03:49 CDT (History)
5 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris 2012-11-21 10:08:59 CST
Amarok is unable to connect to last.fm. Searching reveals that the protocol changed somehow, as described on their forum:

http://www.last.fm/group/Amarok+Users/forum/18538/_/500689/1#f8510977
Comment 1 Darrell 2012-11-21 12:46:50 CST
The thread conversation in the link indicates how to resolve. We will need to look at the amarok 2 code to learn how to update the protocol.

A bigger question is how many Trinity amarok users want this feature? Since the protocol has been broken for 3 years and I have not seen a flurry of complaints, I wonder how many Trinity users even care anymore about last.fm? Perhaps we should run a poll?
Comment 2 Kris 2012-11-21 12:52:23 CST
(changing from "Enhancement" to "Minor", this isn't really an enhancement :-) )

I'm sure once TDE gets enough users, there will be plenty of people who will want this fixed.


In the mean time, maybe temporarily remove it until someone is able to fix it?
Comment 3 Darrell 2012-11-21 13:31:03 CST
Perhaps we should do two things:

1. Provide a build option for last.fm. Then those who do not want that support can compile amarok accordingly.

2. Update the protocol.
Comment 4 Kris 2012-11-21 13:34:11 CST
(In reply to comment #3)
> Perhaps we should do two things:
> 
> 1. Provide a build option for last.fm. Then those who do not want that support
> can compile amarok accordingly.
> 
> 2. Update the protocol.

I've no objection to that.
Comment 5 Kristopher 2014-12-14 22:05:06 CST
A quick look at the threads (starting with the on linked to in the initial report), it looks like it uses something called XSPF, which is based on XML. There is an official web site including a specification and some reference data:

http://xspf.org/

and a Wikipedia article:

https://en.wikipedia.org/wiki/XML_Shareable_Playlist_Format

Looking at both sites will give examples of how to expect the XML to be formatted.

I'm not sure if it's used by services other than Last.fm, but if there are then adding XSPF support give Amarok the potential of supporting those services. It also allows Amarok users to use XSPF for saving and exporting their own playlists.
Comment 6 Kristopher 2015-10-27 21:21:53 CDT
(In reply to Darrell from comment #1)
> The thread conversation in the link indicates how to resolve. We will need
> to look at the amarok 2 code to learn how to update the protocol.
<snip>

I just found out about player called Clementine in the Debian repositories. The package description describes it as a Qt4 rewrite of Amarok v1.4 (the version TDE inherited from KDE3), and I am able to log in to my Last.fm account using Clementine.

Give that this is the case, it may be worth looking at the way Clementime handles Last.fm (and possibly port a few other features that they've added).
Comment 7 wofgdkncxojef 2017-08-05 12:52:56 CDT
Just to note that xspf is more useful then just lastfm in amarok.
For example vlc can export a playlist in that format and probably others.

tde support for xspf would benefit also kaffeine and probably others, like kmplayer....
Comment 8 M@trixX 2019-03-27 15:57:51 CDT
Is this (still) the case? I don't have and I don't think I ever had a problem with amarok's last.fm support (currently on 1.4.10 on R14.0.5, ubuntu 18.04)