Page 3 of 9

Re: Export to iTunes library.xml

Posted: Wed Jan 28, 2009 6:52 pm
by nynaevelan
nynaevelan wrote:NH:

Nope, guess I skipped over that one. Thanks I will just have to accept whatever I find will not have any playcounts. Now off to search to see if it will import the playcounts from the player. Thanks.

Nyn
I was able to get this script to work in WinAmp, it doesn't work for my playlists but that is not a major problem since I needed it for the playcounts. Thanks for this, now I can use WinAmp to sync my Zen and with only a little intervention from me. :D :D Now off to import my playlists. Although it would be nice if the user was able to select where to save the export file.

Nyn

Re: Export to iTunes library.xml

Posted: Fri Mar 27, 2009 5:04 am
by nynaevelan
Is there a way to get this to save the xml file to a location of the user's choice?

Nyn

Re: Export to iTunes library.xml

Posted: Sun Mar 29, 2009 4:44 pm
by DC
nynaevelan wrote:Is there a way to get this to save the xml file to a location of the user's choice?
Ok, since you asked twice (and it was easy to do ;-) I added this small feature. You will find the updated script on the first page of this thread. It has a new option QUERY_FOLDER in the beginning. Set this to true and a browse-folder dialog will pop up when you select the menu item. This is how the options area looks like now:

Code: Select all

' Customize options below; then (re)start MM.
const ENABLE_TIMER = true ' change to false to prevent automatic exporting once per hour
const QUERY_FOLDER = false ' set tp true to be asked each time where to save the iTunes xml file

' End of options.
Just to be clear: ENABLE_TIMER should be set to false then because otherwise the browse dialog appears once every hour.

Re: Export to iTunes library.xml

Posted: Sun Mar 29, 2009 6:27 pm
by nynaevelan
DC wrote:
nynaevelan wrote:Is there a way to get this to save the xml file to a location of the user's choice?
Ok, since you asked twice (and it was easy to do ;-) I added this small feature. You will find the updated script on the first page of this thread. It has a new option QUERY_FOLDER in the beginning. Set this to true and a browse-folder dialog will pop up when you select the menu item. This is how the options area looks like now:

Code: Select all

' Customize options below; then (re)start MM.
const ENABLE_TIMER = true ' change to false to prevent automatic exporting once per hour
const QUERY_FOLDER = false ' set tp true to be asked each time where to save the iTunes xml file

' End of options.
Just to be clear: ENABLE_TIMER should be set to false then because otherwise the browse dialog appears once every hour.

Thank you, it works perfectly. I use this script on a weekly basis to update the Winamp library. Which gives me a program to listen to my music while I am beta testing in my MM library.

Are you familiar with the WMP library, could you do something similar with that as requested here.

Nyn

Re: Export to iTunes library.xml

Posted: Sun Mar 29, 2009 6:51 pm
by DC
nynaevelan wrote:Thank you, it works perfectly. I use this script on a weekly basis to update the Winamp library. Which gives me a program to listen to my music while I am beta testing in my MM library.

Are you familiar with the WMP library, could you do something similar with that as requested here.
WMP as in Windows Media Player? I try to stay away from it, so far with great success. There is no such thing as a free meal, especially when it comes from Microsoft. The Winamp library I have not used either (why would I when MM has a library and can even use Winamp as a player if necessary).

Re: Export to iTunes library.xml

Posted: Sun Mar 29, 2009 7:04 pm
by nynaevelan
True but we are converting others as fast as we can. :wink: But unfortunately other programs offer conversion tools for either WMP or iTunes so those methods are needed when you want to use your MM library data outside of MM.

Re: Export to iTunes library.xml

Posted: Sun Mar 29, 2009 7:10 pm
by nynaevelan
i'll leave you alone for now but here is some food for thought: The possibility to select whether to export tracks and/or playlists...

Nyn

Re: Export to iTunes library.xml

Posted: Sat May 02, 2009 12:49 pm
by Tylast
Songbird is giving me an error when trying to import the XML file. Songbird looks like it wants an .itl file. Can you export to that type?

Re: Export to iTunes library.xml

Posted: Sat May 02, 2009 1:40 pm
by DC
Tylast wrote:Songbird is giving me an error when trying to import the XML file. Songbird looks like it wants an .itl file. Can you export to that type?
Maybe, but I don't know the first thing about .itl. I don't even have iTunes installed. I am afraid I got no motivation to export to it, it's of no use to me. Sorry...

Re: Export to iTunes library.xml

Posted: Sat May 02, 2009 1:43 pm
by Tylast
I just found this: iTunes Library Updater. Perhaps it will work for me. It's taking a really long time to run at the moment though.

Re: Export to iTunes library.xml

Posted: Sat May 02, 2009 3:04 pm
by Tylast
Correction! Songbird only accepts the XML file. I cleaned it with app in the previous post...Songbird imported it, but none of the ratings, play count, & date added info were there. Any idea?

Re: Export to iTunes library.xml

Posted: Sun May 03, 2009 2:19 pm
by nynaevelan
I thought I would give Songbird a try to see what all the hubbub was about and of course I wanted to take my library along for the ride since it has a feature to import the itunes xml, but like iTunes Songbird also has trouble importing the tracks with special characters such as Tonéx, Beyoncé, Tony Toni Tone: Who?. I have tried to change the tag to the ASCII format but it doesn't make a difference. Is there any way to get these to export correctly so they can import into other programs? Winamp doesn't seem to have a problem with them but that is the only program I have found that works 100%.

Nyn

Re: Export to iTunes library.xml

Posted: Fri May 15, 2009 5:30 pm
by misplacedamerican
Hello,

I am using this script for it's original purpose (importing into Squeezebox) however the path created by the script is "file://localhost///192.168.1.74/" when it needs to be "file://localhost/READYNAS-PRO/" I actually think that the issue is the 2 additional "/" in the xml file and not the ipaddress vs. the server name.

Is there a place in the script that I can fix this? I know a wee bit about scripting but couldn't find anything that looked remotely obvious

Please help,

Buddy

Re: Export to iTunes library.xml

Posted: Sat Oct 03, 2009 5:56 am
by Tylast
My most recent export of my entire library worked. The issues I see are that only 5% of my library's ratings & play count ported over & none of the last played data. Also, the date added was either the last time I did the export or today when I did it again.

Any ideas?

Re: Export to iTunes library.xml

Posted: Sat Oct 03, 2009 9:42 am
by nynaevelan
Tylast wrote:My most recent export of my entire library worked. The issues I see are that only 5% of my library's ratings & play count ported over & none of the last played data. Also, the date added was either the last time I did the export or today when I did it again.

Any ideas?
It is my understanding that the script does not export the last played data and the playcounts are only updated for tracks which are not in iTunes. You either need to remove the tracks from itunes in order for them to be updated or start a new library.