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: Playback Statistics component: version 3.0.1 (Read 204953 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Playback Statistics component: version 3.0.1

Reply #150
If I remove a directory from the music folders list in the media library, what happens to the stats of the tracks that have now been removed? Are they deleted from PlaybackStatistics.dat? I ask, in the event of something being removed from the media library list (even by accident), do I have to worry about losing my stats?

Quote
A record gets removed when no matching track has been seen by foobar2000 (in Media Library or in any playlist or in an imported XML backup of playback statistics) for four weeks.

http://wiki.hydrogenaudio.org/index.php?ti...(foo_playcount)

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Playback Statistics component: version 3.0.1

Reply #151
Hellew!

Sorry if this has been asked before.

Is it somehow possible to calculate and display the average rating of a whole album?

Playback Statistics component: version 3.0.1

Reply #152
So, if I manually change the %play_count% tag, does that mean that this plugin ignores the change?

I.e., if my song has 5 plays in both the plugin database and the file tag, and I change the file tag to 6 (because I listened to the song on my ipod), the plugin database has no way of knowing that I changed the tag? And therefore, if I then play the song again from within foobar, and write file tags, the file tag will stay at 6 rather than 7 as I intend?

If so, it would be nice to have a "Fake Play" function which, when clicked, would update the database exactly as if you had just played the song.

Playback Statistics component: version 3.0.1

Reply #153
Apart from the idea of amending each track's playcount individually  , this also assumes the info is already written to the file's tags. Additionally, even if you did that you still couldn't re-import them, as has already been pointed out:

Point taken.  I've been writing play counts to the file tags for so long, I forgot that the default is to not do that.

Playback Statistics component: version 3.0.1

Reply #154
Hi ScribeOfTheMist

No you can do this (I think I wasn't clear enough in my reply to you here).
You can increase the playcount in your TAGS, and if "TAG Playcount" > "Database Playcount" then foo_playcount will accept and import the changes.

What you can't do (and what I was referring to) is simply instruct foo_playcount's database to increase the track playcount by +1. i.e. you need to go via the Tags and Import method. I'm assuming $add(%play_count%,1) will work - Import Stats from Tags.

Additionally, if you make a mistake, you can't then reduce the playcount via the same method, because the database won't accept Tag updates where "TAG Playcount" < "Database Playcount".

Hopefully that's clearer.

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Playback Statistics component: version 3.0.1

Reply #155
Ok I think I understand what you are saying, but just to clarify, another dumb question...since I have been happily using the same foobar setup for over a year and don't know much of anything about 1.0+

is there a plugin or other way to assign scripts to context menu or hotkeys so that I can do what you are describing with one click/press? ...for example...

Script "Fake Play":
Code: [Select]
$add(%play_count%,1)
Playback Statistics > Import Stats from Tags


I know I used to do things like this in an older version of foobar but I thought I remembered reading that the plugin (maybe masstagger?) that did this was no longer supported.


Playback Statistics component: version 3.0.1

Reply #156
Let's see if a picture is worth a thousand words. What I'm suggesting is minimal functionality allowing the user in a very constrained way to manipulate the Playback Statistics database without having to resort to "via TAGS" work-arounds. 



@ ScribeOfTheMist
I don't know the answer to your script question, I'm sure others may be able to help.
However, if the above was implimented, you wouldn't need any help.

C.

EDIT: The date sub menu is just me being greedy, but the play menu, I think would be highly beneficial.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Playback Statistics component: version 3.0.1

Reply #157
Want!!!

Playback Statistics component: version 3.0.1

Reply #158
Well, after a decent amount of reading around various threads on here, it seems like there is NO way to stick multiple foobar commands - whether titleformatting or menu - into a script. (besides writing your own plugin, which I'm not quite willing to do)

All I really need is the ability to assign one line of titleformatting to a button, control or key:

Code: [Select]
%play_count% = $add(%play_count%,1)


or maybe it's

Code: [Select]
$set(%play_count%,$add(%play_count%,1))


More or less the same thing. This would operate at the context/selection level, but there seems to be no way to accomplish this simple task.

So, the functionality displayed above (in carpman's mockup) seems to be the only way to efficiently add or subtract plays...I hope it exists soon. Having to manually re-play each track with the Mute on is rather annoying!

Playback Statistics component: version 3.0.1

Reply #159
Masstagger should still work in the new version of Foobar.
http://www.foobar2000.org/components/view/foo_masstag

After isntalling it, go to the Conext Meny->Tagging->Manage Script to bring up the Masstagger dialog. Click Add, choose "Guess values from other fields" and do like so:
Code: [Select]
Source format:
$add(%play_count%,1)
Guessing pattern:
%Rating%

Playback Statistics component: version 3.0.1

Reply #160
You can this with masstagger too:
Code: [Select]
Format "TEMP" using "$add(%play_count%,1)"
Copy "TEMP" to "PLAY_COUNT"
Remove field: "TEMP"

You can then import from Tags. However, you can't do the inverse and subtract.

C.

PC = TAK + LossyWAV  ::  Portable = Opus (130)

Playback Statistics component: version 3.0.1

Reply #161
Oh!
See, I was under the impression that masstagger could only update the stock fields (title, artist, etc) that were listed in its dropdown boxes. Now I see that is actually not the case.

Thank you!!

Playback Statistics component: version 3.0.1

Reply #162
Version 3.0.1 released, see the first post for details.
Microsoft Windows: We can't script here, this is bat country.

Playback Statistics component: version 3.0.1

Reply #163
Perfect, thank you! (:

EDIT:
ok, my joy was a bit too soon... when using with foo_last_fm radio it still tries to update tags ("path" to file in that case is FOO_LASTFM_RADIO://play.last.fm/user/<id>.mp3LASTFM ) - could it be also fixed? (:

Playback Statistics component: version 3.0.1

Reply #164
feature request:

Would like to have the opportunity to set an album rating by applying it one one, more or all tracks of an album. That makes sense since new storage method.

 

Playback Statistics component: version 3.0.1

Reply #165
Hi pals,
I have one computer and one laptop with almost the same music library on it (a few more on the computer) and I play and rate quite mixed on both machines.

Can you recommend some system to get at least the ratings synchronized on both libraries?
In the moment, I weekly sync the music along other files with SyncBack. But if I write the statistic tags to file, there is too much traffic, because every file I play changes.

Nice would be an automatic sync feature to ftp or some external file. I tried the export as xml file and its quite nice, but it would be more comfortable, if this process is executed somehow automatically.

Best regards,
Kaffeetrinken

Playback Statistics component: version 3.0.1

Reply #166
Plugin show a square instead of "star". I'm already tired of change dll-file of plugin. Please, add the ability to customize the symbol "star". Ability to select other symbol.

Playback Statistics component: version 3.0.1

Reply #167
Plugin show a square instead of "star".

Are you using Windows XP? Then you might find a possible solution here.
This is HA. Not the Jerry Springer Show.

Playback Statistics component: version 3.0.1

Reply #168
Robertina, thank you! There is no problem if I use "Arial Unicode". But I use "Segoe UI". In this case, even if I install "East Asian language support", symbol "star" looks not nice. I use symbols: ◦ (hex: CC 25) and ● (hex: CF 25)



Current solution: replace ☆ (hex: 06 26) and ★ (hex: 05 26) in hex-editor.

Playback Statistics component: version 3.0.1

Reply #169
I don't see what would you need to use a hex editor for.
Are you using the builtin %rating_stars%? You can replicate it easily with $repeat(●,%rating%)$repeat(◦,$sub(5,%rating%)) or whatever, you know.
Full-quoting makes you scroll past the same junk over and over.

Playback Statistics component: version 3.0.1

Reply #170
O_o Im newbie  Thank you Yirkha! It works.

Playback Statistics component: version 3.0.1

Reply #171
Is it possible to downgrade from Playback Statistics 3.0.1 (and 3) back to a version of 2.x? Details are in this post, but basically I think the problem with the foo_dop/playback statistics no longer playing nice with each other is more down to Playback Statistics (since it had a major change in operational functionality in the jump to 3.x).

Playback Statistics component: version 3.0.1

Reply #172
If i play a song 3 times, the plugin shows me still 1 time played...or 0 time. Any help?

Playback Statistics component: version 3.0.1

Reply #173
How long did you play the song? Generally the playback statistics component updates the playcount after 1 minute of listening.

Playback Statistics component: version 3.0.1

Reply #174
You are right, works good now