IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Saving Itunes rating and counter
ridurand
post Sep 22 2006, 19:01
Post #1


Member


Group: Members
Posts: 4
Joined: 21-September 06
Member No.: 3708
Mp3tag Version: 2.36



Hi,

Fisrt thanks for that wonderful soft ! After trying audiograil, godfather and tag & rename, I really appreciate using Mp3tag.

I wanted to know if it's possible to save itunes rating and counter in V2.3 tags ? And how can I do that ? I heard of POPULARIMETER tags but don't know how it works or make it works.

http://forums.mp3tag.de/index.php?act=...e=popularimeter

Thank you very much for your answer

This post has been edited by ridurand: Sep 22 2006, 22:32
Go to the top of the page
 
+Quote Post
dano
post Sep 22 2006, 22:53
Post #2


Moderator


Group: Moderators
Posts: 5688
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.65



May I ask what's the purpose of this?


--------------------
Go to the top of the page
 
+Quote Post
ridurand
post Sep 22 2006, 23:06
Post #3


Member


Group: Members
Posts: 4
Joined: 21-September 06
Member No.: 3708
Mp3tag Version: 2.36



Well sorry if it wasn't clear

I heard of POPM ; popularimeter tags. I heard that you can stock in them ratings and counters.
In Itunes, you can rate music and count the number of times a mp3 has been read, but I don't know where theses informations are stocked, if they are stocked in popularimeter tag ?
Can you please explain me how can I display the popularimeter tags using mp3tag ?

This post has been edited by ridurand: Sep 22 2006, 23:26
Go to the top of the page
 
+Quote Post
dano
post Sep 22 2006, 23:43
Post #4


Moderator


Group: Moderators
Posts: 5688
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.65



Yes, this tag can store play count and rating, but iTunes doesn't use it. The info from iTunes is only stored in its database.

If you had a file with a popularimeter tag, it could be seen in the extended tag view that can be opened by pressing [Alt+T] or clicking the mt_tag.png button.

If you still want to have this info in the tag, it could probably work because iTunes can export the database to csv.


--------------------
Go to the top of the page
 
+Quote Post
ridurand
post Sep 23 2006, 11:27
Post #5


Member


Group: Members
Posts: 4
Joined: 21-September 06
Member No.: 3708
Mp3tag Version: 2.36



OK thanks

So, how can I create the standard popularimeter tag (no@email|205|0) and, using the itunes database export, do you please know how I can do to import the itunes infos in popularimeter tags for my whole library ? I have an idea, using List of tags - File -> Tags but it would be very long, doing that mp3 by mp3. Is it possible to do that massively ?

Thank you for your answer
Go to the top of the page
 
+Quote Post
dano
post Sep 23 2006, 14:40
Post #6


Moderator


Group: Moderators
Posts: 5688
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.65



Yes, List of tags - File - tags (or Text file - Tag is the new name) is how it can be done. It works for all the files at one time.

The steps are:
Have all files shown in the itunes library. Then click "File > Export" and choose the txt format.

The new textfile then needs to be renamed to .csv and importet in a spreadsheet program like Excel or OpenOffice.

In the spreadsheet program we go to the column with the file paths on the right and select all its entries and copy to clipboard. Then make a new normal text file in windows and paste the info.
This text file then gets renamed to *.m3u

Again in the spreadsheet program we serch the two coumns with the play count and rating info.
We make a new spreadsheet file and paste the two columns in it. This spreadsheet then gets exported to csv, with coma as text delimiter.

Now we can load the m3u-file in Mp3tag (that makes sure the files are in the same order as the play count and rating info).
Select all files, open "Convet > Text file - Tag" and browse for the csv file with play count and rating.
I suggest to use 2 temporary fields first before finally using popularimeter.
The format string could be
%play count%,%rating%

Finally you have all the info stored in %play count% and %rating% and can use them to fill %popularimeter% with a "Format value" action.

smile.gif


--------------------
Go to the top of the page
 
+Quote Post
ridurand
post Sep 23 2006, 17:20
Post #7


Member


Group: Members
Posts: 4
Joined: 21-September 06
Member No.: 3708
Mp3tag Version: 2.36



Well you know what ?

IT IS HUGEMOUS !!!

I tried what you told me and used mediamonkey to check what I did (as I read mediamonkey used popularimeter tag) and it works perfectly for rating ! When I modify rating in mediamonkey and refresh tags in mp3tag, rating is modified in mp3tag, and conversely. But for counter, it doesn't work maybe because mediamonkey doesn't use the part "counter" of the popularimeter tag...
Anyway, what I wanted was to find a standard way to stock ratings and counters and I have now the answers to my questions ! Hope that Itunes will use popularimeter tag in the future !

Thank you for that "excellentissime" software and thank you very much DANO for your help !
Go to the top of the page
 
+Quote Post
cooterfrog
post Sep 28 2006, 21:12
Post #8


Member


Group: Full Members
Posts: 20
Joined: 4-April 06
Member No.: 2968
Mp3tag Version: 2.37b



QUOTE (ridurand @ Sep 23 2006, 11:27) *
OK thanks

So, how can I create the standard popularimeter tag (no@email|205|0) and, using the itunes database export, do you please know how I can do to import the itunes infos in popularimeter tags for my whole library ? I have an idea, using List of tags - File -> Tags but it would be very long, doing that mp3 by mp3. Is it possible to do that massively ?

Thank you for your answer


Easier way
this is a javascrit I wrote it runs on itunes (this is itunes windows)

it takes the rating from the itunes library and divides it by 20 ( rating of 5 is stored as 100 in the database) then saves it in the bpm and comment fields

I choses those fields becasue they do exist initunes and I dot use them otherwise.
it would be easy to do a tag to tag mappin and move them to popularity tag.

it would also be easy to do ther reverse. add them to the library and then run this script and move the bpm back into the rating

#start
var iTunesApp = WScript.CreateObject("iTunes.Application");
var mainLibrary = iTunesApp.LibraryPlaylist;
var mainLibrarySource = iTunesApp.LibrarySource;
var tracks = mainLibrary.Tracks;
var numTracks = tracks.Count;
var i;
var j;
WScript.Echo("copying ratngs to comments");
// FIXME take a -v parameter eventually
var verbose = false;

// first, make an array indexed by album name
var albumArray = new Array();

for (i = 1; i <= numTracks; i++)
{
var CurrTrack = tracks.Item(i);
var rating= CurrTrack.rating;

if (rating != 0)
{
CurrTrack.comment ="rating:"+rating/20
CurrTrack.bpm =rating/20
j++


}
}
WScript.Echo("updated " + j+ " comments.");
#end
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 04:48