Multi Audioscrobbler

Bug #419848 reported by Vitaliy Kulikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Confirmed
Wishlist
Unassigned

Bug Description

Nice job was done in version 0.3.0.
So, I saw that Libre.fm is now enabled for scrobbling, Last.fm as well.

Well, here is idea to implement Multi Audioscrobbling.
I wanna support Libre.fm, but it's beta and I going to use Last.fm some time.

It will be nice and powerful to submits listening information to Last.fm and Libre.fm at the same time NOt to one only !!
What do U think about it !? =)

Revision history for this message
Steve Dodier-Lazaro (sidi) wrote :

This can be implemented by setting a treeview with a 'name' column and an 'enabled' column, and each list item is a audioscrobbler compatible URI. We then can add a Properties button allowing users to enter the URI of the service, their id/password for this AS compatible service (they should also be able to add multiple last.fm / libre.fm accounts w/ that).

Though, I don't know how we can manage the shortcut for enabling / disabling AS if we implement that.

Changed in exaile:
importance: Undecided → Wishlist
milestone: none → 0.3.1
status: New → Confirmed
reacocard (reacocard)
Changed in exaile:
milestone: 0.3.1 → 0.3.2
Revision history for this message
Adam Olsen (arolsen) wrote :

As an intermediary hack to get this working before we get something figured out, it'd be quite easy to just copy the plugin, something like this:

cp -rv audioscrobbler ~/.local/share/exaile/plugins/librefm
sed -e -i 's/AudioScrobbler/LibreFM/g' ~/.local/share/exaile/plugins/librefm/PLUGININFO
sed -e -i 's/AudioScrobbler/LibreFM/g' ~/.local/share/exaile/plugins/librefm/asprefs.py

Note: I haven't tested this, but I'm pretty sure you could get it to work with minor amounts of hackery.

reacocard (reacocard)
Changed in exaile:
milestone: 0.3.2 → 0.3.x
Revision history for this message
uzdzislaw (uzdzislaw) wrote :

I was actually retentive enough to duplicate the plugin following arolsen's idea. It was easy enough even though I didn't ever write any real program in Python, but not that automatic as in the original suggestion. I changed the filenames as well, as they _appear_ (obviously I'm not sure about anything here) to be recognized globally among different plugins.

Anyway, I have the content of the attached in my ~/.local/share/exaile/plugins/ and just now I'm scrobbling to both .fm's. I hope it helps anyone out there as well. Obviously it's dirty and falls short of actual expectations (just one plugin to handle unlimited number of scrobbling services at once), but my capabilities are pretty much limited to this. ;) I didn't even append my name to the author list, as I consider my input too insignificant.

And a hint for anyone crazy enough to use three similar services at once: to create another instance of this plugin, just use diff between the respective files to see what changes should be performed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.