Skip to main content
Topic: Playback Statistics component: version 3.0.1 (Read 140249 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Playback Statistics component: version 3.0.1

Reply #400
I have two questions:

1) Why does Playback Statistics convert a normal human timestamp into computerspeak when writing statistics to file tags? E.g.: 2017-06-02 21:36:22 becomes 131409273821466963.

2) Is there a simple way for a layman to convert a human timestamp into this computerspeak format?

Re: Playback Statistics component: version 3.0.1

Reply #401
@randal1013 , I'm not sure what you really need but working with these dates isn't complicated.

If for example you want to dispaly the 3 dates of Playback Statistics (added date,first played & last played) on the "Playlist View" of the Default UI :
$left(%added%,10)  $right(%added%,8)
$if(%first_played%,$left(%first_played%,10)  $right(%first_played%,8))
$if(%last_played%,$left(%last_played%,10)  $right(%last_played%,8))

Here's also an example of an auto-playlist for tracks added in the last 8 weeks :
%added% DURING LAST 8  WEEKS  SORT DESCENDING BY %added%

An example of an auto-playlist for tracks added in 2016 :
"$year(%added%)" EQUAL "2016" SORT DESCENDING BY %added%

Re: Playback Statistics component: version 3.0.1

Reply #402
I appreciate the fast response, but that's not what I'm asking. What I would like to know is how to convert a readable timestamp, like 2017-06-02 21:36:22, into the long string of numbers, like 131409273821466963, that foo_playcount apparently uses.

Re: Playback Statistics component: version 3.0.1

Reply #403
Actually nevermind, I found another way to do what I wanted.

Re: Playback Statistics component: version 3.0.1

Reply #404
Where are the stats info stored? In the .cfg file? Inside the index-data folder? I see there is another file now.

Thanks.

Re: Playback Statistics component: version 3.0.1

Reply #405
Well the component hasn't been updated in years so it will still be inside the index-data folder.

Re: Playback Statistics component: version 3.0.1

Reply #406
Perfect thanks, never knew about the component, I always used the player in extremely basic mode without even adding the library, I wanted to use it like adding CDs (folders) one by one like I used to do with the stereo but every now and then I was adding the library to test if I would change my mind on how to use it and I always kept a personalized full screen multi panel theme.

Re: Playback Statistics component: version 3.0.1

Reply #407
I'm using foo_playcount to write playstats directly to the audio-files , because my library keeps growing and a lot of it is becoming FLAC the "Automatically sync filetags with stats" is becoming unusable .. it can create huge lagtimes around the 1 minute mark from time to time. Even minor lag is really off-putting, obviously.

Is there any way I can fix this lag , without having to either rely on the database-file foo_playcount creates and adding playcount info to the files myself ?
I'm not really using it as a playcount stats per se, I'm using it more as a visual check to know whether I have played an audiotrack before or haven't. . .

As such:


I saw this config screenshot on some wiki, but I don't seem to have this? :

http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Play_Count_(unofficial)_(foo_playcount)

Any help appreciated ! :) (I'm using foobar2000 default UI btw)

Re: Playback Statistics component: version 3.0.1

Reply #408
@Viniman, why are you still using the old v0.9.1 foobar2000 ?  :o
If you upgrade your foobar you'll be able to use Playback Statistic version 3 (was released on 2011-07-13). There's no lag time on version 3. Version 3 introduced new data pinning scheme :  "Playback statistics are now pinned to a combination of artist + album + disc number + track number + track title information, contrary to pre-3.0 versions which would pin data to file paths".
http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Playback_Statistics_v3.x_(foo_playcount)

Re: Playback Statistics component: version 3.0.1

Reply #409
I am sure this question has been asked before, but I can't find the answer.  My PC crashed while Foobar was open and it seems the Payback statistics from that session were not saved.  Is there a way to recover the stats of what was played during that session?

Re: Playback Statistics component: version 3.0.1

Reply #410
foo_jesus is the only guaranteed way to keep stats for a session without user intervention. Otherwise, you'd need to manually trigger a configuration save periodically.

Re: Playback Statistics component: version 3.0.1

Reply #411
Is it possible to display an unrated track as blank instead of as a question mark?

Re: Playback Statistics component: version 3.0.1

Reply #412
Nevermind, I figured it out from an earlier post--just need to format as [%rating%].
Thanks for the plugin!

Re: Playback Statistics component: version 3.0.1

Reply #413
is it possible to offer a enhanced %played_per_day% to show  3 or 4 digits after the decimal point?
now  %played_per_day% shows only 2 digits is meaningless for most songs, as I have 10k songs with more than 10 years in library,
end up showing a lot meaningless 0.01 and 0.02

Download - version 3.0.1:
http://www.foobar2000.org/components/view/foo_playcount

Documentation:
http://wiki.hydrogenaudio.org/index.php?ti...oo_playcount%29

This component requires foobar2000 v1.1 or newer.

Changes since 3.0:
- No longer attempts to update tags on remote files or streams when playing.

Re: Playback Statistics component: version 3.0.1

Reply #414
Fun fact: for all its complexity, LDAP timestamp usage and whatnot... foo_playcount doesn't take account of daylight-saving/summer time changes!

It's mindboggling how this could get neglected considering ~70 countries observe DST, so I would really like to be wrong, but it looks like I'm not. I only discovered it by accident when my winter windows time didn't agree with foobar's timestamp.

I was CET (UTC+1) until March 30th, now I'm CEST (UTC+2). Foo_playcount thinks I'm constantly in summer time. Compare:

CET
  • Windows folder creation time: ‎30 ‎March ‎2019, ‏‎17:11:43
  • Foo_playcount %added%: 2019-03-30 18:11:43

CEST
  • Windows folder creation time: ‎‎31 ‎March ‎2019, ‏‎18:25:24
  • Foo_playcount %added%: 2019-03-31 18:25:25

And just the same with Last.fm (scrobbles at 50% but site displays playback start)

CET
  • Last.fm timestamp: 30 Mar 5:19pm
  • Foo_playcount %first_played%: 2019-03-30 18:20:33

CEST
  • Last.fm timestamp: 31 Mar 11:25am
  • Foo_playcount %first_played%: 2019-03-31 11:26:09

Re: Playback Statistics component: version 3.0.1

Reply #415
Is there a way to merge last.fm statistics with the database of this component?



Re: Playback Statistics component: version 3.0.1

Reply #418
@Peter  , it seems that you are using "album artist" tag and not the "artist" tag in somehow contrary to what is stated at the plugin documentation :
"Playback statistics are now pinned to a combination of artist + album + disc number + track number + track title information, contrary to pre-3.0 versions which would pin data to file paths."

BTW - [for those who forgot] When %album artist% is missing it returns the %artist% so the wording in the documentation is not so "wrong".

So here's my issue. Generally it's not so important (because usually when using "album artist" the different "title" & "track number" tags "help" to create a unique combination) but there's a case when the current combination can cause a problem.

Lately I decided to create some "cover" albums for some "classic" soul tracks and the "problem" occurred while creating them.
The last occasion the problem happened was today. I "collected" all my 13 covers of Michael Jackson's "I Wanna Be Where You Are".

I Updated all the tracks with:
"Title" - "I Wanna Be Where You Are (cover)"
"Album" - "I Wanna Be Where You Are (covers)"
"Album Artist" - Michael Jackson

Then suddenly while preparing the "track number" for the tracks of this album all of the tracks' statistics were overwritten by the statistics of one of them (the one I was listening to) !!
At that particular moment all the elements of the "combination" were exactly the same for these 13 tracks.
If the plugin was using "artist" instead of "album artist" it would not have happened.

So here's my request @Peter : Can you replace "album artist" with "artist" or maybe add "artist" to the combination ?
If you decide not to change the combination at least update the documentation.



If it is intended at least you should update the documentation which as of now states :
"Playback statistics are now pinned to a combination of artist + album + disc number + track number + track title information, contrary to pre-3.0 versions which would pin data to file paths."

http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Playback_Statistics_v3.x_(foo_playcount)

Playback Statistics 3.0.3
foobar2000 1.5 beta 16
Win 7 x64

Thanks in advance.

 
SimplePortal 1.0.0 RC1 © 2008-2019