Main Menu

POPM tags again

Started by inhumangeek, January 17, 2015, 12:02:17 PM

Previous topic - Next topic

inhumangeek

Hi,

I started a thread https://exiftool.org/forum/index.php?topic=6179.msg30499#msg30499 a few months back about POPM tags but I have been having some trouble with my computer and have only just really got around to writing the scripts I wanted to write.

I am using PlayerPro on my Android phone to save ratings information to the music file (m4a - the mp3 files seem to be saving OK). This saves the ratings in the file itself using one of the following systems: MediaMonkey, WinAmp, or Windows Media Player (http://www.aplayerpro.com/faq.html under "How do I import/export my music stats).

I am trying to write a script to extract the ratings that PlayerPro adds to the file. PlayerPro is definitely changing the files (new file modification date) but using exiftool I cannot find the part of the file that the new rating is being saved in (using exiftool FILE). I don't think the rating is being saved in the popularimeter section, it must be being saved elsewhere.

So, my question is, are there any tags which exiftool cannot see?
Thanks.


Phil Harvey

If you use the -u option you should see all unknown tags.  If the information is stored in one of them, please let me know and send me a sample (philharvey66 at gmail.com), and I'll add support for this tag.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

inhumangeek

Many thanks for the reply. Using this I compared the results before and after changing the rating, and the only fields which changed (apart from the timestamp ones) were one called "Unknown rate" and one called "Free":

Before:
Unknown rate                    : (Binary data 2 bytes, use -b option to extract)
Free                            : (Binary data 2014 bytes, use -b option to extract)


After:
Unknown rate                    : (Binary data 3 bytes, use -b option to extract)
Free                            : (Binary data 2013 bytes, use -b option to extract)


The files are holding the data somewhere, as when I re-read them in to PlayerPro they pull out the correct ratings, so if these are the only fields which are changing then I assume the information must be in there somewhere.

Thanks again.

Phil Harvey

What version of ExifTool are you using?  The current version should decode the 'rate' atom if it is stored in the right location.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

inhumangeek

Brilliant, updated to current version and rating percent is working perfectly (for some reason apt-get thought that 9.69 was the latest).

Many thanks.