Export to iTunes library.xml

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: Export to iTunes library.xml

Postby Tylast » Sat Oct 03, 2009 12:52 pm

Gotcha. I forgot to delete iTunes XML & ITL files first. Re-did it. All ratings & playcounts there! After iTunes re-indexes all the files, I'm gonna try this script to get the last played data.
Image
Tylast
 
Posts: 130
Joined: Sun Jan 29, 2006 12:54 pm
Location: US

Re: Export to iTunes library.xml

Postby Sizzly » Tue Jan 05, 2010 10:18 pm

Greetings!

I was running 3.1.x and now I'm running 3.2.x and I don't see the script. I've tried everything in this thread to try and get this script working 'cause I needs it.

Nothing.

Thoughts? What information do you need from me to help troubleshoot the issue?
Sizzly
 
Posts: 106
Joined: Mon Apr 27, 2009 8:46 pm
Location: Worcester, MA

Re: Export to iTunes library.xml

Postby nynaevelan » Wed Jan 06, 2010 6:20 am

What kind of problems are you having>
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Export to iTunes library.xml

Postby Sizzly » Wed Jan 06, 2010 7:53 am

I don't see the script in any of the menus available. I've tried changing the timer value to true and false and still the script isn't visible.
Sizzly
 
Posts: 106
Joined: Mon Apr 27, 2009 8:46 pm
Location: Worcester, MA

Re: Export to iTunes library.xml

Postby nynaevelan » Wed Jan 06, 2010 8:26 am

Did you put the info in the scripts.ini file??
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Export to iTunes library.xml

Postby Sizzly » Wed Jan 06, 2010 9:14 am

I did. Scripts.ini and I put the script in the scripts/auto folder.
Sizzly
 
Posts: 106
Joined: Mon Apr 27, 2009 8:46 pm
Location: Worcester, MA

Re: Export to iTunes library.xml

Postby Sizzly » Wed Jan 06, 2010 10:00 am

Okay. I just tried it on an XP OS and I can see the script.

Any thoughts about why it wouldn't show up when running Vista?
Sizzly
 
Posts: 106
Joined: Mon Apr 27, 2009 8:46 pm
Location: Worcester, MA

Re: Export to iTunes library.xml

Postby nynaevelan » Wed Jan 06, 2010 10:05 am

Vista has that annoying UAC, try running MM as an administrator and then reinstalling the script. You should then be able to run MM as normal and have the script visible.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Export to iTunes library.xml

Postby Sizzly » Wed Jan 06, 2010 6:17 pm

That was it!

I had to run MM in Administrator mode to get it to register the script. It works beautifully.

Many thanks!
Sizzly
 
Posts: 106
Joined: Mon Apr 27, 2009 8:46 pm
Location: Worcester, MA

Re: Export to iTunes library.xml

Postby kevinchg » Thu Oct 07, 2010 12:53 pm

This scripts has some problem ,
it can correctly export chinese, japanese...asian character,
itunes actually use UTF-8 t0 code the path and filename,
not codepage in this scripts.
sincerely
kevinchg
 
Posts: 9
Joined: Thu Oct 07, 2010 12:47 pm

Re: Export to iTunes library.xml

Postby nynaevelan » Thu Oct 07, 2010 2:21 pm

This script is no longer in production, mark has a new plugin which exports/imports to itunes.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Export to iTunes library.xml

Postby DC » Thu Oct 07, 2010 3:48 pm

kevinchg wrote:This scripts has some problem ,
it can correctly export chinese, japanese...asian character,
itunes actually use UTF-8 t0 code the path and filename,
not codepage in this scripts.
sincerely


I suppose you mean "it cannot correctly export..". Actually, this was reported before in this thread. To tell the truth I could not get myself to touch vbscript again. But if you provide an example, and also show actual vs expected result, I would look into it. As far as I know any unicode character with a codepoint like 23456 (whatever that is) could be encoded as &x23456; - that's what the script does.

DC
DC
 
Posts: 89
Joined: Sat Jul 24, 2004 1:01 pm

Re: Export to iTunes library.xml

Postby kevinchg » Thu Oct 07, 2010 9:53 pm

Tet's see following ,
I use your scipts to generate the iTunes XML,
for thinese MP3 stored in chinese path and file name, all tags information are coded in codepoint type,
so does the file path.

[ Traditional Chinese file and chinese path --Generated by DC's scripts]

Name</key><string>&#19968;&#35328;&#38627;&#30433;</string>
<key>Artist</key><string>&#36842;&#20811;&#29275;&#20180;</string>
<key>Album Artist</key><string>1998&#24180;&#24230;&#22283;&#35486;&#32317;&#20896;&#36557;</string>
<key>Album</key><string>1998&#24180;&#24230;&#22283;&#35486;&#32317;&#20896;&#36557;</string>
<key>Location</key><string>file://localhost/E:/Data/Select%20Music/MP3%20128K/%u570B%u8A9E%u6D41%u884C/1998%u5E74%u5EA6%u570B%u8A9E%u7E3D%u51A0%u8ECD/1998%u5E74%u5EA6%u570B%u8A9E%u7E3D%u51A0%u8ECD/%u4E00%u8A00%u96E3%u76E1.mp3</string>
.......................

And if I generated the XML by using iTunes base on same filea and path (also in chinese naming),
the XML looks like following, we can see from the path , it should be coded in UTF8 instead of codepoint.

[ Chinese file and chinese path --Generated by native iTunes Library process]
<key>Track ID</key><integer>194</integer>
<key>Name</key><string>一言難盡</string>
<key>Artist</key><string>迪克牛仔</string>
<key>Album Artist</key><string>1998年度國語總冠軍</string>
<key>Album</key><string>1998年度國語總冠軍</string>

<key>Location</key><string>file://localhost/E:/Data/Select%20Music/MP3%20128K/%E5%9C%8B%E8%AA%9E%E6%B5%81%E8%A1%8C/1998%E5%B9%B4%E5%BA%A6%E5%9C%8B%E8%AA%9E%E7%B8%BD%E5%86%A0%E8%BB%8D/1998%E5%B9%B4%E5%BA%A6%E5%9C%8B%E8%AA%9E%E7%B8%BD%E5%86%A0%E8%BB%8D/%E4%B8%80%E8%A8%80%E9%9B%A3%E7%9B%A1.mp3</string>

By the way , if I choose a English file with Chinese path, and generate XML by DC's scripts,
it looks like this:

[ Englisj file and chinese path --Generated by DC's Scripts],
the song is ABBA's Mamma Mia,

<key>Track ID</key><integer>5</integer>
<key>Name</key><string>Mamma Mia [1975]</string>
<key>Artist</key><string>ABBA</string>
<key>Composer</key><string>Anni-Frid Lyngstad; Benny Andersson; Bj&#246;rn Ulvaeus; Stig Anderson</string>
<key>Album Artist</key><string>ABBA</string>
<key>Album</key><string>Gold: Greatest Hits</string>
<key>Kind</key><string>MPEG audio file</string>
<key>Size</key><integer>3438811</integer>
<key>Genre</key><string>&#35199;&#27915;&#27969;&#34892;</string>
<key>Total Time</key><integer>213577</integer>
<key>Track Number</key><integer>4</integer>
<key>Rating</key><integer>100</integer>
<key>Year</key><integer>1992</integer>
<key>Date Modified</key><date>2010-08-30T18:45:03</date>
<key>Date Added</key><date>2010-10-08T00:31:49</date>
<key>Bit Rate</key><integer>128</integer>
<key>Sample Rate</key><integer>44100</integer>
<key>Track Type</key><string>File</string>
<key>File Folder Count</key><integer>-1</integer>
<key>Library Folder Count</key><integer>-1</integer>
<key>Location</key><string>file://localhost/E:/&#35199;&#27915;/ABBA/Gold-%20Greatest%20Hits/Mamma%20Mia%20%5B1975%5D.mp3</string>
</dict>

Attach the Chinese (Traditional Taiwan format) for your reference if needed,
http://www.mediafire.com/?ulesbwg6h5l5555

You scripts is great, especially for me, I personally hate iTunes, it can not read Flac and other file types,
If I can bypass it and generate XML in your great scripts, used by other application( include Flac, I actually test it and it works),
that's fantastic ,
but it's a pity, encounter Asian character issues.
Sincerely
kevinchg
 
Posts: 9
Joined: Thu Oct 07, 2010 12:47 pm

Re: Export to iTunes library.xml

Postby kevinchg » Thu Oct 07, 2010 10:06 pm

nynaevelan wrote:This script is no longer in production, mark has a new plugin which exports/imports to itunes.


Thanks for the information,
I know that plugin, and actually I've try it couple days ago,
however , a condition there, You must install iTunes before you use it,
for me , I don't install iTunes, just like DC said, I just want to take advange of iTues XML format ,
and used or import by another application other than iTunes, for example, squeezeCenter, squeezecenter can
let you appoint a itunes XML and read it as its library,
there's a great advantage,
-----You can build some file format into XML that iTunes cannot allow to do, FLAC , APE, WMA....

Thanks to you anyway....
kevinchg
 
Posts: 9
Joined: Thu Oct 07, 2010 12:47 pm

Re: Export to iTunes library.xml

Postby nynaevelan » Fri Oct 08, 2010 8:22 am

Ahh, I understand, hopefully you will be able to find a solution.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 16 guests