MusicIP Tagger 2.0 - Updated 28/07/2012
-
- Posts: 223
- Joined: Sun Apr 29, 2007 9:45 pm
Re: MusicIP Tagger 1.0 [MM3]
im keen on trying this out, I've used MusicIP and have got it to assign PUID to my tracks is there a way to import that or would i need to do a full scan?
I'll just wait until i hear less problems before i start foolin around with it, im usually a poor tester
I'll just wait until i hear less problems before i start foolin around with it, im usually a poor tester
Re: MusicIP Tagger 1.0 [MM3]
At the moment there is no way to use existing PUIDs - where do you have these stored? There is more work to be done on this script, but I'm struggling to find time these days.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: MusicIP Tagger 1.0 [MM3]
Any word on development? It would be great to not need to use so many different apps to manage my music. Having to separately run MusicIP/MusicBrainz proggies alongside MediaMonkey is rather tedious!
Re: MusicIP Tagger 1.0 [MM3]
This script is on my list to be developed, but unfortunately at the moment there are other scripts that have been on there longer! I will get round to it when I find a bit more spare time though.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: MusicIP Tagger 1.0 [MM3]
I'm having the same problem with the script error.
Through the use of other, less advanced, programs, my digital music collection has fallen into severe disrepair, and I have a lot of MP3s that are duplicates, and others that are incorrectly labeled. (Like the Artist, Album, and Title are all the same) I'm hoping that this script will help me to correctly tag all of the songs, but when I select any number (from one to all of the songs), I eventually get the script error.
Once I have correctly tagged all of my music, I hope to use Trix's duplicate report script to find and delete duplicates.
Please get this script working 100%
PS... Has anyone here used Picard to do the same thing as this script? Can you alphabetize the right pane in Picard? I ran it once, and it did its thing on all my MP3s, but I couldn't sort the right pane by A-Z, so it was really hard to place the unmatched files where they belong. I was able to get everything matched once, but now Picard crashes if I search my whole MP3 folder. Any help? Thanks!
Through the use of other, less advanced, programs, my digital music collection has fallen into severe disrepair, and I have a lot of MP3s that are duplicates, and others that are incorrectly labeled. (Like the Artist, Album, and Title are all the same) I'm hoping that this script will help me to correctly tag all of the songs, but when I select any number (from one to all of the songs), I eventually get the script error.
Once I have correctly tagged all of my music, I hope to use Trix's duplicate report script to find and delete duplicates.
Please get this script working 100%
PS... Has anyone here used Picard to do the same thing as this script? Can you alphabetize the right pane in Picard? I ran it once, and it did its thing on all my MP3s, but I couldn't sort the right pane by A-Z, so it was really hard to place the unmatched files where they belong. I was able to get everything matched once, but now Picard crashes if I search my whole MP3 folder. Any help? Thanks!
Re: MusicIP Tagger 1.0 [MM3]
Sorry I've not found much time for scripting in the past few weeks. It is still on my list though and will get worked on when I can find some spare time!
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 13
- Joined: Sun Sep 14, 2008 6:59 pm
Re: MusicIP Tagger 1.0 [MM3]
Are there any news on this project? I would be pleased to have a fully functional version of this script!
Greets
John
Greets
John
Re: MusicIP Tagger 1.0 [MM3]
The news is still the same, sorry.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: MusicIP Tagger 1.0 [MM3]
I found the reason for errors around line 240: it's simply that for some songs not all pieces of information (title, artist, year, genre) are available, but the scripts expects all of the 4 items in a fixed order.
So you can change this piece of code to get the items by name and to jump over non-existing ones - quick and dirty
Now it works fine for me (in spite of several 'unanalyzable' songs). Thanks to trixmoto!
So you can change this piece of code to get the items by name and to jump over non-existing ones - quick and dirty
Code: Select all
on error resume next
'ttl = GetText(trk.ChildNodes.Item(0)) <<< original code
ttl = GetText(trk.getElementsByTagName("title").Item(0))
art = GetText(trk.getElementsByTagName("artist").Item(0).ChildNodes.Item(0))
rel = GetText(trk.getElementsByTagName("first-release-date").Item(0))
gen = GetText(trk.getElementsByTagName("genre-list").Item(0).ChildNodes.Item(0).ChildNodes.Item(0))
on error goto 0
Sync Back Ratings & Play Count, Sync stats for Android PlayerPro XML, Import music stats from Songbird XML
Recognize badly mastered music - detect clipping and compression
MMW Gold since 2009, MMA Pro since 2014.
Recognize badly mastered music - detect clipping and compression
MMW Gold since 2009, MMA Pro since 2014.
Re: MusicIP Tagger 1.0 [MM3]
Thanks for taking a look at this - I'll try to get it fixed in the next version.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: MusicIP Tagger 1.0 [MM3]
I can confirm changing the code a bit as suggested by Aff does solve the 'line 240' problem. Great!
Re: MusicIP Tagger 1.0 [MM3]
I found a simple solution for unanalyzable tracks: the file mipcore.exe from musicip is missing!
See http://forums.musicip.com/index.php?showtopic=2780
You can register there to download the file.
@trixmoto: could you please include the file?
There remain some problems with special characters. The generated XML is UTF-8, except the track file. When reading the XML via the filesystemobject, all special characters can not be transformed properly, so instead of e.g. "é" the tag would be written with "é".
An example (MIPT.xml):
<track file="X:\test\11 - Mylène Farmer - Desenchantee.mp3" puid="9caebabc-016f-4ef4-f91d-a7177b774da7">
<title>Désenchantée</title>
<artist>
<name>Mylène Farmer</name>
Instead of LoadXML you could use Load to read the file directly, which reads and transforms special characters correctly:
But this doesn't work because the namespace prefix is not defined in the XML. Well, it can be overcome by rewriting the XML without "mips:", similar to trixmotos solution.
But Load doesn't work with track file names containing special characters!
Perhaps trixmoto or anyone else has got an idea how to solve this?
See http://forums.musicip.com/index.php?showtopic=2780
You can register there to download the file.
@trixmoto: could you please include the file?
There remain some problems with special characters. The generated XML is UTF-8, except the track file. When reading the XML via the filesystemobject, all special characters can not be transformed properly, so instead of e.g. "é" the tag would be written with "é".
An example (MIPT.xml):
<track file="X:\test\11 - Mylène Farmer - Desenchantee.mp3" puid="9caebabc-016f-4ef4-f91d-a7177b774da7">
<title>Désenchantée</title>
<artist>
<name>Mylène Farmer</name>
Instead of LoadXML you could use Load to read the file directly, which reads and transforms special characters correctly:
Code: Select all
xml.Load(dat)
But Load doesn't work with track file names containing special characters!
Perhaps trixmoto or anyone else has got an idea how to solve this?
Sync Back Ratings & Play Count, Sync stats for Android PlayerPro XML, Import music stats from Songbird XML
Recognize badly mastered music - detect clipping and compression
MMW Gold since 2009, MMA Pro since 2014.
Recognize badly mastered music - detect clipping and compression
MMW Gold since 2009, MMA Pro since 2014.
Re: MusicIP Tagger 1.0 [MM3]
OK, here is a solution (or rather kind of a workaround) for special characters, simply by reading and rewriting the MIPT.xml without track file name and namespace prefix and then reading the XML with Load.
Code: Select all
Dim fil : Set fil = fso.OpenTextFile(dat,1,True)
dim s: s = Replace(fil.ReadAll,"mip:","")
Dim iPF: iPF = InStr(s, "file=") - 1
If iPF > 0 Then
Dim iPP: iPP = InStr(Mid(s, iPF + 7), """") + iPF + 8
s = Left(s, iPF) & Mid(s, iPP)
End If
fil.Close()
Set fil = fso.OpenTextFile(dat,2,True)
fil.Write(s)
fil.Close()
Call xml.Load(dat)
'Call xml.LoadXML(Replace(fil.ReadAll,"mip:","")) <<< original
Sync Back Ratings & Play Count, Sync stats for Android PlayerPro XML, Import music stats from Songbird XML
Recognize badly mastered music - detect clipping and compression
MMW Gold since 2009, MMA Pro since 2014.
Recognize badly mastered music - detect clipping and compression
MMW Gold since 2009, MMA Pro since 2014.
Re: MusicIP Tagger 1.0 [MM3]
Thanks for investigating this - I will certainly look at including the file and your fix/workaround in the next version of this script.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.