Export to iTunes

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Export to iTunes

Re: Export to iTunes

by djmt99 » Sat Dec 24, 2011 1:27 pm

I'd really like to give this is a shot if someone could confirm whether or not iTunes MUST be installed. As mentioned, I'm looking for just the XML so that an external program can read from it. No ITunes installed/used.

Re: Export to iTunes

by djmt99 » Wed Dec 21, 2011 5:27 pm

Does iTunes have to be installed for this script to function? As mentioned by another DJ, I too use Serato and am looking to simply export my playlists as an iTunes library/XML for Serato to read from. I just tried running the script and got:
Error #429 - Microsoft VBScript runtime error
ActiveX component can't create object: 'iTunes.Application'
File: "...\Scripts\Auto\ExportToItunes.vbs", Line: 850, Column 3
followed by
Error happened during script execution:
ActiveX component can't create object: 'iTunes.Application'
iTunes is NOT installed and I'd prefer not to, if need be. I just need the XML. I am running MM4, portable installation.

Re: Export to iTunes

by nynaevelan » Fri Oct 15, 2010 4:36 pm

Mark:

Is it possible to sync a playlist which is in itunes back into MM??

Nyn

Re: Export to iTunes

by markstuartwalker » Mon Jan 04, 2010 10:42 am

This has been superceded by http://www.mediamonkey.com/forum/viewto ... 19&t=45713

Regards
Mark

Re: Export to iTunes

by docbells » Tue Nov 17, 2009 2:33 pm

I have this working properly, as things are showing up on my iphone but only in the 000-itunes-to-convert playlist. The songs are on - but do not show up under their proper "artist" or "genre" views so they are inaccessible unless I am playing them in that playlist. Any thoughts?

Re: Export to iTunes

by xpan » Tue Nov 10, 2009 9:15 am

Hi,

I downloaded latest version of export to itunes (2.19) and i also have the latest version of iTunes. on MM I create a playlist with all tracks in my library. I select it and then select scripts->export to itunes (add). A message pops up saying that the MM playlist is added to iTunes, etc. I press OK and then another message pops up with the name of the chosen playlist I want to add to iTunes. I press OK and a final message pops up saying that there was an error concerning the 'cdate' variable (incompatible type). The message is in my locale so I can't post it here.

Am I doing something wrong? I can see the MM playlist in iTunes after that, but it is empty.

thanks.

Re: Export to iTunes

by tmchow » Mon Nov 09, 2009 11:12 am

markstuartwalker wrote:Rating and playlists are not stored in the (mp3) files. They are stored in the MM and iTunes databases.

I suggest that you backup both databases before starting and experiment with a few files to build your confidence.
huh? I know that iTunes stores ratings in it's XML but everything I've read says MM stores rating info in the POPM frame of ID3v2 tag.

Re: Export to iTunes

by markstuartwalker » Mon Nov 09, 2009 10:36 am

Rating and playlists are not stored in the (mp3) files. They are stored in the MM and iTunes databases.

I suggest that you backup both databases before starting and experiment with a few files to build your confidence.

Re: Export to iTunes

by tmchow » Sun Nov 08, 2009 10:54 pm

markstuartwalker wrote:Exactly right!

For clarification the initial design of the script was to export from MM into iTunes - mainly to sync the tracks to my iPhone (while the MM functionality was broken). I was later encouraged to expand the script to recover rating and playcounts back to MM and then further make it bidirectional.

The initial export will initialise the ratings and playcounts in iTunes to be the same as the MM values. Subsequent syncronisations equalises the ratings, playcounts and lastplayed date in each direction. The syncronisation is fast - about 6500 tracks in 30 seconds on my system.

The current code is stable and under freeze while I work out its conversion to be a proper MM device. MM devices are usually iPod, iRiver, USB memory sticks. Mine will be an iTunes instance. Watch this space!

Mark
Can you confirm that the files WON'T be touched if the ratings are the same between MM and iTunes? I want to eliminate needless changes to the files so my file backups are still efficient/effective.

Re: Export to iTunes

by markstuartwalker » Sun Nov 08, 2009 4:55 pm

Exactly right!

For clarification the initial design of the script was to export from MM into iTunes - mainly to sync the tracks to my iPhone (while the MM functionality was broken). I was later encouraged to expand the script to recover rating and playcounts back to MM and then further make it bidirectional.

The initial export will initialise the ratings and playcounts in iTunes to be the same as the MM values. Subsequent syncronisations equalises the ratings, playcounts and lastplayed date in each direction. The syncronisation is fast - about 6500 tracks in 30 seconds on my system.

The current code is stable and under freeze while I work out its conversion to be a proper MM device. MM devices are usually iPod, iRiver, USB memory sticks. Mine will be an iTunes instance. Watch this space!

Mark

Re: Export to iTunes

by nynaevelan » Sun Nov 08, 2009 2:16 pm

What you'll need to do is:

1. create a playlist in MM of all the tracks in your db and use the Export selected playlists from MM to iTunes option.
2. When you want to update the ratings/playcounts in MM that you have changed from either MM, iTunes or your ipod use the Synchronize iTunes playlists and recover playcounts option.

Before doing this make sure you have enabled the option to sync playcounts and/or ratings.

In order to make my process easier to manage I created an autoplaylist in MM to identify tracks which have changed or been played in the last 5 days. However since iTunes will be your main program, you will need to figure out a way to get a subset of the affected tracks. But since the program is really fast it should have no trouble running on all your tracks and this will keep both databases in sync.

Re: Export to iTunes

by tmchow » Sat Nov 07, 2009 2:31 am

I want to use iTunes as my primary music manager due to some integration scenarios I need, but will use MM for tag editing/management. MM currently only does iTunes ratings import after first-run, but never again after that. I need ratings in both places because I use both iTunes and Windows Media Center in my home and not having syncrhonized ratings is killing a bunch of scenarios for me.

I'm looking for a way to still rate everything in iTunes but periodically open up MM then have the ratings written out to POPM tags.

I was looking at building my own script for this, but was pointed to this script by another forum member. HOwever, I'm confused on how to use this script. I thought at first it was only used to export from MM to iTunes, but I recently read that it does both import AND export.

All that I want to do is copy ratings from iTunes to MM so MM writes out the POPM tags that Windows Media Player will read properly. Can someone tell me how this is done with this script? All I see are options for:

- Export selected playlists from MM to iTunes
- Delete selected playlists from iTunes
- Synchronize iTunes playlists and recover playcounts

Re: Export to iTunes

by nynaevelan » Thu Oct 29, 2009 9:12 am

Ok, I didn't know it was checking for changes, I was manually deleting it after the syncs. But that is a good idea. :wink:

Re: Export to iTunes

by markstuartwalker » Thu Oct 29, 2009 9:09 am

nynaevelan wrote:It's fixed and working now. :D BTW, is there a way to delete the copied playlist after the sync??
I deliberately dont delete the playlist afterwards as can be reused again in the future. There is an additional lightweight check to see if the track count is the same, if it has changed then it regenerates.

If you find that it's "in the way" then move it into a sub-folder somewhere. Provided the name is unique then it will be found next time quite happily.

Mark

Re: Export to iTunes

by nynaevelan » Thu Oct 29, 2009 5:22 am

It's fixed and working now. :D BTW, is there a way to delete the copied playlist after the sync??

Top