It will look into the Amarok database you have specified last in the
"Amarok database url" parameter in the Custom Scan Amarok scanning
module configuration.

The databasename mentioned there must be the same as the one you have
entered inside the Amarok application. I think Amarok uses SQLite by
default, so you will have to configure it to use MySQL. However, since
it is able to connect I suspect this isn't the problem unless you have
several Amarok databases and have pointed the "Amarok database url" to
the wrong one.

If you have some MySQL client installed, you can connect to the Amarok
database and issue the following SQL statement to see if any statistics
exist:

Code:
--------------------
    
  select * from statistics
  
--------------------

The first column return by this statement needs to match the paths
listed in the debug messages from TrackStat, if they don't that's the
reason.

TrackStat will issue SQL statements like:

Code:
--------------------
    
  select accessdate,percentage,rating,playcounter from statistics where 
url='./media/500GB/music/collection/The Cure/Disintegration/8. Prayers for 
Rain.mp3'
  
--------------------

If it doesn't get a match it will write the debug messages you are
seeing, if it does get a match it will import the statistics.

It sounds like your Amarok configuration is different then mine, in
mine it just works after I've installed Amarok and configured it to use
MySQL.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=51708

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to