scripts for transfering playlists between ipod and computer

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

scripts for transfering playlists between ipod and computer

Postby JSea » Thu Oct 15, 2009 7:48 pm

Hi,
I recently wrote my first MM scripts and I'm posting them here in case someone else cares to use them. The scripts offer a means of transferring playlists between an ipod and computer without creating duplicates. (While re-organizing my library I had inadvertently erased my itunes playlists, so I needed to get playlists off my ipod onto my computer, reconnect the list's old song locations to the new ones, and (after updating my ipod to the new library) place the updated playlists back onto my ipod.)

'IListTransfer2': (ipod to computer) Takes broken song links (greyed out songs) from a selected playlist and searches for an exact matches within a user-specified drive. The script uses the matches to create an identical, functioning playlist that correctly references songs within the chosen drive. Within the 'options' sheet one can define which qualities need to be matched (i.e. any combination of title, artist, album, genre, songlength) and which drive the songs should be located in. If a 'greyed' song's match can't be found, the script places the original greyed out song in it's corresponding spot within the new playlist, so the user can manually find the correct song and place it in the correct spot. (So in my case, I copied my ipod playlists to the MM playlist node, and ran this script to create identical playlists that correctly reference my music library rather than my ipod)
NOTE: This concept is similar to a very clever and more sophisticated script by Trixmoto called 'Recreate M3Us'. His script actually compensates for slight differences in tagging by guessing likely song matches. It has a remarkable level of accuracy, but do to my neurotic relationship with playlists, I couldn't take the occasional guessing error and wrote this

'IListExport': (computer to ipod) Exports a selected playlist into a txt file format that can then be imported by itunes without creating duplicates. So for me, I ran this script on my now correctly referenced playlists, and then used Itunes' Files>Library>Import Playlist . And from there I could update my ipod and transfer the playlists in itunes as normal.
NOTE: I'm using itunes 9- i don't know if other versions will work with this script. Also, there seems to be issues with itunes 9 and mediamonkey that may or may not have been fixed, so you might want to check that out before updating to 9.
NOTE:songs with accented letters didn't transfer into the itunes playlist. That was only three songs, so i fixed it manually, but I also found a roundabout method that worked (most of the time) with weird letters, so let me know if that would be useful to anyone.

Here are links for downloading the scripts
IListTransfer2: http://dl.getdropbox.com/u/2402726/IListTransfer2.mmip
IExport: http://dl.getdropbox.com/u/2402726/IListExport.mmip

cheers,
JSea
JSea
 
Posts: 3
Joined: Thu Oct 15, 2009 6:42 pm

Re: scripts for transfering playlists between ipod and computer

Postby Rednroll » Tue Dec 01, 2009 8:05 pm

Hi, I was told I might be one of the 1st to have tried out your script. I was interested in the iListTransfer2, since I have playlists on my iPod which no longer are present in MM. I downloaded the file, placed it in my MM folder and double clicked it to install it.

I then opened up MM and found the script listed in the Scripts Menu selection. Upon trying to run it, I got the following 2 errors.
Image

Click "Ok" then get the following error box.
Image

Running on Windows XP.


I know very little about programming but from the little that I do know, that looks like a signed fixed point value was returned where an unsigned value was expected.
Rednroll
 
Posts: 269
Joined: Mon Feb 02, 2009 9:11 pm

Re: scripts for transfering playlists between ipod and computer

Postby RobF » Fri Jan 22, 2010 5:12 pm

Hey JSea! Can you PM me please? I want to PayPal you some money.

I have over 2000 CD's (see www.dope.st) and a 200GB music collection and always update my 16GB iPod Nano via MediaMonkey every morning. I was tidying some stuff up 24 hours ago and highlighted a track to remove but without paying attention also highlighted my MAIN "selected items" playlist which is my definitive 14.9GB capacity playlist for a 16GB Nano that is finely tuned to the tracks I can squeeze in.

There was a prompt but I was rushing, and... well, you know the rest. Removed my main sync playlist. The most depressing moment ever. I lost it and was suicidal. Crazy to think but if you love music as much as I do and are re-jigging your playlist every damn day for travel to work in a 60+ hour week in business.... Tried the script from Trixmoto but no joy, nothing happened and thought I'd lost a detailed 16GB selection.

Then used yours (found via desperate googling) and it was like it was Christmas. Produced a playlist which had 95% matches. Am over the moon. It's like bringing a family member to life again. Just working through it matching the few non-matches but otherwise it's got the vast majority and the most depressing day of my music-listening life has just reached an unlikely salvation.

This script is AWESOME (tip: go to Tools > Options and find the script and setup the path of the DB before you run it, so it knows where to do its Columbo piece. My DB is on a network drive G. Once I told it this, it found such a large percentage and in minutes. Trixmoto's script ran for over 19 hours. Not a critique as he produces so much good stuff for MM but this is the biggest lifesaver ever.

PM me, please. :D
RobF
 
Posts: 4
Joined: Fri Jan 22, 2010 4:55 pm

Re: scripts for transfering playlists between ipod and computer

Postby RobF » Fri Jan 22, 2010 5:24 pm

Still going through the list and it's closer to 99% match than 95% match on a >3000 track 14.9GB playlist spread over 1000 albums. This guy's script is literally a blessing from god, the greatest thing I've ever got for free in my life and on my word, I will make sure he is rewarded as is not something I can even comprehend sorting out for free. Absolutely awesome. :D :D :D
RobF
 
Posts: 4
Joined: Fri Jan 22, 2010 4:55 pm

Re: scripts for transfering playlists between ipod and computer

Postby JSea » Sun Jan 24, 2010 3:04 am

Hey Rob,
Thanks for posting- it's pretty cool to know that these scripts are working for other people

I put these scripts and a paypal link on a google site (http://sites.google.com/site/jseascript/) ...I'm thinking of adding a couple of scripts that I used to deal with duplicates. (they're not very user-friendly right now...)

Rednroll- sorry about the late reply. In case youre still interested in getting the IListTransfer working- the script seems to think that you selected either 0 or more than 2147483647 songs. Could you try testing the script again with 5 or so songs highlighted from a playlist? (I just received the same error when I ran the script without selecting a playlist with songs in it) If you get another error, let me know and I'll take a look
JSea
 
Posts: 3
Joined: Thu Oct 15, 2009 6:42 pm

Re: scripts for transfering playlists between ipod and computer

Postby abhiroopb » Tue Mar 02, 2010 7:27 pm

Wow this looks like EXACTLY what I was looking for.

Basically, I lost all my playlists when I re-formatted my hard drive and I have been frantically trying to find a piece of software in windows 7 that simply copies a playlist over. Unfortunately, I've had no such luck. This looks like it is perfect!

Will try it out once I am home and update on whether it worked and how well! Many thanks!
abhiroopb
 
Posts: 68
Joined: Thu Feb 25, 2010 9:26 pm

Re: scripts for transfering playlists between ipod and computer

Postby abhiroopb » Wed Mar 03, 2010 6:39 am

I seem to be getting an error.

I have a playlist on my iPod called "Fav". There are about 2900 songs. When it hits 1454 songs I get the following error:

Error #424 - Microsoft VBScript runtime error
Object required: 'Qit.Item'
File: "C:\PROGRA~2\MEDIAM~1\Scripts\IListTransfer2,vbs", Line: 78, Column: 2

I am running Windows 7 Home x64

UPDATE: Fixed the error, looks like I had a couple of songs with errors.
abhiroopb
 
Posts: 68
Joined: Thu Feb 25, 2010 9:26 pm

Re: scripts for transfering playlists between ipod and computer

Postby abhiroopb » Wed Mar 03, 2010 10:35 am

I am having a problem with this app.

Basically, I ran it and all the songs appeared in the special playlist. How do I now link all those songs with songs in my library? Right now it seems to be linked to my iPod.
abhiroopb
 
Posts: 68
Joined: Thu Feb 25, 2010 9:26 pm

Re: scripts for transfering playlists between ipod and computer

Postby JSea » Tue Mar 09, 2010 12:32 am

Hi sorry about the late reply- that's odd that it's connecting with dead links- under the options (tools- options- IListTransfer) did you specify the drive where you want it to search for matching songs? (If you have the ipod selected then it will just match with the ipod songs....) let me know how it goes

-Josh
JSea
 
Posts: 3
Joined: Thu Oct 15, 2009 6:42 pm

Re: scripts for transfering playlists between ipod and computer

Postby abhiroopb » Tue Mar 09, 2010 1:04 am

Yes I was linking my iPod...little silly!
abhiroopb
 
Posts: 68
Joined: Thu Feb 25, 2010 9:26 pm

Re: scripts for transfering playlists between ipod and computer

Postby Yerushalmi » Tue Apr 13, 2010 1:14 am

A completely fantastic and wonderful program you've written. It took me a little while to figure out how to use it but it worked great - you saved all my playlists!
Yerushalmi
 
Posts: 21
Joined: Sun Apr 11, 2010 5:12 am

Re: scripts for transfering playlists between ipod and computer

Postby Miro » Mon May 17, 2010 6:18 am

abhiroopb wrote:I seem to be getting an error.

I have a playlist on my iPod called "Fav". There are about 2900 songs. When it hits 1454 songs I get the following error:

Error #424 - Microsoft VBScript runtime error
Object required: 'Qit.Item'
File: "C:\PROGRA~2\MEDIAM~1\Scripts\IListTransfer2,vbs", Line: 78, Column: 2

I am running Windows 7 Home x64

UPDATE: Fixed the error, looks like I had a couple of songs with errors.


Im getting a similar error however it doesnt even get past the first song.

I've changed the link from F drive (where my music is) to iTouch and back again. No difference.

Help?

Edit. Im looking to copy playlists from my iTouch to MM
Miro
 
Posts: 3
Joined: Sun May 16, 2010 7:32 am

Re: scripts for transfering playlists between ipod and computer

Postby abhiroopb » Mon May 17, 2010 10:56 pm

Miro wrote:
abhiroopb wrote:I seem to be getting an error.

I have a playlist on my iPod called "Fav". There are about 2900 songs. When it hits 1454 songs I get the following error:

Error #424 - Microsoft VBScript runtime error
Object required: 'Qit.Item'
File: "C:\PROGRA~2\MEDIAM~1\Scripts\IListTransfer2,vbs", Line: 78, Column: 2

I am running Windows 7 Home x64

UPDATE: Fixed the error, looks like I had a couple of songs with errors.


Im getting a similar error however it doesnt even get past the first song.

I've changed the link from F drive (where my music is) to iTouch and back again. No difference.

Help?

Edit. Im looking to copy playlists from my iTouch to MM



This is not a script error, well I guess it is but it is easily fixable.

Let’s say your playlist, called “jazz”, has 1000 songs in it.

First, select the jazz playlist and then click on the iListTransfer script. It should now start scanning the playlist. You should see the green bar at the bottom of the screen (just above the media control buttons) filling the bar and the number going from 0 of 1000 to 1000 of 1000.

Second, when the error appears note the number in the green bar (for example, it may say 500 of 1000).

Now you know that song number 500 (out of 1000) is the one that is causing a problem. Scroll down the iPod playlist and find song number 500 and delete it. Run the script again.

Depending on how many “corrupt” songs there are this script may give the error over and over again. Keep deleting the problem files until the whole thing transfers.
abhiroopb
 
Posts: 68
Joined: Thu Feb 25, 2010 9:26 pm

Re: scripts for transfering playlists between ipod and computer

Postby Miro » Tue May 18, 2010 9:55 pm

abhiroopb - thanks for the reply mate.

Im getting errors on nearly every song. Considering i've 2197 songs to copy over, I think i'll just have to bite the bullet and do it manually.

:-?
Miro
 
Posts: 3
Joined: Sun May 16, 2010 7:32 am

Re: scripts for transfering playlists between ipod and compu

Postby Guest » Sun Oct 10, 2010 1:15 pm

Tried to install : IListTransfer2
Got an error code: Product Installation Error.
Result-it won't install and I see neither of the scripts is MM.
Win7 - Home Ed.
Itunes not on this PC
MM 3.2
Guest
 

Next

Return to Need Help with Addons?

Who is online

Users browsing this forum: psbot [Picsearch] and 19 guests