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 203634 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Playback Statistics component: version 3.0.1

Reply #200
Is there any way to reset the ADDED.
Somehow an album in my media library that was released this year has an added date of 2000.

Some one in the thread earlier suggested editing the tag and then importing from file tags.
Editing the field "added" didn't do anything. Editing added_timestamp with the date 2010-03-12 10:57:53 and then importing resulted in the added date being 1601-01-01 13:00:00!!

Most annoyingly, the reset statistics option doesn't touch the added stats.

There needs to be a way to edit the date added or at least reset them to the current date.
Are there any workarounds that I can use? (other than just removing the files from my media library for a month)

Playback Statistics component: version 3.0.1

Reply #201
+1 for the ability to reset/edit ADDED field....

Playback Statistics component: version 3.0.1

Reply #202
Is there any way to reset the ADDED. ... There needs to be a way to edit the date added or at least reset them to the current date. Are there any workarounds that I can use? (other than just removing the files from my media library for a month)


You might get a simple workaround by copying the statistics from a recent album / recent tracks and importing these to the tracks with the wrong statistics. This has helped me a lot (if you can live with all other statistics data being overwritten, too!)

Playback Statistics component: version 3.0.1

Reply #203
Newbie here. Like to say thanks for FB2k, used for a few days & really impressed  Have been trying to get rid of iTunes awhile now & with this plugin see the opportunity of using my 30k song stats.

I've got a text file of those stats (XML->XSL) & am trying to find the best way to import them. Just a couple of questions:

- Is Masstagger the best way to import 30k song stats efficiently
Quote
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.


- Are the dates calculated using
Quote
A file time is a 64-bit value that represents the number of 100-nanosecond intervals that have elapsed since 12:00 A.M. January 1, 1601 Coordinated Universal Time (UTC)


Many thanks in advance for any/all help with this

Playback Statistics component: version 3.0.1

Reply #204
- Is Masstagger the best way to import 30k song stats efficiently

Yes. But you might need to break up the operation. I know that masstagger can handle 10,000 lines at once, but I'm not sure of the max no. of files you can do at one time. Someone else might know. If it can't, just create 3 playlists of 10k files each and that would certainly work. Just be methodical.

You want to use Tagging > Manage Scripts > Add > "Input data (one line per track)"

When I did something similar I used:
Code: [Select]
%PATH_MATCH%,%ADDED_TIMESTAMP%,%FIRST_PLAYED_TIMESTAMP%,%LAST_PLAYED_TIMESTAMP%,%PLAY_COUNT%

And the per line data I added was like so:
Code: [Select]
D:\path\filename.mp3,129384058953900000,129384058953900000,129384922953900000,1

I did this in Excel > CSV [then renamed CSV to TXT which gets rid of the columns and gives just rows of data which is what you want] and then copied from notepad to foobar2000's masstagger.

The purpose of creating a field called path match, was so that I could check later that the stats data was applied to the right files. That can be quite useful, as without doing so, if you've made a mistake with the order you may not realise or have a way to check.
- Are the dates calculated using
Quote
A file time is a 64-bit value that represents the number of 100-nanosecond intervals that have elapsed since 12:00 A.M. January 1, 1601 Coordinated Universal Time (UTC)


Yes.

C.

EDIT: Spelling and clarity.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Playback Statistics component: version 3.0.1

Reply #205
Many thanks for the really useful tips - exactly what I needed 

I've got the whole lot loaded now in MQSQL including an indexed Path, will use that as key in a script using Rating Playlists as input.

Thanks so much for your help!

Playback Statistics component: version 3.0.1

Reply #206
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.


Me too.  I'm really missing that.

Playback Statistics component: version 3.0.1

Reply #207
Thanks especially to Peter and Carpman, all 30,000 iTunes song stats are in fb2k & I can finally unplug the beast 


What a grand bit of kit fb2k is! 

Playback Statistics component: version 3.0.1

Reply #208
Really, really happy with FB2k - thanks sooo much to everyone involved 

I want to do some music mining: I've a lot of material that needs rating & limited listening time, so some clever manipulation of a db will do it methinks. I'm mapping the Entry ID produced by Playback Statistics(PS) -> Export Stats to XML with an equivalent Library Playlist(LP). PS produces 27587, LP produces 27605. I can only imagine the 18 difference are duplicates, but thought I'd ask before searching?

I did a complete import from tags just before starting.

Am I missing something?

Playback Statistics component: version 3.0.1

Reply #209
You may be.
The way to test this is:
Create a playlist with all files > Edit > Remove Duplicates [then Right Click] Properties and see how many files there are.
If there are 27587 then duplicates is the issue.
Otherwise the reason will be the fact that playcount stats are now linked to tagging info, so if you have 2 differently named files (i.e. A.mp3 and B.mp3) yet they share the same tagging info (you'll have to check what this is) then foo_playcount will treat them as one file and they will share the same stats. i.e. the Tagging info is now the UID.

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

Playback Statistics component: version 3.0.1

Reply #210
Brilliant Carpman, brilliant - you are quickly achieving heroic proportions my friend (in the nicest possible way!)

Indeed you are of course quite right - the problem is all that cunning retagging I've been doing - Still only generating 18 duplicates is not bad, & gives me a small manageable task.

Thank you so much for your help 

Playback Statistics component: version 3.0.1

Reply #211
Just gotta say another massive thank-you to Carpman & especially Peter 

With help from the fabulous fb2k Textools and MySQL I've rid myself of those nasty logical duplicates. Little things please little minds I know, but man I'm a happy camper now (sad really, must get out more  )

Anyhow, thanks again everyone!

Playback Statistics component: version 3.0.1

Reply #212
I have to backup my statistics, i can do it in "library, playback statistics, export...", is it a safely way?

Playback Statistics component: version 3.0.1

Reply #213
The other day I was thinking of something. Since the new playback statistics component no longer stores information based on file location. Is it possible to somehow host the database on a mySQL server which foobar can fetch from. I think this is a possible solution who wants to keep their library statistics somewhat synced across multiple computers.

Cheers!

Playback Statistics component: version 3.0.1

Reply #214
SQL is a relational database, relational databases are inherently incompatible with multivalue tags.
elevatorladylevitateme

Playback Statistics component: version 3.0.1

Reply #215
SQL is a relational database, relational databases are inherently incompatible with multivalue tags.
Sorry, but this is simply nonsense. There is no relation between your answer and the question before. The playback statistics component doesn't use tags at all and it also does not make any sense in itself. Why do you think it should not be possible to map multivalue tags on a relational database model?

Of course, there are other good reasons to not implement such a functionality, but not because of your statement.

Playback Statistics component: version 3.0.1

Reply #216
SQL is a relational database, relational databases are inherently incompatible with multivalue tags.
Sorry, but this is simply nonsense. There is no relation between your answer and the question before. The playback statistics component doesn't use tags at all and it also does not make any sense in itself. Why do you think it should not be possible to map multivalue tags on a relational database model?

Of course, there are other good reasons to not implement such a functionality, but not because of your statement.

correct.

the main goal is to keep multiple instances of foobar in synch. One option is to use a single PB repository for all players. Don't even need a database for that. A shared XML file with a rudimentaty update lock management is sufficient given the low volume of access. Unfortunately, this would only work when connected to the network.

I'd simply like to see two improvements :
1. settings to select which PB statistics are copied to tag in the media files
2. settings to select which information should take prededence : file tag or PB XML.
Then I would select %ratings% to be copied to tag and file tag to take precedence.
With this, a simple synctool to synch the files between computers will work again.

BTW, why is %rating% a "Playback statistics" ? If it was managed outside of this component, as a simple tag, I'd be happy 

Playback Statistics component: version 3.0.1

Reply #217
+1 for the request to edit PB fields direct in fb2k

Playback Statistics component: version 3.0.1

Reply #218
I wonder if it would be possible to add in a Skipcount feature, just like playcount and rating tells you how much you like a song, skipcount tells you which song you dont like listening to much, especially for guys like me that usually have foobar in the background(and skipping songs with global keys), and only bring it to rate a sang if its really good =)

Should probably have options to not add skipcount to songs that get changed within first 5secs or if the song has been played 4minutes/75% of the song (or something like that)

Playback Statistics component: version 3.0.1

Reply #219
I cant seem to make ratings work. I created a new column, entered %rating_stars_fixed% under display, choose Arial Unicode MS from "Colours and Fonts", and still all i see is just a question mark in the place were ratings were supposed to be. I have office 2010 and Windows XP, and i have installed the latest version of foobar and foo_playcount.
Can someone help?

Playback Statistics component: version 3.0.1

Reply #220
A single question mark = field has no value. Are you sure the track in question has a rating value?
What does a column with %rating% show?

 

Playback Statistics component: version 3.0.1

Reply #221
A single question mark = field has no value. Are you sure the track in question has a rating value?
What does a column with %rating% show?

The whole column with %rating% shows question marks, for each and every song in my library.

Playback Statistics component: version 3.0.1

Reply #222
The whole column with %rating% shows question marks, for each and every song in my library.

Settings > media library > music folders: are there paths entries?
If not, set them. This component only works for music files in your library (playlist is not library)

Playback Statistics component: version 3.0.1

Reply #223
I do not believe this to be the case with current version of component. In watched media library or not, it will track stats.
If there are ?'s everywhere, then there are no tracks that have a rating.

EDIT:
From documentation page.
Quote
Starting from version 3.0, collection of playback statistics is no longer restricted to your Media Library content. You can use this component without using Media Library at all, however, you should keep your non-ML music referenced from a playlist for foobar2000 to maintain the statistics.


Playback Statistics component: version 3.0.1

Reply #224
The whole column with %rating% shows question marks, for each and every song in my library.

Settings > media library > music folders: are there paths entries?
If not, set them. This component only works for music files in your library (playlist is not library)


I of course have two folders that are monitored by foobar, and i have tried to make changes in the "Library view" playlist, but no results so far.
Also, i have made fonts Unicode only for the NG Playlist items. Not sure if that could be a problem or not

Edit:
Sorry guys! It is fixed now. I just had to rate the songs
I was expecting to see empty stars instead of question mark. Is there anyway to do that?