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
> Replace Tags from other Tags, Moving Tags from one Tag field to Another.
ThorsonB
post Jan 3 2012, 13:35
Post #1


Member


Group: Full Members
Posts: 39
Joined: 10-July 09
From: Earth
Member No.: 10559
Mp3tag Version: 2.51



I got some music files that are a bit messed up.

Rating to be specific.

I use another program called MediaMonkey to rate my music.

Rating for MP3 songs are written to the " RATING MM " Tag, but the FLAC files ratings are written to the " RATING "..

In the RATING MM field, they use figures 0 - 5 (with increments of 0.5 for half a star rating)
In the RATING field they use 0 - 100 (with increments of 10 for half a star rating)

I want to have Mp3Tag convert and have the rating in both fields

P.s. What tag does iTunes read for music ratings? I would love to have them written so iTunes can see my ratings from other programs.


--------------------
One Good thing about Music, When it Hits you feel no pain! - Bob Marley
Go to the top of the page
 
+Quote Post
stevehero
post Jan 3 2012, 22:42
Post #2


Member


Group: Full Members
Posts: 572
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.64



QUOTE (ThorsonB @ Jan 3 2012, 12:35) *
In the RATING MM field, they use figures 0 - 5 (with increments of 0.5 for half a star rating)
In the RATING field they use 0 - 100 (with increments of 10 for half a star rating)

What i would do is create a group action called RATING MM to RATING CONVERSION and vice-versa.
To do this create and action to format the RATING with the RATING MM value, then change that value e.g. 0.5 to 10 and so on...

E.G.

Action #1
action type: format
format: RATING
value: %rating_mm% (check this)

Action #2
action type: replace
field: RATING MM
replace: 0.5
with: 10

Action #3
action type: replace
field: RATING MM
replace: 1.0
with: 20

Action #4
action type: replace
field: RATING MM
replace: 1.5
with: 30

Continue to do this with RATING MM values from 2.0 to 5.0.

I hope this works. I'm on my phone ATM so havent had a chance to test this.

If it does then repeat a similar process called 'RATING to RATING MM CONVERSION'

QUOTE (ThorsonB @ Jan 3 2012, 12:35) *
P.s. What tag does iTunes read for music ratings? I would love to have them written so iTunes can see my ratings from other programs.

It stores it in the itunes 'Library.xml' file. I noticed to my despair before transfering songs which had there stars shown that they no longer had them on a newly formated HD. But there is ways round that by keeping the same root drive and folder structure for your tunes and then loading the pre saved .xml into itunes.

But I decided instead to simply put the rating 0-6 (6 for bangers smile.gif in the COMMENT tag. That way every programme can see it. An e.g. of my COMMENT tag would be '5 - 2A' So the '5' is the rating and the '2A' is the key of the song. Put this with itunes smartlist and BOOM a very organised collection. smile.gif


--------------------
▶✚♬ ═‎​ ♡
Go to the top of the page
 
+Quote Post
ohrenkino
post Jan 4 2012, 10:42
Post #3


Member


Group: Full Members
Posts: 4685
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.64



ZITAT(stevehero @ Jan 3 2012, 22:42) *
What i would do is create a group action called RATING MM to RATING CONVERSION and vice-versa.
To do this create and action to format the RATING with the RATING MM value, then change that value e.g. 0.5 to 10 and so on...

It looks to me as though you simply would have to multiply RATING with 20
So you could do it in one go if you only use whole numbers (no decimals):
Format tag %rating mm%
$mul(%rating%,20)


--------------------
42 - wie war die Frage / what was the question / comment était la question
Go to the top of the page
 
+Quote Post
stevehero
post Jan 4 2012, 13:22
Post #4


Member


Group: Full Members
Posts: 572
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.64



QUOTE (ohrenkino @ Jan 4 2012, 09:42) *
So you could do it in one go if you only use whole numbers (no decimals):
Format tag %rating mm%
$mul(%rating%,20)

But there always is that slight possiblilty that he might want to use .5 increments in the RATING MM field.

It wont take to long to set this up. Create action #1. Create action #2, while still selected hit dupilate 10 times and change the value on each to suit.


--------------------
▶✚♬ ═‎​ ♡
Go to the top of the page
 
+Quote Post
ohrenkino
post Jan 4 2012, 15:28
Post #5


Member


Group: Full Members
Posts: 4685
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.64



ZITAT(stevehero @ Jan 4 2012, 13:22) *
But there always is that slight possiblilty that he might want to use .5 increments in the RATING MM field.

It wont take to long to set this up. Create action #1. Create action #2, while still selected hit dupilate 10 times and change the value on each to suit.

I just learnt something new:
If you remove the decimal separator (which sort of multiplies the value with 10) and then multiply the value with 2 you have it in one go for all values:

$mul($replace(%rating%,'.',),2)


--------------------
42 - wie war die Frage / what was the question / comment était la question
Go to the top of the page
 
+Quote Post
stevehero
post Jan 4 2012, 15:46
Post #6


Member


Group: Full Members
Posts: 572
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.64



QUOTE (ohrenkino @ Jan 4 2012, 14:28) *
I just learnt something new:
If you remove the decimal separator (which sort of multiplies the value with 10) and then multiply the value with 2 you have it in one go for all values:

$mul($replace(%rating%,'.',),2)

Happy days. Great comeback wink.gif

This programme just gets better and better. That might be very usefull sometime.


--------------------
▶✚♬ ═‎​ ♡
Go to the top of the page
 
+Quote Post
ThorsonB
post Jan 21 2012, 17:21
Post #7


Member


Group: Full Members
Posts: 39
Joined: 10-July 09
From: Earth
Member No.: 10559
Mp3tag Version: 2.51



LATE reply, now gonna attempt to do this.

Was on "vacation" with the kids......
Now back to hoarding music on my computer.


--------------------
One Good thing about Music, When it Hits you feel no pain! - Bob Marley
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: 2nd October 2014 - 15:28