Export to iTunes library.xml
Re: Export to iTunes library.xml
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.
Re: Export to iTunes library.xml
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?
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?
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Export to iTunes library.xml
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
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: Export to iTunes library.xml
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.
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Export to iTunes library.xml
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
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: Export to iTunes library.xml
I did. Scripts.ini and I put the script in the scripts/auto folder.
Re: Export to iTunes library.xml
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?
Any thoughts about why it wouldn't show up when running Vista?
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Export to iTunes library.xml
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
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: Export to iTunes library.xml
That was it!
I had to run MM in Administrator mode to get it to register the script. It works beautifully.
Many thanks!
I had to run MM in Administrator mode to get it to register the script. It works beautifully.
Many thanks!
Re: Export to iTunes library.xml
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
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
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Export to iTunes library.xml
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
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: Export to iTunes library.xml
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.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
DC
Re: Export to iTunes library.xml
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>一言難盡</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/%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ö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>西洋流行</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:/西洋/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
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>一言難盡</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/%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ö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>西洋流行</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:/西洋/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
Re: Export to iTunes library.xml
Thanks for the information,nynaevelan wrote:This script is no longer in production, mark has a new plugin which exports/imports to itunes.
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....
-
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Export to iTunes library.xml
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
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files