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 (Read 210889 times) previous topic - next topic
0 Members and 11 Guests are viewing this topic.

Playback Statistics component

Reply #25
I am new to foobar after using Winamp5 for almost 4 years. In that time the media library has accumulated very extensive playcount statistics (plus thousands of individual track ratings, but that is not the issue of my question here). One of the key considerations for me about switching to foobar, was that I hoped there would be a playcount feature like in Winamp, and I sincerely hoped there would be a way to transfer these statistics from Winamp to my future library in foobar.

I have tried out this component here, but am dissappointed to find hardly any options to it. Is there a possibility I could set the time needed to increase playcount for a track from 1 minute, as it appears to be by default, to 0 (instantly) like in winamp, so that i could manually "cheat" all tracks up to the old values in my winamp.... by clicking and clicking and clicking. I know this would be a lot of work and sounds crazy but I'd be ready to do it because, as mentioned before, these playcount statistcs are important to me.

Or would there indeed be a convenient way to achieve what I want?


Secondly: Where is the statistics file placed?

Playback Statistics component

Reply #26
Is there a way to convert existing "unofficial" %first_played% (format: YYYY-MM-DD hh:mm:ss) values to the timestamp format that is used by the official component? I searched but could not find any titleformat function that could do this.

Thanks in advance for any help!

 

Playback Statistics component

Reply #27
I am new to foobar after using Winamp5 for almost 4 years. In that time the media library has accumulated very extensive playcount statistics (plus thousands of individual track ratings, but that is not the issue of my question here).
 

One way to do this would be to create autoplaylists in winamp (play_count = 1, 2 ,3 ...) and import them and manaully set the play count to 1,2,3 etc.

Or if you can somehow get winamp to dump the play_counts into clipboard (in order), you could use foobar's "input from clipboard" to get that info in.

I have tried out this component here, but am dissappointed to find hardly any options to it. Is there a possibility I could set the time needed to increase playcount for a track from 1 minute, as it appears to be by default, to 0 (instantly) like in winamp, so that i could manually "cheat" all tracks up to the old values in my winamp.... by clicking and clicking and clicking. I know this would be a lot of work and sounds crazy but I'd be ready to do it because, as mentioned before, these playcount statistcs are important to me.
 

Check out playback statistics custom.


Is there a way to convert existing "unofficial" %first_played% (format: YYYY-MM-DD hh:mm:ss) values to the timestamp format that is used by the official component? I searched but could not find any titleformat function that could do this.

Thanks in advance for any help!


Check out the FAQ here:

Playback Statistics component

Reply #28
Is there a way to convert existing "unofficial" %first_played% (format: YYYY-MM-DD hh:mm:ss) values to the timestamp format that is used by the official component? I searched but could not find any titleformat function that could do this.


Check out the FAQ here:


As far as I can see, only the way from %*_played_timestamp% to %*_played% is shown there. My question is: Is there a way to create the timestamp format from a string containing the "human readable" format, e.g. with a masstagger script?

Playback Statistics component

Reply #29
As far as I can see, only the way from %*_played_timestamp% to %*_played% is shown there. My question is: Is there a way to create the timestamp format from a string containing the "human readable" format, e.g. with a masstagger script?


Oops, my mistake. i thought you wanted to do the reverse.

AFAIK there isn't a titleformat string to do what you want, however, we know that the format being used is Win32 Filetime, so you could possibly cook up a script on your own.

Why exactly do you want to convert to that format? Doesn't the playback statistics official automatically convert these tags to its own format?

Playback Statistics component

Reply #30
Quote
Is there a way to create the timestamp format from a string containing the "human readable" format, e.g. with a masstagger script?


EDIT: This masstagger script only work with year before 2006.

I still have the masstagger script file that can do this (got from this forum) "load from file.." in masstagger to use it.
Here's the link It's also convert "PLAY_COUNTER" to "PLAY_COUNT"

But as Kanak said, Why do you want to do this anyway since it will auto update these tag by itself.

Playback Statistics component

Reply #31
But as Kanak said, Why do you want to do this anyway since it will auto update these tag by itself.

I didn't know it should do that - it does not work here!

So here an example file:
Quote
# BEFORE
# tags generated by *unofficial* foo_playcount.dll v1.9.2

--- Metadata ---
<FIRST_PLAYED> : 2007-03-06 18:15:13
<LAST_PLAYED> : 2007-03-10 16:49:37
<PLAY_COUNTER> : 4


# AFTER
# tags after one playback in foobar2000 v0.9.5 with
# component Playback Statistics v2.0

--- Metadata ---
<FIRST_PLAYED> : 2007-03-06 18:15:13
<FIRST_PLAYED_TIMESTAMP> : 128474808308437500
<LAST_PLAYED> : 2007-03-10 16:49:37
<LAST_PLAYED_TIMESTAMP> : 128474808308437500
<PLAY_COUNT> : 5

--- Properties ---
Played : 5 times
First Played : 2008-02-14 17:40:30
Last Played : 2008-02-14 17:40:30


While %play_counter% is recognised, incremented and converted to %play_count%, the value of %first_played% (and - less important - %last_played%) is ignored and FIRST_PLAYED_TIMESTAMP is identical to LAST_PLAYED_TIMESTAMP.

Is this a bug or is there something I could have made wrong (hidden settings, tag format incompatibilites)?

Playback Statistics component

Reply #32
Don't  use official play_count if you have stastic  tags.

You must use foo_playback_custom.dll, if you want keep your first_player  value.


Playback Statistics component

Reply #34
New version 2.1 out.
A feature request: Currently I can't assign shortcut keys for rating. Any chance it will be possible in the future?


Playback Statistics component

Reply #36
Just had a look at it - apart from the rating thing in the context menu is there anything different.
I was hoping I might be able to set the % a track is played before it's rated - have I missed an option?
I played a 20 min track and it counted it played after 1 minute - is that as it should be?

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

Playback Statistics component

Reply #37
weee... %added% field, finally
thx Peter

Playback Statistics component

Reply #38
Yay for %added%. Now how do i create a autoplaylist of the recently added songs (without cwb_hooks, as it wont be supported in the future, right)?

Playback Statistics component

Reply #39
As of now the added dates for old songs that already have their statistics are weird as the time is taken at the current time. A better choice would be the first played time stamp.

Playback Statistics component

Reply #40
As of now the added dates for old songs that already have their statistics are weird as the time is taken at the current time. A better choice would be the first played time stamp.

Yeah I noticed that.
What would be really useful is a way to transfer existing %added% data to the playcount database (PlaybackStatistics.dat).

Also (not sure if this is the correct place) but since cwb_hooks is soon(?) to no longer be supported I'd like to put in 2 requests:

1) include a skip count (so that at any time someone hits "next" a %skip% is registered).
2) allow the user to set the % a track is played before it's counted as played (this would also be nice for the %skip% as a user could say if the track is skipped after 90% played don't count it as skipped).

With those 2 additions I wouldn't need cwb_hooks.

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

Playback Statistics component

Reply #41
A feature request: Currently I can't assign shortcut keys for rating. Any chance it will be possible in the future?
Fixed in 2.1.1, thanks for reporting.

As of now the added dates for old songs that already have their statistics are weird as the time is taken at the current time. A better choice would be the first played time stamp.
Good idea, I'll change that for the next version as well.
Microsoft Windows: We can't script here, this is bat country.

Playback Statistics component

Reply #42
A feature request: Currently I can't assign shortcut keys for rating. Any chance it will be possible in the future?
Fixed in 2.1.1, thanks for reporting.

As of now the added dates for old songs that already have their statistics are weird as the time is taken at the current time. A better choice would be the first played time stamp.
Good idea, I'll change that for the next version as well.



I have weird issues: my old rated songs stored in custominfo are dissapeared.
There is any possibility to store them now in playbackstatistic.dat without losing old ones. I think it's a strange way in: First---stamp %rating% tag, Second---update to 2.1.1 and delete custominfo.dll, Third---re-assign ratings via context menu and finally remove %rate% tags from files. It can work, but isn't elegant
more or less, minus is best

Playback Statistics component

Reply #43
Peter, thank you for taking my requests into consideration. I forgot to add that old songs now with weird added date should be fixed to the new way, too.

@orbtwin: I did half what you said yesterday as my rating is in tag. It's not much tedious if you use query to create appropriate playlists with rating = X then set rating using playback statistics.

EDIT: bug report: setting a rated song using this component back to <not set> is not possible currently using shortcut key.

Playback Statistics component

Reply #44
bug report: setting a rated song using this component back to <not set> is not possible currently using shortcut key.


also not work with context menu
Music is my first love.

Playback Statistics component

Reply #45
Peter, thank you for taking my requests into consideration. I forgot to add that old songs now with weird added date should be fixed to the new way, too.

@orbtwin: I did half what you said yesterday as my rating is in tag. It's not much tedious if you use query to create appropriate playlists with rating = X then set rating using playback statistics.

EDIT: bug report: setting a rated song using this component back to <not set> is not possible currently using shortcut key.


while we wait for an update (2.1.2) or something, i'll do the trick with the rated songs, but in a different way:(nearly the same, otherwise).
1.group files in rate+1, rate+2, etc...
2.create a pls from every group, in this way, isn't necesary in stamp %rate % tag.
3.then add new playback.dll and erase custominfo.dll.
4.finally load every pls and re-tag via context menu

But the more strange behaviour it's the weird added date. Now ALL files are added Today, losing albums added in past 40 days.

Code: [Select]
"autoplaylist query --- "%ADDED% HAS "-" AND "$cwb_datediff(%ADDED%,%cwb_systemdate%)" LESS 40


Code: [Select]
"columns ui display" --- "$if(%added%, $puts(diff,$cwb_datediff(%added%,%cwb_systemdate%)) Added $ifgreater(1,$get(diff),Today, $ifgreater(2,$get(diff),Yesterday, $get(diff) days ago)), No Updated)




Peter, thank you for the update (and every byte of fb2k      )
thuan:  let's do the trick
more or less, minus is best

Playback Statistics component

Reply #46
Melomane: It does work for me, check whether you still have physical rating tag for that particular song.

Playback Statistics component

Reply #47
Changing rating to "not set" currently does not work correctly if you have a metadata field named RATING present in your file tags (eg. as a result of synchronizing playback statistics with file tags), this will be fixed in the next release.


Updated: Version 2.1.2 is available for download.
Microsoft Windows: We can't script here, this is bat country.

Playback Statistics component

Reply #48
hi,

before i updated from playback statistics version 1.0 to the new version i used a masstager-scipt to write the %ADDED%-dates as a tag. now with the new version all played songs are correct synchronised with the %ADDED%-tag. but never played songs are not - they have all the added-date in the playback statistics when i start foobar the first time with the new playback statistics version.

for example: a never played song with the %ADDED%-tag has the date "2007-07-10 00:06:56", but in the playback statistics the added-date is "2008-05-04 01:27:16".

what is the problem and how i can resolve it?

thx in advance & greets.

Playback Statistics component

Reply #49
Any possibility that the database is located in the media library's folders?. That way it would be portable, usably across different operating systems (XP32/64, Vista32/64 and even Linux with Wine).
Furthermore I backup my all data but not my OS and programs, so HD failure would result in losing all statistics.

And finally it feels more natural to have the statistics associated with the music in the same place the music is.