View Issue Details

IDProjectCategoryView StatusLast Update
0005190Last.fm pluginLast.fmpublic2010-11-01 15:31
Reporterrusty Assigned To 
PriorityurgentSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Summary0005190: Last.fm Scrobbler improvements: Toolbar control
DescriptionThe last fm plugin should add support for a couple of new features:
1) Ability to upload play history for devices transparently. e.g. user syncs iPod --> iPod play history is synced to last.fm servers after syncing with MM. This feature should be configurable via:
[ ] Submit played tracks from portable devices that autosync with MediaMonkey

(the above entry should appear just below 'Submit played tracks...' and indented)

2) The plugin should have an optionally active toolbar button as discussed at:
http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=34954

Modes would be: Active / Inactive / Caching

TagsNo tags attached.
Fixed in build

Relationships

related to 0003844 closedpeke Last.fm plugin Last.FM Native Support 
related to 0005425 assignedpeke Last.fm plugin Last.fm: favorites functionality 
related to 0005671 assignedpeke Last.fm plugin Last-fm plugin: ability to cache/submit playhistory from devices 
related to 0005672 feedbackpetr MMW v4 Scripted toolbars can't be customized 
child of 0005664 new MMW v4 More Device <-> PC sync events 

Activities

Teknojunky

2009-01-13 19:33

reporter   ~0016187

you might also consider adding toolbar buttons for love/ban like available on the last.fm tray app.

peke

2009-01-13 22:17

developer   ~0016193

Good Point Teknojunky.

3) Determine best way to Incorporate MM rating system to last.fm love/ban rating system. Something like:
Classify >= 3.5 Stars as Love on last.fm
Classify <= 2 Stars as Ban on last.fm

Teknojunky

2009-01-13 22:53

reporter   ~0016194

Last edited: 2009-01-13 23:29

3) No, the love/ban does not really have anything to do with ratings as far as last.fm is concerned, its more for fine tuning their algorithms for the streaming radios and suggested artists/songs.

the way it works on either the tray app, or your last.fm profile page is simply 2 buttons/links, to mark the current/selected track as 'loved' or 'banned'.

My suggestion is simply to add the 2 toolbar buttons that will then mark the track as directed and include it within the scrobbler submission.

I assumed your already using the last.fm v2 web services, it should just be a matter of flagging a track during submission.

see r[0]=<rating> section @ http://www.last.fm/api/submissions

actually, re-reading that section appears to indicate that the submission currently does not modify the user profile, and that ban and skip are only for radio sources.

to do it right, appears to require
http://www.last.fm/api/show/?service=260
http://www.last.fm/api/show/?service=261
which might be out of scope for the scrobbler plugin as it currently exists

peke

2009-01-13 23:35

developer   ~0016196

Last edited: 2009-01-13 23:36

3) Some Clarification: Plugin uses Pure protocol 1.2.1 for submissions and not v2 web services that's why there is low latency on Submissions.

v2 web services API usage is reserved for future versions of plugin or additional services plugin that will only utilize v2 web services.

peke

2009-01-26 02:58

developer   ~0016380

Last edited: 2009-01-26 03:01

Added in v1.0.2.10
2) Added cache only Function in Plugin thru using SDB.IniFile.BoolValue("Last.FM","CacheOnly") in scripts.
Plugin now have three States
 a) Active - > Plugin Enabled, Cache Only Disabled = Normal behavior as in previous plugins
 b) Caching -> Plugin Enabled, Cache Only Enabled = Every Submission should not be sent to last.fm profile but it should be saved into last.fm cache
 c) Inactive -> Plugin Disabled, Cache Only Enabled/Disabled = Cache Only setting is ignored and no tracks are submitted and/or Cached

Will inform Big_Berny so that he can update his Script that we can latter include in Plugin Distribution

Big_Berny

2009-01-26 12:44

reporter   ~0016381

Last edited: 2009-01-26 14:05

QuickButton script has been updated. Waiting for release.

As Teknojnky said it's dangerous to automatically lave/ban songs according to ratings. Specially if you use autoratings...

Big_Berny

2009-02-05 16:26

reporter   ~0016523

I just tested my latest unreleased Last.fm QuickButton script with the latest Last.fm-submitter and it mostly works.

The only problem I noticed is, that CacheOnly=1 doesn't work if NowPlaying=1. Because if NowPlaying=1 www.last.fm still seems to track the plays. I can tune the QuickButton script so that NowPlaying is also set to 0 when CacheOnly is set to 1 but IMHO the plugin should do that by itself.

peke

2009-02-05 18:28

developer   ~0016525

It is not Bug it is feature Now Playing is Completely Separated from Scrobbling So you can disable Scrobbling but announce Now playing your Quick Button works only for scrobbling and not for now playing.

What do you suggest?

Big_Berny

2009-02-05 20:24

reporter   ~0016526

Last edited: 2009-02-05 22:26

But the song doesn't only show up in "Now listening" but also get scrobbled! Maybe it's last.fm-related that all "Now listening"-tracks also get scrobbled, I don't know.

I'd tell the plugin that it shouldn't send a song as now playing if CacheOnly=1.

Big_Berny

2009-02-26 14:25

reporter   ~0016948

Another nice and easy-to-do feature would be a SubmitNow-feature.

This would be useful if you use CacheOnly and then want to submit the cached plays. At the moment we have to play a new song to do that.

peke

2009-05-23 01:21

developer   ~0017987

Fixed 2) in v1.0.2.17 quick enable/disable toolbar icon is added and based on LastfmQuickButton by Big_berny

peke

2009-05-23 01:25

developer   ~0017988

1) Added new bug 0005664 to better cover issue, Maybe it should be added as new bug completely due the fact that MM core do not have support for sync events yet and Last.fm have not yet clear things up if and how device playcounts are handled.

rusty

2009-05-25 16:44

administrator   ~0018011

I've verified item 2 in build 1.0.2.17.

Item 1 has been opened in a new feature bug.

I haven't migrated item 3 to a new bug--I think the issue should be discussed in the forum since I can't really understand the need for a parallel rating system.

rusty

2009-05-26 18:09

administrator   ~0018029

Re-opening because 0005672 can't be fixed in MM, so I'm wondering if it's possible for the script to control whether the toolbar entry is added or not.

Also, I don't quite understand why there's an icon for Lyrics and Comment Viewer added--that has nothing to do with scrobbling?!

peke

2009-05-27 00:31

developer   ~0018040

Last edited: 2009-05-27 00:37

As talked on IM
a) Toolbar issues Should be handled thru 0005672 I updated possible Fast Fix that do not make issues and break current functionality and when that bug is resolved we can reopen this issue for updating plugin on reflecting changes in $5672 Until than we can handle Visible Status using Visible property of http://www.mediamonkey.com/wiki/index.php/SDBMenuItem#ISDBMenuItem_members

b) Not possible to create with Last.fm scrobbler plugin as it only add 1 toolbar icon with three states

peke

2009-05-27 01:11

developer   ~0018041

Fixed in v1.0.2.18
a) Visible status of Scrobbler Toolbar icon is now controlled thru Last.fm service Options

stephen_platt

2010-11-01 15:31

developer   ~0021096

verified