Playback Statistics component: version 3.0.1, Discussion, feedback and beta versions |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
![]() ![]() |
Playback Statistics component: version 3.0.1, Discussion, feedback and beta versions |
Jan 26 2012, 16:58
Post
#276
|
|
|
Group: Members Posts: 2270 Joined: 19-May 08 Member No.: 53637 |
Unless you write the stats to the files tags the information is in a file on the computer and will be lost.
QUOTE foo_playcount database files are: v2.x = PlaybackStatistics.dat (in application folder) v3.x = "C653739F-14B3-4EF2-819B-A3E2883230AE" (in folder 'index-data') EDIT: If you have not previously set your configuration to write this information to your tags, you can select all your files and use the context menu to do so. This post has been edited by tpijag: Jan 26 2012, 17:24 |
|
|
|
Jan 26 2012, 17:50
Post
#277
|
|
|
Group: Members Posts: 211 Joined: 20-July 06 Member No.: 33113 |
@canuckerfan
In addition to the above suggestion, you can also do the following with v3.x, as taken from the wiki: http://wiki.hydrogenaudio.org/index.php?ti...oo_playcount%29 XML backup functionality You can export playback statistics to an XML file and import them later, through Library => Playback Statistics menu commands, or through context menu on specific tracks. This can be used to easily transfer playback statistics between different foobar2000 installations or profiles. This post has been edited by WilB: Jan 26 2012, 17:54 |
|
|
|
Feb 2 2012, 11:25
Post
#278
|
|
![]() Group: Members Posts: 266 Joined: 21-August 04 Member No.: 16417 |
I'm noticing a rare, ocasional problem with the database -- some tracks drop the statistics from the DB (playcount/rating) and show up in the autoplaylist (rating GREATER 2 AND (%first_played% DURING LAST 4 WEEKS OR %added% DURING LAST 10 WEEKS)) but with empty rating field (yet the rating is in the file tag thus importing it fix the problem.
-------------------- http://foobar2000.pl/ :: unofficial polish forum
|
|
|
|
May 6 2012, 16:32
Post
#279
|
|
|
Group: Members Posts: 71 Joined: 14-November 06 Member No.: 37575 |
Hi Peter,
Any chance for an improvement to be able to decide in settings which statistics are copied to TAG ? I have foobar on multiple pcs and sync my music files between them. I'd like to sync files if RATING changed, but not all the played files. IMHO, RATING is not like playblack statistics. I can understand your opinion is different. We could both be happy if I could decide to sync to file tag ONLY the Rating Thanks for considering, Al |
|
|
|
May 9 2012, 00:37
Post
#280
|
|
|
Group: Members Posts: 47 Joined: 16-January 06 Member No.: 27152 |
Hi, I've been using playback_statistics_custom for my tags playback statistics and want to start using the official playback statistic component. The playback_statistic_custom plugin saves my tags as play_counter, first_played, and last_played. Is there a way to convert these tags to the ones the official playback statistics component uses somehow? Thanks.
This post has been edited by Mr Broly: May 9 2012, 00:38 |
|
|
|
May 12 2012, 02:54
Post
#281
|
|
|
Group: Members Posts: 47 Joined: 16-January 06 Member No.: 27152 |
Hi, I've been using playback_statistics_custom for my tags playback statistics and want to start using the official playback statistic component. The playback_statistic_custom plugin saves my tags as play_counter, first_played, and last_played. Is there a way to convert these tags to the ones the official playback statistics component uses somehow? Thanks. Nvm got it thanks. |
|
|
|
Jun 3 2012, 16:58
Post
#282
|
|
|
Group: Members Posts: 75 Joined: 23-May 10 Member No.: 80861 |
QUOTE XML backup functionality You can export playback statistics to an XML file and import them later, through Library => Playback Statistics menu commands, or through context menu on specific tracks. This can be used to easily transfer playback statistics between different foobar2000 installations or profiles. Does this overwrite current playback statistics? I would like to transfer my old playback statistics onto my 'new' foobar (which I have actually been using for around 6 months. I don't want to lose my current playback stats, rather add them together. Is this possible? |
|
|
|
Jun 5 2012, 07:07
Post
#283
|
|
|
Group: Members Posts: 144 Joined: 1-May 09 From: Austin, TX Member No.: 69413 |
Someone can correct me if I'm wrong, but yes, it'll overwrite the old statistics. Here's what I'd do to add the numbers together (you can do something similar for the other fields if you care about %added%, %last_played%, etc.).
On your NEW foobar, I'd select your entire library and then do Playback Statistics >> Write statistic to File tags. Wait several minutes for everything to get written. Then using Mass Tagger I'd write a script that copies PLAY_COUNT to a new field called PLAY_COUNT_NEW and then deletes PLAY_COUNT. Do something similar for the other fields if you want them saved. On your OLD foobar, I'd export to XML. On your NEW foobar, I'd import the XML and assume everything got overwritten. On your NEW foobar, select your entire library and then do Playback Statistics >> Write statistic to File tags. Wait several minutes for everything to get written. You should now have a PLAY_COUNT which was your play count from your OLD foobar and PLAY_COUNT_NEW which is from your New foobar. You can then use Mass Tagger to copy PLAY_COUNT to PLAY_COUNT_TEMP (just in case you screw something up) and then set PLAY_COUNT to $add(%play_count_temp%,%play_count_new%). Then select all your files and do Playback Statistics >> Import Statistics from File Tags. Afterwards you can delete all the junky tags in your files and your play counts should be good. This post has been edited by db1989: Jun 5 2012, 10:35
Reason for edit: deleting pointless full quote
|
|
|
|
Jun 5 2012, 14:57
Post
#284
|
|
|
Group: Members Posts: 75 Joined: 23-May 10 Member No.: 80861 |
The above described method works perfectly. Thanks!
|
|
|
|
Jul 5 2012, 07:14
Post
#285
|
|
|
Group: Members Posts: 1 Joined: 3-June 07 Member No.: 44007 |
|
|
|
|
Jul 9 2012, 16:01
Post
#286
|
|
|
Group: Members Posts: 3 Joined: 28-May 12 Member No.: 100226 |
|
|
|
|
Jul 29 2012, 02:22
Post
#287
|
|
|
Group: Members Posts: 274 Joined: 25-September 05 Member No.: 24684 |
Something I discovered recently:
If you use a different tagging program on your music (e.g., Mp3tag), and use Playback Statistics 3.x (based on hashes of tags, not filenames), then you should turn OFF realtime library monitoring. I've found that when I rescan my library after changing tags, foobar will no longer lose tags for files with changed year/date, artist, and/or title. (With realtime monitoring on, not only would foobar lose statistics on files changed outside foobar2000, but it would also cause Mp3tag to fail to rename files from xxxxx.tmp back to the real filename e.g. 01 song.m4a) An additional plus is that copying files into my music library folders no longer causes foobar2000 to hang for a couple seconds. (it only hangs for about a second when I hit Rescan folders) |
|
|
|
Aug 3 2012, 17:04
Post
#288
|
|
|
Group: Members Posts: 274 Joined: 25-September 05 Member No.: 24684 |
Any chance of half-stars (using the "1/2" unicode symbol is what Apple apparently does) or outright allowing the user to change the scale from 5 to 10?
|
|
|
|
Aug 11 2012, 14:43
Post
#289
|
|
|
Group: Members Posts: 44 Joined: 17-June 08 Member No.: 54459 |
I just did a quick topic search that didnt help at all so I'll ask now, and sorry if it's already been asked which I have a feeling it has been:
Is there a way to manually edit %PLAY_COUNT%? or other fields really. going into properties and changing it doesn't actually change the "Played" under playback statistics. due to bugs and errors, a lot of my plays have been lost (confirmed with last.fm and the fact that some of the songs lost rating and YEARS of plays/all of the plays). If there's even a third party way of doing this that still affects what playback statistics displays, that will be good enough. thanks for the help in advance and thanks for your time This post has been edited by Kougeru: Aug 11 2012, 14:43 |
|
|
|
Aug 11 2012, 15:19
Post
#290
|
|
|
Group: Members Posts: 71 Joined: 14-November 06 Member No.: 37575 |
I just did a quick topic search that didnt help at all so I'll ask now, and sorry if it's already been asked which I have a feeling it has been: Is there a way to manually edit %PLAY_COUNT%? or other fields really. going into properties and changing it doesn't actually change the "Played" under playback statistics. due to bugs and errors, a lot of my plays have been lost (confirmed with last.fm and the fact that some of the songs lost rating and YEARS of plays/all of the plays). If there's even a third party way of doing this that still affects what playback statistics displays, that will be good enough. thanks for the help in advance and thanks for your time maybe export to xml, then edit the xml file, and then import from xml ? |
|
|
|
Aug 14 2012, 08:14
Post
#291
|
|
|
Group: Members Posts: 3 Joined: 14-August 12 Member No.: 102288 |
Hey Peter,
I'm trying to write a program to merge your export with an Itunes library import so I can get added to library info in Foobar2000, but I can't seem to figure out how you encoded your timestamps in your XML export, mind sharing? Thanks |
|
|
|
Aug 14 2012, 14:29
Post
#292
|
|
|
Group: Members Posts: 71 Joined: 14-November 06 Member No.: 37575 |
Hello Everyone,
finally found a way to sync file tags and Playback Statitistics database ratings storage! It is far from optimal, but unless Peter decides to do something about the rating storage, that's the best i could find. As you know PlaybackStatistics component can store the PB stats (first/last played, playcount,etc.. and rating) either in a database or in the file tags. You can copy from one location to the other by using the "Import statictics from file tag" or "Write statistics to file tag" commands. My concern is Ratings. IMHO, not a playback stat. I want to keep it in a tag. Issue is that I have multiple instances of foobar. I use a filesync utility to sync my music. It works very well, except for ratings. After copying files around, I ended up having for some tracks a Rating file tag different from the one in the PB database. Another issue is that I may change Rating at any place. If I use the playback statistics component with saving in the file tag option, every played file is updated, creating a huge amount of false positive to sync. If I chose the option to keep PB stats in the database, I miss the Ratings updates ! Here is a solution to keep in sync in 3 steps using autoplaylist. (Library > Search and then create autoplaylist) %rating% is the rating value in the db $meta(rating) is the value in the file tag. Many query operators consider a field without % as it's meta value. First two steps are to find orphans on each instance. 1. Search (%rating% PRESENT) AND (rating MISSING) this query will find the tracks with a db value and no file tag. Select all and run command "Write statistics to file tag" 2. Search (rating PRESENT) AND (%rating% MISSING) this query will find the tracks with tag value and no db value. Select all and run command "Import statictics from file tag" Once there is no orphan anymore, we want to find tracks having a different rating in the db and the file tag. unfortunately, a simple query like this "NOT (rating EQUAL %rating%)" does not work 3. use this_long_syntax to search (%rating% PRESENT) AND NOT (((rating EQUAL 1) AND (%rating% EQUAL 1)) OR ((rating EQUAL 2) AND (%rating% EQUAL 2)) OR ((rating EQUAL 3) AND (%rating% EQUAL 3)) OR ((rating EQUAL 4) AND (%rating% EQUAL 4)) OR ((rating EQUAL 5) AND (%rating% EQUAL 5))) this autoplaylist lists all the tracks with a db rating different than the file tag. a)BEFORE sync the files, on each instance, check if there are some tracks in the autplaylist, select all and run the "Write statistics to file tag" command. b)Sync the files between the pcs. c)Then check again the autoplaylist on each instance, and run the "Import statictics from file tag" command. Now you're in sync, db and tags, on all isntances. Until you change a rating again at some place. enjoy |
|
|
|
Aug 16 2012, 04:06
Post
#293
|
|
|
Group: Members Posts: 144 Joined: 1-May 09 From: Austin, TX Member No.: 69413 |
Alkasar, I detailed a way to sync playback statistics between multiple foobar instances here, but I don't think there's anyway to make it work with multiple foobars running at the same time without doing something similar to what you're already doing. If that's not an issue for you, then my method might be simpler for you.
|
|
|
|
Aug 16 2012, 14:33
Post
#294
|
|
|
Group: Members Posts: 71 Joined: 14-November 06 Member No.: 37575 |
Alkasar, I detailed a way to sync playback statistics between multiple foobar instances here, but I don't think there's anyway to make it work with multiple foobars running at the same time without doing something similar to what you're already doing. If that's not an issue for you, then my method might be simpler for you. sync the the playback statistics database via the cloud is a good idea As I am mostly interested in ratings, this is probably acceptable. I don't use dropbox but google drive. Wonder if I can make it work with gdrive and also sync some playlists as well. Will try out |
|
|
|
Oct 12 2012, 11:12
Post
#295
|
|
![]() Group: Members Posts: 224 Joined: 6-January 04 Member No.: 11006 |
My observations on Playback Statistics (v3.0.2):
This post has been edited by John Doe: Oct 12 2012, 11:31 |
|
|
|
Oct 13 2012, 10:11
Post
#296
|
|
|
Group: Members Posts: 2 Joined: 13-October 12 Member No.: 103830 |
Hi,
I'm not quite sure how to work with Playback Statistics : do I really need to select all the tracks where I want to move the stats to the tags and then chose "Write to file tags" ? Isn't there a way to write in it directly ? |
|
|
|
Oct 13 2012, 10:50
Post
#297
|
|
![]() Group: Members Posts: 3269 Joined: 27-January 05 From: England Member No.: 19379 |
you'll find an option under file>preferences>advanced>tools>playback statistics.
|
|
|
|
Oct 14 2012, 10:25
Post
#298
|
|
|
Group: Members Posts: 2 Joined: 13-October 12 Member No.: 103830 |
Ok, thanks, didn't think about looking there
|
|
|
|
Oct 14 2012, 18:28
Post
#299
|
|
|
Group: Members Posts: 201 Joined: 24-July 07 Member No.: 45592 |
Hi,
Apologies if this is straightforward - I use the playback statistics plugin to add ratings to music files in Foobar. I understand that the plugin does not use the standard %rating% metadata for some reason. I also use JRiver to play and rate music - this DOES seem to use the %rating% tag. What I would like to do, is to fill one from the other, i.e. if there is a %rating% but no rating in the plugin, then copy the value to the plugin. And vice versa, if I rate something in the plugin, to copy this value to the %rating% field. Any help appreciated!! |
|
|
|
Oct 14 2012, 21:00
Post
#300
|
|
|
Group: Members Posts: 328 Joined: 17-April 12 Member No.: 98921 |
The Playback Statistics component now writes a Windows Media Player POPM frame to mp3 files when the "Write statistics to file tags" option is used. With a quick search on Google, I found that JRiver will use the rating. (I don't know how ratings in JRiver work. It likely imports the POPM ratings to its ratings, but you'll need to ask JRiver how their mp3 ratings are stored/written if you don't already know).
The Playback Statistics component writes a RATING tag to flac files when the "Write statistics to file tags" option is used. Again you'll need to consult JRiver on on how flac ratings are handled. This post has been edited by BenB: Oct 14 2012, 21:04 -------------------- This signature apparently isn't too long.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 13:31 |