View Issue Details

IDProjectCategoryView StatusLast Update
0007250MMW v4Last.fmpublic2011-06-18 17:42
ReporterLudek Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0007250: Scrobbling to last.fm when music is played through MM's UPNP/DLNA server
DescriptionThis feature should be easy to add as we have already implemented 0007086
Steps To Reproducehttp://www.mediamonkey.com/forum/viewtopic.php?f=6&t=54432&p=284920#p284920
TagsNo tags attached.
Fixed in build1376

Relationships

related to 0007086 closedLudek MMW v4 MM4: Played # increase When tracks are pplayed over DLNA/uPNP 
related to 0005671 assignedpeke Last.fm plugin Last-fm plugin: ability to cache/submit playhistory from devices 
related to 0007084 closedpeke Last.fm plugin MM4: Played # increase event is called after OnTrack end which results in incorrect Scrobbling 

Activities

Ludek

2011-01-27 16:40

developer   ~0022662

Last edited: 2011-01-27 16:48

Peke, from what I see in our code it looks that this has been fixed together with 0007086, could you verify?

I guess so, because this part of code:
SendMessage( MainWindowHandle, WM_USER, 1001 {Inc(PlayCounter)}, 603); //This event Announcment will be used with Last.fm plugin
is now called in IncreasePlayCounter(), but maybe the scrobbler is missing info for which track the counter should be increased? Maybe we could enhance the message to include also Song ID.

peke

2011-01-30 01:58

developer   ~0022697

In MM3 IncreasePlayCounter() should only be called before on Playback End in MM4 this has changed and thus 0007084 bug. Will revert back to 1341 and how it works there.

I was more thinking on something Like 0005664

peke

2011-03-26 23:06

developer   ~0023921

Can you revert to MM3 it looks that it creates double Scrobbling and incorrect scrobbling when plays are counted if both MM playing track and DLNA servers also increases playcounter.

We need to assign different message for that.

Assign to me when you revert it back. to see if there is regressions in last.fm plugin itself.

Ludek

2011-03-29 18:10

developer   ~0023965

Last edited: 2011-03-29 18:12

I am not sure what exactly do you mean, but it was changed because of issue 0006498 so now it can happen that IncreasePlayCounter() is called several seconds later (once some more important operations are done).
Nevertheless I don't see a reason to revert this.

If both MM is playing track and DLNA servers also increases playcounter for the same track then I guess that the track should be double-scrobbled, because once it was played in MM and another time via DLNA server, so what is wrong here?

Nevertheless if there is really a problem we could possibly add a timeout (1 minute ?) in which PlayCounter cannot be increased for the same track.

jiri

2011-05-11 18:27

administrator   ~0025088

Peke, any progress on this? I don't see any problem with the Ludek's change.

jiri

2011-05-13 22:34

administrator   ~0025208

Assigning to Peke. As discussed over IM, standard COM events as provided by MM should be enough for the purpose.

jiri

2011-05-16 09:52

administrator   ~0025318

Since we need to fix this asap, it was decided to implement the WimAmp compatible messages as suggested by Peke.

Ludek

2011-05-16 10:11

developer   ~0025320

Fixed in build 1376.

Ludek

2011-05-16 10:13

developer   ~0025321

Assigned to Peke in order to make appropriate changes in Last.FM plugin

peke

2011-05-17 01:43

developer   ~0025347

Fixed in plugin 1.0.2.25

rusty

2011-05-18 14:59

administrator   ~0025400

Last edited: 2011-05-18 15:10

Tested last.fm scrobbler 1.0.0.25 with MM 4.0.0.1376 and it doesn't work at all. Nothing is scrobbled, and nothing appears in the Log File (last 5 Entries) list. When I click the 'Show Log File' the following error results:
Error #-2147024894-
File: "C:\Users\...\Appdata\Roaming\MediaMonkey\Scripts\Auto\!LastFM.Options.vbs", Rine: 404, Column: 0

After clicking 'OK', another dialog appears:
Error happened during script execution: The system cannot find the file specified.

Since this appears to be a separate issue, I'm reresolving this bug, and opening a new one.


Note: The above occurs when I install last.fm as a regular user. When I try to install it as Admin, I get the following error during the installation process "Cannot create file C:\Progra~2\MEDIAM~2\Scripts\Auto\!LastFM.Options.vbs.

lowlander

2011-05-18 15:36

developer   ~0025402

Forum indicates it doesn't work in 1376: http://www.mediamonkey.com/forum/viewtopic.php?p=298009#p298009

peke

2011-05-18 20:38

developer   ~0025447

Can you send me full plugin Log File. Based on log you posted plugin could not access internet. I'll investigate why it it not returned error after 15 sec.

peke

2011-06-03 00:21

developer   ~0025888

I can't replicate at all plugin correctly stops IE access after 15 sec.

I tested in 1382 and 1.0.2.26 can you make me full MM and last.fm log file

peke

2011-06-04 00:24

developer   ~0025921

Hmmm, after though tests today it looks that it is related to 0007653

as uPnP/DLNA scrobbling uses same code for fetching info from MM.

peke

2011-06-16 12:41

developer   ~0026178

Fixed in 1.0.2.27

stephen_platt

2011-06-18 17:42

developer   ~0026215

verified in build 1392 and last.fm scrobbler build 1.0.2.27. Very cool!