[REQ] iTunes XML & 2-Way sync [#21002]

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: [REQ] iTunes XML & 2-Way sync [#21002]

Re: [REQ] iTunes XML & 2-Way sync [#21002]

by Peke » Tue Jan 14, 2025 6:09 pm

Hi,
FYI https://www.ventismedia.com/mantis/view ... 002#c77948 is further improved in MM 2024.1.0.3103+ so it supports playlist hierarchy.

Re: [REQ] iTunes XML & 2-Way sync [#21002]

by Peke » Fri Jun 28, 2024 6:16 pm

Hi,
My best guess would be to start DBGview around 80k and send us Zipped log in Ticket.

95k in iTunes XML I hope you have fast PC. For me last time I checked iTunes Behavior I could not go over 35k without big big lag , crashes and freeze.

Export iTunes Library XML never completes

by jmfs15001 » Fri Jun 28, 2024 11:48 am

When trying to use this export function, the export starts fine but hangs and will not finish. On my machine it stops at 94950 of 148650 files.

Using Windows 10 Pro, Lifetime Gold MMW5 license.

Tried the export with MediaMonkey_2024.0.0.3027_Debug and also with MediaMonkey_2024.0.0.3033_Debug. Both versions had the same result. Neither version resulted in any kind of error, all other features worked fine during this time period, the export just appears to stall at some point.

Re: [REQ] iTunes XML & 2-Way sync

by Peke » Sun Jun 09, 2024 4:37 am

Hi,
OK, I added it as https://www.ventismedia.com/mantis/view.php?id=21002 for future features.

Re: [REQ] iTunes XML & 2-Way sync

by telecore » Thu Jun 06, 2024 3:52 pm

Would you please modify this feature to re-create the folder structure with the MM5 playlists in the "iTunes.xml" file? The old MM4 script "export to iTunes.xml" does this. To be more specific, don't append the folder name(s) to the front of the playlist name and re-create the playlist folder hierarchy in the iTunes.xml file. This is the very last thing that I am still using MM4 to do - export to iTunes.

Re: [REQ] iTunes XML & 2-Way sync

by MagGyver » Sun May 19, 2024 2:55 pm

Success! It worked as expected on 3021 and took about the same amount of time as it used to on v4.

Thank you for your quick response.

Re: [REQ] iTunes XML & 2-Way sync

by Ludek » Sun May 19, 2024 8:01 am

Hmm,
you seem to be right, it does not work with 5.0.4 builds, only with latest 5.1.0+ builds and 2024 builds..
https://www.mediamonkey.com/forum/viewt ... 86639&sd=d

I'll look why it does not work with 5.0.4 -- although it is probably seamless, because we are going to release it as bundled addon with the newest builds..

EDIT:
ok, I added one new function to the API, so yes, you will need to install 3021 build ( https://www.mediamonkey.com/beta/MediaM ... _Debug.exe ) plus the addon installed from my DropBox link

Re: [REQ] iTunes XML & 2-Way sync

by MagGyver » Fri May 17, 2024 11:24 am

Update: after 15 more minutes, there was still no advancement of the status bar. I terminated the process, closed MM5, waited a few seconds and reopened, where I can confirm the status bar is working properly for other tasks.

If you need a log file to examine, please advise.

Re: [REQ] iTunes XML & 2-Way sync

by MagGyver » Fri May 17, 2024 11:08 am

Ludek,
Thank you for implementing this. I have installed it in v5.0.4.2692 and found the commit dialog to be intuitive, although it would be great if there was a way to configure the filename and location as a set option so I don't have to browse to the designated folder each time I want to export.
However, after 5 minutes, the library is still exporting, and it never used to take this long in the previous v4 iteration. I have 13000 files and maybe 200 playlists. The status bar along the bottom shows "Exporting (filename and path)" but I see no colored status bar along with it so I have no way to tell if it's incrementally progressing or not. I'll leave it open for another 15 minutes but I don't think it should be taking that long...?

Re: [REQ] iTunes XML & 2-Way sync

by Ludek » Fri May 17, 2024 9:20 am

Hi,
good news, I implemented it as https://www.ventismedia.com/mantis/view.php?id=20689

Implemented in build 3022 and added as bundled addon available under menu File > Export > iTunes Library XML

Before the 3022 is posted feel free to install it from this MMIP:
https://www.dropbox.com/scl/fi/8u4brr0k ... 6qi5g&dl=0
and test how it works for you and report here once you find some issues with this addon..

Thanks!

Re: [REQ] iTunes XML & 2-Way sync

by MagGyver » Thu Mar 07, 2024 12:09 pm

I got so frustrated about this, but in the end I made the jump to MM5. I've been having MM open on one screen and Traktor on another and I drag/drop my playlist items into a blank corresponding playlist I create in Traktor. It's not ideal, but I'm dealing with it. There are still other features/add-ons of MM4 that I miss terribly (Advanced Find & Fix, I miss you) but it felt like I was prolonging the inevitable.

I am not well-versed in XML parsing and syntax, so I'm unable to answer your question, other than to say it's whatever format iTunes was using when it used an XML file for its playlists. The add-on I was using was a script called Export to iTunes XML ( https://www.mediamonkey.com/addons/brow ... ibraryxml/ ).

Re: [REQ] iTunes XML & 2-Way sync

by Ludek » Thu Mar 07, 2024 10:11 am

Added this request as https://www.ventismedia.com/mantis/view.php?id=20689

Could you please share sample XML format that you need? And which addon you use for it in MM4?

Thanks!

Re: [REQ] iTunes XML & 2-Way sync

by MagGyver » Tue Sep 19, 2023 11:13 am

Bumping this up as I am still quite keen on finding a script to export to XML for Traktor in MM5. It's truly the main component of my workflow that is keeping me on MM4 for now. Is this possible? Would somebody with skills please please consider making this? I know many of us would be ever so grateful.

Re: [REQ] iTunes XML & 2-Way sync

by MagGyver » Wed Apr 19, 2023 6:19 pm

I am placing another vote for this feature. There are only a few features that I must have which are preventing me from upgrading to MM5, and this is one of them. I use Traktor and the mechanism to export my MM playlists in XML works quite well, apart from the diacritic read issue in Traktor (but that's not for this forum).

Re: [REQ] iTunes XML & 2-Way sync

by Ludek » Thu Nov 03, 2022 12:23 pm

Exporting iTunes.xml should be quite easy to add as an addon.

For inspiration see the core addons like
[MM install folder]\scripts\export\
[MM install folder]\scripts\exportPlaylists\
[MM install folder]\scripts\exportPodcasts\

Top