Skip to main content
Topic: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles (Read 21568 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #225
Simple solution: for now, don't use %lastfm_play_count%. Use a combination of %play_count% and %lastfm_play_count% and make sure both of them are zero.

I'm aware of that solution and of your recommendation to use foo_playcount in combination with your component, but it has proven to be so unreliable in the past (not the component itself, but internal playcounters in general, given how often I tweak, crash and rebuild my foobar2000) that I'd rather do without, for now. I guess I will do some mass-scrobble-pulling every now and than to keep lastfm playcounts updated, but if you ever make up your mind on solution number 3, you already have my support.
I'm late

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #226
but it has proven to be so unreliable in the past (not the component itself, but internal playcounters in general, given how often I tweak, crash and rebuild my foobar2000) that I'd rather do without, for now.
Ahhh, so you aren't using foo_playcount. That makes a little more sense. FTR, foo_playcount + foo_jesus + moving your index_data folder to dropbox or some other cloud storage location (and symlink/junction it back to the foobar folder) makes it basically bulletproof.

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #227
I'm wondering if I could use this to update my local playcount, via the %lastfm_played_times% feature. Let me explain - I don't use last.fm, but I've been maintaining %play count% values locally for years now. I do almost all my listening on my computer, so the only time this is a problem is when I listen from my phone. There, I have a last.fm scrobbler installed, which caches a list of the played tracks on the phone. So what I do is every end of the week I go through this list, and manually update every single song mentioned back on my computer files, and then nuke the cache. It can get really time-consuming when I've got 100+ entries to update, so I've been looking for an upgrade to this method, and the one thing that occurs to me is to make a last.fm account for only my phone, actually scrobble the cache to it, use this plugin to tag %lastfm_played_times% in my computer, and then with some other plugin tag %playcount% + %lastfm_played_times% = %playcount%. Does that make sense to you? Or, do you think there's an easier way perhaps?

Some problems that I can think of if I do it: (1) does this plugin retrieve %lastfm_played_times% from "artist - album - track", or just "artist - track"? Because if the latter, then I'd have the problem of the same song being tagged twice if present on both a studio album and compilation (2) it seems to me that every time I'd run this hypotethical %playcount% + %lastfm_played_times% = %playcount% equation, I'd have to nuke all my last.fm playcounts so that they don't get added to the sum the next time, correct?

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #228
Is there an way to import in to another variable the global playcount of an track from last.fm instead my personal playcount?
I want to create a autoplaylist that rank my songs sorting by most played songs in last.fm.
Thank you guys.

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #229
Hi, the plugin has stopped working for me.

Code: [Select]
Querying last.fm: http://ws.audioscrobbler.com/2.0/?method=user.getartisttracks&api_key=a1685abe5265b93cf2be4a70d181bf6b&user=m1rass&artist=Jorge+Ben&limit=200&format=json&page=1
Found 0 plays in last.fm (since last recorded scrobble) of Jazz Potatoes

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #230
I'm wondering if I could use this to update my local playcount, via the %lastfm_played_times% feature. Let me explain - I don't use last.fm, but I've been maintaining %play count% values locally for years now. I do almost all my listening on my computer, so the only time this is a problem is when I listen from my phone. There, I have a last.fm scrobbler installed, which caches a list of the played tracks on the phone. So what I do is every end of the week I go through this list, and manually update every single song mentioned back on my computer files, and then nuke the cache. It can get really time-consuming when I've got 100+ entries to update, so I've been looking for an upgrade to this method, and the one thing that occurs to me is to make a last.fm account for only my phone, actually scrobble the cache to it, use this plugin to tag %lastfm_played_times% in my computer, and then with some other plugin tag %playcount% + %lastfm_played_times% = %playcount%. Does that make sense to you? Or, do you think there's an easier way perhaps?

Some problems that I can think of if I do it: (1) does this plugin retrieve %lastfm_played_times% from "artist - album - track", or just "artist - track"? Because if the latter, then I'd have the problem of the same song being tagged twice if present on both a studio album and compilation (2) it seems to me that every time I'd run this hypotethical %playcount% + %lastfm_played_times% = %playcount% equation, I'd have to nuke all my last.fm playcounts so that they don't get added to the sum the next time, correct?
Wow, that's a lot of work. You could do that, but you would have to manually clear all last.fm scrobbles after every pull.

What I'd do if I were you is to not manually update the %playcount%. Start scrobbling to last.fm, and then in your theme instead of showing %playcount% show $add(%playcount%, %lastfm_playcount%). It's a little more work if you use it in a bunch of spots in your theme, but you can easily do a $puts(playcount, $add(%playcount%, %lastfm_playcount%)) at the start of your theme, and then just use $get(playcount) everywhere and it's pretty simple.

The plugin has the option (on by default) to compare with album name as well. Be aware this toggle only works at pulling scrobble time. Switching it won't change the value of %lastfm_play_count% unless you clear the scrobbles for songs and repull.

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #231
Hi, the plugin has stopped working for me.

Code: [Select]
Querying last.fm: http://ws.audioscrobbler.com/2.0/?method=user.getartisttracks&api_key=a1685abe5265b93cf2be4a70d181bf6b&user=m1rass&artist=Jorge+Ben&limit=200&format=json&page=1
Found 0 plays in last.fm (since last recorded scrobble) of Jazz Potatoes

Looks like last.fm has officially killed the old API method. You'll have to update to the latest beta. I'll push it to the component registry and try and push a non-beta version later this week.

Re: foo_enhanced_playcount - Record all song plays and Last.fm scrobbles

Reply #232
Wow, that's a lot of work. You could do that, but you would have to manually clear all last.fm scrobbles after every pull.

What I'd do if I were you is to not manually update the %playcount%. Start scrobbling to last.fm, and then in your theme instead of showing %playcount% show $add(%playcount%, %lastfm_playcount%). It's a little more work if you use it in a bunch of spots in your theme, but you can easily do a $puts(playcount, $add(%playcount%, %lastfm_playcount%)) at the start of your theme, and then just use $get(playcount) everywhere and it's pretty simple.

The plugin has the option (on by default) to compare with album name as well. Be aware this toggle only works at pulling scrobble time. Switching it won't change the value of %lastfm_play_count% unless you clear the scrobbles for songs and repull.
I think your solution is very appropriate, thanks. Indeed it is a lot of work to do it the way I've been handling it, yesterday I spent more than an hour in what is probably the last time (hooray!). Okay so after installing the plugin, I realize it works like the base plugin, obviously, in that the data is retrieved after playback. Not ideal for me since I'd have to play the song here on the computer for it to get updated. I'll look into implementing the apparently still-working marc script, or doing this. Hopefully either works. Thanks again for orienting me, and keeping last.fm sync alive!

 
SimplePortal 1.0.0 RC1 © 2008-2019