iTunes Ogg Metadata Import
Dies ist ein kleines Progrämmchen oder besser Skript, was ein doofes Problem von iTunes unter Windows umgeht. Dass man mit Hilfe der QuickTime Components auch Ogg-Vorbis-Dateien mit iTunes abspielen kann ist schon länger bekannt. Leider zickt iTunes beim Einlesen der Metadaten wie zum Beispiel Interpret, Titel oder Album aus den Dateien. Ist auch schon bekannt (siehe QT Components FAQ). Gibt auch eine Lösung… für OS X.
Deshalb mein simpler Versuch, aus Ottos iTunes Quick Scripts, die einfacher-, aber auch genialerweise in Form einer HTML Applikation (HTA) geschrieben sind, etwas für das Problem unter Windows zu tun.
Einfach ausprobieren, Kommentare und Verbesserungsvorschläge sind erwünscht!
Now in English for all the non-Germans ![]()
Playing Ogg Vorbis with iTunes Windows is not a big thing if you know Xiph’s QuickTime Components. But you may have encountered a bug in iTunes. Well, at least that’s what I did. My neatly tagged Oggs did not reveal metadata under iTunes. This problem is known (see QT Components FAQ) and there is a script helping you out, but only working under OS X.
So I tried to find a solution for Windows experimenting with Ottos iTunes Quick Scripts and the result can be downloaded below.
Have fun and drop me a line if it doesn’t work or you have any suggestions!
iTunes OGG Metadata Import v0.3 (30. Dezember 2007) (~10kb, changelog included)
Tags: Apple, iTunes, Metadaten, Musik, OGG, QuickTime, Skript, Vorbis, Windows
07. Juli 2006 um 04:07
Funktioniert super !!!
Vielen Dank, Du hast damit ein wirklich dummes Problem geloest!
Cheers,
Andreas
24. Juli 2006 um 20:52
The script was working great for awhile — now I get “Internet Explorer Script Error: Line 160, Char 10, Erro Type mismatch Code: 0, file Desktop\iTunes OGG Metadata Import.hta” Sometimes it works fine, other times I get this error either immediately if there is already a file in the OGG playlist that has had it’s metedata re-imported, or after the first file has been processed. Any ideas?
27. Juli 2006 um 19:07
I’m very sorry, but at the moment I can’t do anything for you.
If you look at the sourcecode of the .hta you can see that line 160, char 10 is a normal whitespace which is very likely not to cause the error.
Plus: I cannot reproduce the fault on my machine.
My guess is: Either you recently installed an update for Internet Explorer or are using the latest version of iTunes (6.0.5 that is, I’m still using 6.0.4 though).
Hopefully somebody else has a clue…
25. August 2006 um 18:13
thanks much for this!
i’ve noticed that the script will still leave imported files in “Unknown Artist\Unknown Album” even though iTunes seems to create the artist/album directories. any suggestions on how to re-order this around?
thanks again
justin
25. August 2006 um 18:44
Are none of the oggs moved to their proper folders or just a few? If your problem only applies to some files, maybe the file permissions are not set properly? You can check them in the file properties in explorer.
30. September 2006 um 23:35
I had the same problem with the type mismatch error. On my system, at least, I found that it was caused by some track numbers being in the format “3/11″ instead of just “3″. To fix this, I changed the tracknumber section to:
if (comment[0] == 'tracknumber')
{
this_track_number = comment[1].split("/")
currTrack.tracknumber = this_track_number[0];
}
and that fixed it for me!
30. September 2006 um 23:37
oops. I forgot a semicolon after
comment[i].split("/");
21. Oktober 2006 um 03:40
I’m getting the line 160, char 10 error too with iTunes 7.0.1.8. I tried Klinton’s hack, but that didn’t work for me.
27. Oktober 2006 um 23:01
Hello!
Thanks for the program. Really useful.
It may sound stupid, but maybe someone else falls into it:It wasn’t working till I renamed the playlist to OGG, UPPERCASE, for all letters.
15. Februar 2007 um 16:24
Hi,
Can not download file. Help!
02. November 2007 um 20:40
Hi, der Download link ist tot, falls dir der Umstand bekannt ist, würde ich und andere gerne wissen ob es dafür einen speziellen Grund gibt. Ich wäre wirklich froh, dein Script in die Hände zu bekommen.
MFG
Ulf Dellbrügge
29. Dezember 2007 um 14:42
Hi Ulf!
Ich nehme mir endlich mal wieder Zeit für das Skript und werde den Code wie in Kommentar 6 beschrieben abändern.
Danke schonmal Klinton (thanks)!
Mehr werde ich aber erstmal nicht machen (können), denn mittlerweile habe ich Windows ade gesagt und benutze nun iTunes unter Mac OS X.
Das mit dem Download kann ich aber nicht nachvollziehen. Ich habe es mit dem Safari, Firefox und IE7 versucht und immer hat es geklappt… Merkwürdig.
25. Februar 2009 um 22:00
Hi Skorfulose, thanks for taking the time to help the rest of us! I think AlbumArtist is missing..?
25. Februar 2009 um 22:08
Hey Michael,
thanks for dropping a line
I will have a look at the script sometime to implement the album artist. Please be patient, I’m pretty busy and also do not have iTunes on Windows right now. Switched to Mac in 2006 already
Regards
25. Februar 2009 um 23:11
I have had a look at the hta file and it doesn’t look that hard. If you know what string to look for in the comment array and what tag to copy it to, I could do it and just mail you the snippet…
Or if you could give my some url’s for documents with the tag infos I could take it from there.
07. November 2009 um 19:46
Thanks so much for writing this script–it’s still the only way to do this in Windows that I’ve found.
Another field that would be great to convert is volume levels from VorbisGain; from what I can tell the field in the ogg file is labeled “replaygain_album_gain” and the itunes field is “currTrack.VolumeAdjustment”; I’m really not sure what the conversion should be from something like “-7.2 dB” to a + or – percentage though.