Help - Search - Members - Calendar
Full Version: Feature Request - iTunes Tag Source?
Mp3tag Forums > Mp3tag - International > General Discussion
peteyt
Hi there

I am new to Mp3tag and firstly would like to say what a great program this is. I run a licensed student radio and a while back a load of music was corrupt and many files lost their metadata - Mp3tag made it a lot easier with the use of it's tag sources to retrieve the correct tags and to fix the files.

I have noticed however a lot of tracks on iTunes that aren't on any of the other tag sources which means finding them can be tricky, usually need to manually add most of the data.

Would there be a way to include the iTunes database to retrieve the information or does Apple not allow for this?

Thanks

ohrenkino
ZITAT(peteyt @ May 23 2012, 04:16) *
...
Would there be a way to include the iTunes database to retrieve the information or does Apple not allow for this?

Thanks

Do you mean the local iTunes database? AFAIK it is possible to create an XML export. As this behaves like plain text you should be able to create a suitable text file to import with MP3tag.

...
pone
itunes does provide an API (Application programming interface), so it should be possible.

http://www.apple.com/itunes/affiliates/res...search-api.html

Have a look at the search and lookup examples given there. These are the pages which must be parsed by Mp3tag.
But it would be a little bit of work to get it going.

As for the legal aspects, i think it's ok. The preview button would provied a direct link to their store page as they demand.
pone
I'm working on it. Looks good!

laugh.gif
pone
Here is the first version.
Tested a few releases and artists, seems to work.

Written tag fields:
COVER; ALBUMARTIST; ALBUM; YEAR; PUBLISHER; GENRE; ARTIST; TITLE; TRACK

The cover picture is always only 100x100 pixels.

The PUBLISHER tag field is not always written in as one company. Ofter there is additional information.

For the TITLE tag field I have picked "trackCensoredName" instead of "trackName". According to itunes' description, the the diference should be that rude words are replaced by * (like "S**t Happens"). But I have detected some examples, where the "trackCensoredName" has the version name of the title (like "Title (Club Mix)" or "Title (Trentemøller Remix)") and "trackName" has not.
Example:
http://itunes.apple.com/us/album/reworked-...xed/id471858839
http://itunes.apple.com/lookup?id=471858839&entity=song

The GENRE tag field displays only one main genre (like "Electronic"). The HTML pages have the more than one genre and more defined genre names (like "Electronic, Music, Dance, Techno, Ambient, House") The API has not (at least I don't know how to display it).
See the example above.

For the YEAR tag field, I was not able to get the original year when there are remastered versions on iTunes. The HTML pages have the original year. The API has not (at least I don't know how to display it).
Example:
http://itunes.apple.com/us/album/hunky-dor...ered/id14684243
http://itunes.apple.com/lookup?id=14684243&entity=song


Please give me feeback if you spot some problems.
Everybody is invited to develop and modify this script.

EDIT:
see web sources forum for the finished script
ohrenkino
boah ey! ohmy.gif Super
peteyt
QUOTE (pone @ May 23 2012, 15:44) *
Here is the first version.
Tested a few releases and artists, seems to work.

Written tag fields:
COVER; ALBUMARTIST; ALBUM; YEAR; PUBLISHER; GENRE; ARTIST; TITLE; TRACK

The cover picture is always only 100x100 pixels.

The PUBLISHER tag field is not always written in as one company. Ofter there is additional information.

For the TITLE tag field I have picked "trackCensoredName" instead of "trackName". According to itunes' description, the the diference should be that rude words are replaced by * (like "S**t Happens"). But I have detected some examples, where the "trackCensoredName" has the version name of the title (like "Title (Club Mix)" or "Title (Trentemøller Remix)") and "trackName" has not.
Example:
http://itunes.apple.com/us/album/reworked-...xed/id471858839
http://itunes.apple.com/lookup?id=471858839&entity=song

The GENRE tag field displays only one main genre (like "Electronic"). The HTML pages have the more than one genre and more defined genre names (like "Electronic, Music, Dance, Techno, Ambient, House") The API has not (at least I don't know how to display it).
See the example above.

For the YEAR tag field, I was not able to get the original year when there are remastered versions on iTunes. The HTML pages have the original year. The API has not (at least I don't know how to display it).
Example:
http://itunes.apple.com/us/album/hunky-dor...ered/id14684243
http://itunes.apple.com/lookup?id=14684243&entity=song


Please give me feeback if you spot some problems.
Everybody is invited to develop and modify this script.


Thanks for the reply. I'm new to the program - how would I use the script?
pone
ZITAT(peteyt @ May 23 2012, 17:58) *
Thanks for the reply. I'm new to the program - how would I use the script?


script installation & usage:
1. download the .src file
2. move the file into this folder: %appdata%\Mp3tag\data\sources
(just copy&paste this into windows explorer adress bar)
3. run the script from Mp3Tag with this button:
pone
I made a extra topic for the script for download and further discussion:
http://forums.mp3tag.de/index.php?showtopic=15726
peteyt
QUOTE (pone @ May 24 2012, 13:20) *
I made a extra topic for the script for download and further discussion:
http://forums.mp3tag.de/index.php?showtopic=15726


Do you think the developers would ever think of adding this as a default with all the other sources - would be handy.
pone
ZITAT(peteyt @ May 24 2012, 17:16) *
Do you think the developers would ever think of adding this as a default with all the other sources - would be handy.


I don't know. It doesn't matter, that's what the Web Sources Scripts forum is here for. Once you have downloaded the script from there and moved it into the correct folder, there is not difference to the ones that were there as default.
Newyouth
QUOTE (pone @ May 24 2012, 00:15) *
script installation & usage:
1. download the .src file
2. move the file into this folder: %appdata%\Mp3tag\data\sources
(just copy&paste this into windows explorer adress bar)
3. run the script from Mp3Tag with this button:


hi,
at the first, very thanks you to made a itunes.src!
I move the itunes.src to my \Mp3tag\data\sources, but re-run the Mp3tag I can't find this in source button, I don't why...
please help me. thanks!
ohrenkino
ZITAT(Newyouth @ Mar 28 2014, 08:04) *
hi,
at the first, very thanks you to made a itunes.src!
I move the itunes.src to my \Mp3tag\data\sources, but re-run the Mp3tag I can't find this in source button, I don't why...
please help me. thanks!

see
http://forums.mp3tag.de/index.php?showtopic=976
to check where to put the files.
Newyouth
QUOTE (ohrenkino @ Mar 28 2014, 15:40) *
see
http://forums.mp3tag.de/index.php?showtopic=976
to check where to put the files.


thank for you reply.
I find the reason, because my Mp3tag folder isn't in C:\Program files, I try to reinstall Mp3tag, then OK.
poster
ZITAT(Newyouth @ Mar 28 2014, 17:21) *
thank for you reply.
I find the reason, because my Mp3tag folder isn't in C:\Program files, I try to reinstall Mp3tag, then OK.

Your MP3Tag-program-folder has nothing to do with the location of the sources-folder.
Your personal settings, data and sources are located in your user-profile. The exact location depends an which windows-version you use.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.