iPlaylist Importer 1.6 - Updated 25/05/2008
Strange, that means that one of the characters can't be converted properly, but there's loads of checks in there should invalid characters shouldn't get that far. Maybe you could email me your xml file so I can test it myself?
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.
Import Help Please
I downloaded the script, exported the playlist from ITunes in XML format to my destop, the imported the playlist into MM. The playlist is there in MM and so are the songs, but when I clcik on a song it doesn't play. The text goes from black to grey.
Any help is greatly appreciated!
Any help is greatly appreciated!
This means that the track could not be found, presumably. Does the path in the track properties match where you'd expect the track to be?
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.
I'm not sure what you're asking.trixmoto wrote:This means that the track could not be found, presumably. Does the path in the track properties match where you'd expect the track to be?
When I go to Tools, Scripts, IPlaylist Importer, it asks me where I want to find the playlist. I selected Desktop, where I exported it to from ITunes and click "open". Again, it all shows up in MM but when I click on any of the songs the text goes from black to grey, the song doesn't play.
Thanks for your help! Is there another way to import purchased songs from ITunes to MM?
Oh, if they are purchased songs then MM might not be able to play them, I'm not sure. What I was asking was for you to look at the track properties and see if the filename is correct.
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.
I think I understand. It shows that the filepath in MM is still in my ITunes C Drive. Is that the problem?trixmoto wrote:Oh, if they are purchased songs then MM might not be able to play them, I'm not sure. What I was asking was for you to look at the track properties and see if the filename is correct.
If your music is still in your "ITunes C Drive" then this is where the properties in MM should be pointing. I have no idea what an M4P file is though, an ITunes playlist maybe?
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.
The m4p I found out is a right protected file used by ITunes. I'm assuming it has to be converted to an mp3 or other type of file.trixmoto wrote:If your music is still in your "ITunes C Drive" then this is where the properties in MM should be pointing. I have no idea what an M4P file is though, an ITunes playlist maybe?
I don't understand what you mean by the "properties in MM should be pointing".
Thanks again.
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.
New version (1.5) is now available to download from my website. Changes include...
- Fixed ampersand characters not appearing correctly
- Fixed unicode characters not always converted correctly
- Fixed ampersand characters not appearing correctly
- Fixed unicode characters not always converted correctly
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.
I am using version 1.5 on an Itunes 7 XML file, but the script only seems to be adding the first playlist and then stopping.
I am going to turn debug mode on and try to see what is happening.
Edit: Found the bug in your code.
The Trim() method in VB only removes spaces, not tabs.
So the compare is failing:
You should change this to:
Edit: One more thing you might want to fix, is the check if playlist is created already code, this looks inside the root playlist directory if the playlist exists already, this should really look in the "iPlaylists" child node for duplicates.
Thanks for the script, worked perfect after I made the code change above.
I am going to turn debug mode on and try to see what is happening.
Edit: Found the bug in your code.
The Trim() method in VB only removes spaces, not tabs.
So the compare is failing:
Code: Select all
If str = "</array>" Then
mode = 3
End If
Code: Select all
If InStr(str, "</array>") > 0 Then
mode = 3
End If
Edit: One more thing you might want to fix, is the check if playlist is created already code, this looks inside the root playlist directory if the playlist exists already, this should really look in the "iPlaylists" child node for duplicates.
Thanks for the script, worked perfect after I made the code change above.
Thanks for pointing these out. I'll get them resolved 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.
It checks the entire playlist tree, which is the correct behaviour.rishid wrote:One more thing you might want to fix, is the check if playlist is created already code, this looks inside the root playlist directory if the playlist exists already, this should really look in the "iPlaylists" child node for duplicates.
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.