For users of Mediamonkey 3+ who like me never moved on from PsyXonova's ScrobblerDJ, I have found a tweak that cures the recent "Could not locate artist on Last.FM" problems. (FYI This tweak has got ScrobblerDJ working again on my current MM 184.108.40.2061 Installation).
The problem was caused by Last.FM returning fractional Similarity ratings (range 0.0 to 1.0) instead of the old (presumably) 0 to 100.
Unfortunately I cannot seem to locate a copy of the original ScrobblerDJ V1.26 Installation Package on either my computer or this forum, so all I can offer is a change to the existing V1.26 version of ScrobblerDJ.vbs.
The change is to the ParseXML function which starts:
Code: Select all
Function ParseXML(input, out_type) logme "* ParseXML has started with parameters " & input & ", " & out_type 'This procedure at first parses XML and then it calls the auxiliary procedures to check for the various limitations Dim XDict, XElmnt, i, n, RNumber, res Set XDict = CreateObject("Scripting.Dictionary") logme "ParseXML is tranfering XML data to a dictionary" Select Case out_type Case 1 i = 0 For Each XElmnt In xmlDoc.getElementsByTagName("artist") If XElmnt.ChildNodes.Item(2).Text <> "" Then If CInt(XElmnt.ChildNodes.Item(2).Text) > MinMatch Then
Code: Select all
If CInt(XElmnt.ChildNodes.Item(2).Text)*100 > MinMatch Then
PS The idea of multiplying by 100 was copied across from rmatiazo's version of the script, so credit to rmatiazo as well as to the co-authors PsyXonova and Peke.
The original ScrobblerDJ V1.26 thread can be found at:
http://www.mediamonkey.com/forum/viewto ... f=2&t=7961
From now on ScrobblerDJ will Reside and be available on: