Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: HOW TO: synchronise your last.fm playback stats with foobar (Read 381100 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #150
Also, I tried the old version of plugin, with tag mode - which partially solved the problem since i was able to see the playcounts and love status - but I still get the mentioned error. Even disabling the foo_softplaylists and foo_customdb plugins didn't solve the issue, so I take it's foo_uie_wsh_panel_mod's fault.


lyrics2 component sometimes may freeze your window when the track change, I've still no idea about crashing on closing foobaar2000

http://www.hydrogenaudio.org/forums/index....6968&st=400

HOW TO: synchronise your last.fm playback stats with foobar

Reply #151
I've still no idea about crashing on closing foobaar2000


so haven't you tried eliminating components one by one? does it still crash on close when lyrics is removed? maybe try removing wsh panel mod? maybe it is the issue - i just thought it was unlikely as i've never seen anyone report it here.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #152
Hey, I've been looking for such a script and I've finally found it  Just a couple of questions. Is it possible to write directly to the file ID3 tags without custom db? And is it possible to also retrieve the first played date? Cheers

HOW TO: synchronise your last.fm playback stats with foobar

Reply #153
here's the old version with file tagging support (the link in the new readme should be clickable and take you here as well)

http://cid-649d3bfeaf541fbb.skydrive.live....ount%20sync.zip

sorry but your other request isn't possible. last.fm don't expose that information for us to use.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #154
Hurray!!! Finally, I waited it so long. Thank you very, very much. I hope someday it will grow up to real plugin such as songbird's vandelay.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #155
and maybe one day songbird will grow up into something just about usable.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #156
I stripped my active plugins to this:
Code: [Select]
Core (2010-01-09 12:47:00)
    foobar2000 core 1.0
foo_audioscrobbler.dll (2010-02-07 15:16:48)
    Audioscrobbler 1.4.6
foo_input_std.dll (2010-01-09 12:44:24)
    Standard Input Array 1.0
foo_musicbrainz.dll (2009-04-10 21:27:28)
    MusicBrainz Tagger 0.2
foo_ui_columns.dll (2010-01-09 15:40:28)
    Columns UI 0.3.8.3
foo_ui_std.dll (2010-01-09 12:44:52)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-06-13 23:49:19)
    Album list panel 0.3.5
foo_uie_wsh_panel_mod.dll (2010-01-28 05:51:58)
    WSH Panel Mod 1.3.1


and I still get the same error. I even tried deleting the entire configuration folder and recreating my settings from scratch, didn't help. If the fault happens to be on one of those plugins' side, then I'm forced to give it up :/

HOW TO: synchronise your last.fm playback stats with foobar

Reply #157
maybe there is some kind of conflict going on with some people's systems and WSH panel mod then? is there anything at all in the windows event log about the errors? anything you could post in the WSH panel mod thread to help the developer at all? i just bodge scripts together. i have no idea about how to troubleshoot problems with proper components.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #158
All I can do is to post the event logs in the WSH Panel Mod development thread. I'm going to do this now.


HOW TO: synchronise your last.fm playback stats with foobar

Reply #160
for some reason i cant get it work anymore.
it gets the data from last.fm but it doesnt write it to my db.

i installed it more than once, then it works for a few tracks but then it stops working again?!
anyone can help?

HOW TO: synchronise your last.fm playback stats with foobar

Reply #161
I'm the biggest noob ever, but I cant seem to figure out where I would be able to view the play count.. I edited in my columns in playlist view with this as the display code [%LFM_TH%][%LFM_H%][%LFM_T%][%LFM_U%] and I get nothing... I'm sure I'm either overlooking something or I'm more of a noob than I thought I was,.. Any help would be appreciated. Thanks

HOW TO: synchronise your last.fm playback stats with foobar

Reply #162
what you've entered is correct. but as i said in the readme file, you won't see the playcount for a track until you've played it (for 10 seconds).

if you've played the track but can't see any update, then check the console on the "view" menu and that might give some clue. all this is explained in the aforementioned readme file.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #163
Thanks for your effort

Is it possible to change your "simple biography.txt"-script to get different Language bios?

In my case I hear German, English and Japanese music.
It would be nice if I could specify a search order eg, at first in German and if there's notthing found then in English and Japanese.

greetz dalover

HOW TO: synchronise your last.fm playback stats with foobar

Reply #164
sorry but i won't be adding those as options.

however, you can modify the script yourself to use another language. find the "get_bio()" function and you can change this....

Code: [Select]
lastfm("&method=artist.getinfo&artist=" + encodeURIComponent(artist), "foo_wsh_lastfm_bio", function() {save_file();});


into

Code: [Select]
lastfm("&lang=de&method=artist.getinfo&artist=" + encodeURIComponent(artist), "foo_wsh_lastfm_bio", function() {save_file();});


or

Code: [Select]
lastfm("&lang=jp&method=artist.getinfo&artist=" + encodeURIComponent(artist), "foo_wsh_lastfm_bio", function() {save_file();});

HOW TO: synchronise your last.fm playback stats with foobar

Reply #165
thanks - I've changed it

HOW TO: synchronise your last.fm playback stats with foobar

Reply #166
i'll add a context menu to make switching languages easier. i'll post an update here


actually i won't bother. people can just use ssenna's proper biography component if they need these features.

 

HOW TO: synchronise your last.fm playback stats with foobar

Reply #167
ahh ok, So I did read the readme file. And I did wait 10 seconds, I waited till the whole song finished. I even checked the console and this is what i get:

Audioscrobbler: Submitting track...
Audioscrobbler: Submission succeeded.
Opening track for playback: "I:\Music\Boards Of Canada\(1998) Music Has The Right To Children\Boards Of Canada - Music Has The Right To Children - 13 - Olson.mp3"
Playcount sync: Contacting Last.fm....
Playcount sync: Last.fm responded "OK"
TouchRemote: items modified in library: 1

It doesnt update anything in my "played" field. just stays empty.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #168
Quote
i'll add a context menu to make switching languages easier. i'll post an update here

Too bad that you changed your mind. I use currently ssenna's plugin and your script.
But still many thanks for the script and the work inside it.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #169
It doesnt update anything in my "played" field. just stays empty.


goto the properties of the track and then the properties tab. have you got anything listed under "Custom Database"?

is the foo_customdb.dll.cfg i supplied in the correct location? right click a track and check the "legacy commands (unsorted)" submenu - it should be full of customdb entries.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #170
It doesnt update anything in my "played" field. just stays empty.


goto the properties of the track and then the properties tab. have you got anything listed under "Custom Database"?

is the foo_customdb.dll.cfg i supplied in the correct location? right click a track and check the "legacy commands (unsorted)" submenu - it should be full of customdb entries.



Yes it shows first played, last played, rating and play counter. under properties in custom database. I put foo_customdb.dll.cfg in my \AppData\Roaming\foobar2000 (I believe this is the correct folder). In legacy commands unsorted I do get much more than what I had previously. Did I do something wrong?

HOW TO: synchronise your last.fm playback stats with foobar

Reply #171
ah, your file isn't inside the "configuration" folder. close foobar and put it in there.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #172
for some reason i cant get it work anymore.
it gets the data from last.fm but it doesnt write it to my db.

i installed it more than once, then it works for a few tracks but then it stops working again?!
anyone can help?


nevermind fixed it

HOW TO: synchronise your last.fm playback stats with foobar

Reply #173
sorry i missed your post earlier. at least you've sorted it.

HOW TO: synchronise your last.fm playback stats with foobar

Reply #174
ah, your file isn't inside the "configuration" folder. close foobar and put it in there.


I guess I had one in the config folder already... I was hoping this was the problem. Still getting the same results..Sorry of being of an annoyance but I'd really like to get this working