Skip to main content
Topic: Playback Statistics component: version 3.0.1 (Read 137808 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

 
SimplePortal 1.0.0 RC1 © 2008-2019