If I play the song, will the loved status be fetched from the website and overwrite whatever status the track has in my database?
yes. but it would only get the new loved status when enough of it has been played to count for a scrobble.i can split the import to let you get just the loved tracks. i'll post an update later.
it used to be fairly easy to make that change with older versions of my script but i don't keep those any more. with all my recent changes, it's a lot more messy now and it's not so easy to modify. edit: i have found an older backup which should be easier to modify. i'll post that up later on.
do you need it to love tracks as well or are you only interested in playcount?i would have done it before now but i've been "busy" watching wimbledon all week.
here you go: https://dl.dropboxusercontent.com/u/2280132...count%20tag.txtjust stick that in a panel. there is nothing to click so it's just a grey background to match the default splitter colour. there are a few options on the right click menu. once you've done that, you can resize it to hide it.to give yourself, a head start, you can transfer all values already in foo_customdb in to your file tags. simply select a bunch of files>right click>properties. now right click the playcount tag you want to store values in and then format from other fields. in the pattern dialog, enterCode: [Select][%LASTFM_PLAYCOUNT_DB%]
not really sure what you mean? if you love a track, it will appear in your last.fm library. you don't have to scrobble it for it to show. it just won't have any plays attached it.
I played it very briefly and loved it using your script.
Then I played it again, in full, so that it would be scrobbled, and as soon as it was, the loved status disappeared.
well you've discovered the problem by yourself. those context menu items are only there for my script to update the local database. they are only supposed to be triggered by my script when loving/unloving tracks via the button or during playback when enough of the track has played to count for a scrobble.triggering them via hotkeys only updates the local database and bypasses my script completely.the database file is named customdb_sqlite.db in your foobar2000 profile folder if you want to delete it and start again.
Thanks. Now I've got another problem. Why this script doesn't synchronizes all of my ~20000 plays, but reaches ~4200, and then stops? Example of problem
Quote from: Kanapka on 03 August, 2013, 04:42:11 AMThanks. Now I've got another problem. Why this script doesn't synchronizes all of my ~20000 plays, but reaches ~4200, and then stops? Example of problemLooks as if it synced everything. Some tracks were played multiple times.