INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: iTunes XML import crashes MC29 (and MC27) [Solved]  (Read 1838 times)

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
iTunes XML import crashes MC29 (and MC27) [Solved]
« on: April 01, 2022, 09:10:06 pm »

I just upgraded to MC29 from 27. I am trying to import my iTunes library. I save my full library as library.xml when I select that with the import feature in MC29 (or MC27) the program closes/crashes.

What am I doing wrong?
Logged

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #1 on: April 02, 2022, 12:52:07 pm »

No one?
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #2 on: April 03, 2022, 10:03:49 am »

Sorry, I can't helpwith importing an iTunes library. However, I'd recommend importing your media files. I believe that's a cleaner solution for moving to MC
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #3 on: April 03, 2022, 03:40:01 pm »

I did that already, but I have 300+ very specific playlists with my 6.5TB library that I would prefer not to have to recreate, or save and import one at a time.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #4 on: April 03, 2022, 06:46:43 pm »

If you want to send the file to matt at jriver I'll try it and see if I can find the problem.  Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #5 on: April 05, 2022, 08:20:09 am »

Thanks for the file.  I ran it in the debugger.

I had to turn off the check for the files to exist.

But then it worked through the array and imported the files and playlists.

It took a long time and quite a bit of memory.  I have a fast computer and it took over an hour.

I was able to speed up one part of the import a little.  We were doing more work to get a number out of a string than we needed.

I'm on Windows, so it's not a 1:1 test.  But it looks like it's working.

255,117 files is quite a stress test!

Any other things I could try?

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #6 on: April 05, 2022, 11:01:15 am »

We're testing on Mac and see it crashing there.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #7 on: April 05, 2022, 02:10:18 pm »

This will be fixed in a future build.  Thanks for the help!
Logged
Matt Ashland, JRiver Media Center

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #8 on: April 06, 2022, 01:34:45 pm »

Thanks,

Let me know when it's fixed. I am about to make the leap to a new Mac Studio, so iTunes is going *poof* and I will be stuck with the annoying Apple music, hence my trying to make the full switch to MC29.

Paul
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Logged
Matt Ashland, JRiver Media Center

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #10 on: April 06, 2022, 04:46:12 pm »

Thanks,

Let me know when it's fixed. I am about to make the leap to a new Mac Studio, so iTunes is going *poof* and I will be stuck with the annoying Apple music, hence my trying to make the full switch to MC29.

Paul
I was an iTunes user for decades and made the switch to MC when Apple ditched it and came up with "Music". It was unbearable so I switched. It's a pretty long learning curve to get into MC but man is it worth it. There is just nothing even remotely close to what it can do. I don't regret the move for one second. My media had never been so well curated and organized as now and I am just very happy with it.
Good luck with it, you'll find very knowledgable and helpful people on this forum to help you when you need it.
Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #11 on: April 06, 2022, 05:16:46 pm »

Thanks, Hans!
Logged

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #12 on: April 06, 2022, 05:26:44 pm »

Thanks, Hans,

I have been using Media Center since the 1st Mac version became available, but I have only used it as my library/player for my hi-res FLAC and ALAC files. My lossless (44.1/16) ALAC collection remained on iTunes. The only thing I will need to figure out is how to add my curated playlists and files to my iPhone 13 if I no longer use iTunes/Music.

I am a playlist fanatic.

Paul
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #13 on: April 07, 2022, 09:49:51 am »

Thanks, Hans,

I have been using Media Center since the 1st Mac version became available, but I have only used it as my library/player for my hi-res FLAC and ALAC files. My lossless (44.1/16) ALAC collection remained on iTunes. The only thing I will need to figure out is how to add my curated playlists and files to my iPhone 13 if I no longer use iTunes/Music.

I am a playlist fanatic.

Paul
That is a nice list, Paul
I have quite a few playlists, too. I am even more excited by the smart lists. I have almost completely switched to using them. It is amazing how I can assemble a list just to my liking by using the correct rules. This is where my extensive tagging comes in really handy. I remember the issue with ALAC files that wouldn't play anywhere else because of their DRM. I think there is a way getting rid of the DRM using iCloud match but I don't remember the details. It definitely is a pain. I eventually ditched them all and replaced them.

Hans
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #14 on: April 07, 2022, 09:52:11 am »

Thanks, Hans,

I have been using Media Center since the 1st Mac version became available, but I have only used it as my library/player for my hi-res FLAC and ALAC files. My lossless (44.1/16) ALAC collection remained on iTunes. The only thing I will need to figure out is how to add my curated playlists and files to my iPhone 13 if I no longer use iTunes/Music.

I am a playlist fanatic.

Paul
Have you tried 29.0.29 Matt linked yet?
The issue is fixed in there.
Logged

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #15 on: April 08, 2022, 11:10:44 am »

Have you tried 29.0.29 Matt linked yet?
The issue is fixed in there.

Not yet since the import can take hours, I was going to try it tonight.
Logged

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #16 on: April 14, 2022, 11:09:07 am »

Tried twice and I get the spinning beach ball of death / program is unresponsive after three attempts.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #17 on: April 14, 2022, 11:57:23 am »

Tried twice and I get the spinning beach ball of death / program is unresponsive after three attempts.
It worked fine for me on a M1. It will beachball until finished.

Of course I don't have your Media.
So maybe turn off Media Network in MC.
Turn on logging in MC. If you don't specify a file reset size you will be able to watch what MC is doing during the import.
Make sure no other apps are running.
Make sure where ever you media is, it's on a completely stable usb or network connection.
Open activity monitor and check to see where it's resources are bound up.

To watch the log as it's running the import, open a terminal window.
Once you start the import, in the terminal window type this:

Code: [Select]
tail -f ~/Library/Application\ Support/J\ River/Media\ Center\ 29/Log.txt
It should just keep spinning out tons of lines of info until it's finished.
Logged

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #18 on: April 14, 2022, 01:13:55 pm »

Ok thanks. Right now I am on a late 2013 iMac. I will be switching to an M1 Pro Max Mac studio in a about a week, maybe I will wait until that machine to do the import/transfer.
Logged

xj32

  • Junior Woodchuck
  • **
  • Posts: 80
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #19 on: April 16, 2022, 08:13:43 am »

Just a heads up. I let it run overnight, and it worked!!!!!

One last question...and perhaps this is a new question/thread. Now that I have my iTunes library mirrored in MC29, is there a way to keep it automatically synced? In other words, if I add a new playlist or six on iTunes to add to my phone. Is there a way, short of doing this big long scan that it will catch and update corrections?

Or can I add playlists and tracks to my iPhone 13 and abandon iTunes altogether?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: iTunes XML import crashes MC29 (and MC27)
« Reply #20 on: April 18, 2022, 08:38:05 am »

Just a heads up. I let it run overnight, and it worked!!!!!

One last question...and perhaps this is a new question/thread. Now that I have my iTunes library mirrored in MC29, is there a way to keep it automatically synced? In other words, if I add a new playlist or six on iTunes to add to my phone. Is there a way, short of doing this big long scan that it will catch and update corrections?

Or can I add playlists and tracks to my iPhone 13 and abandon iTunes altogether?
I can't think of a way to automatically sync them using playlists unless you can limit the iTunes playlist export to a date range and you keep track of that.

MC can't sync to the iTunes database on your phone so you'll need to keep using iTunes for that.
Logged
Pages: [1]   Go Up