INTERACT FORUM

Please login or register.

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

Author Topic: Sharing library across multiple computers  (Read 753 times)

DmitryB

  • World Citizen
  • ***
  • Posts: 128
Sharing library across multiple computers
« on: November 30, 2024, 04:05:07 pm »

Hey all!

Question that may be simple, but I wanted to confirm before I did this myself. If I place my library files on a cloud drive - let's say Dropbox - will everything work out if I then use MC from different computers? Sometimes I'm using MC from home, sometimes on a different computer while traveling. If MC on both computers are set to read the same library from a cloud drive... any reason this won't work? This way any changes I make on one computer will be recognize when I open MC on the other computer. (I wouldn't be using them at the same time.)

Does this make sense?

Thanks!
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Sharing library across multiple computers
« Reply #1 on: November 30, 2024, 04:30:47 pm »

It should work... most of the time.

MC updates a bunch of database files on exit. If you happen to shutdown the computer (PC1) while MC is running you may have unexpected results because the updated files won't be uploaded to cloud until windows restarts. If you meanwhile happen to run MC on another machine (PC2) and that one then uploads some changes, then PC1 will no longer be able to upload its own changes. You now have a conflict that must be resolved manually.
Logged

DmitryB

  • World Citizen
  • ***
  • Posts: 128
Re: Sharing library across multiple computers
« Reply #2 on: November 30, 2024, 04:49:06 pm »

Thank you!

So is the solution to make certain MC is shut down when PC1 is turned off, otherwise PC2 will not get updated info when it is powered on?

The two PCs are in different locations, so it's pretty much guaranteed both will never be running at the same time. But just being careful that MC is shut down so the library can update in the cloud before a PC is powered down.
Logged

DmitryB

  • World Citizen
  • ***
  • Posts: 128
Re: Sharing library across multiple computers
« Reply #3 on: November 30, 2024, 05:11:21 pm »

Ok working on moving the library over. Just to make sure: I am moving the J River folder from my Application Support folder to Dropbox? That's where the full library folder is?

I did that - and my settings disappeared. I had to enter my registration for JRiver again, and the appearance has defaulted to the JRiver appearance instead of what I'd customized. Is there a way to get those settings back??
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Sharing library across multiple computers
« Reply #4 on: November 30, 2024, 05:11:49 pm »

Right. Sounds good in theory, but in practice I think it will fail sooner or later.
The way to go is to have an MC running as a server at one location and accessing it from the other location via an Access Key (generated by MC).
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Sharing library across multiple computers
« Reply #5 on: November 30, 2024, 05:13:30 pm »

Ok working on moving the library over. Just to make sure: I am moving the J River folder from my Application Support folder to Dropbox? That's where the full library folder is?

Uh, no, I don't think you can do that. I'm not a Mac user though.
Try just adding MC's folder to Dropbox settings so that it also gets synchronized.
You can also:
- do a Library backup in MC
- create a new MC Library in the Dropbox folder
- restore the backup to the new library
Logged

DmitryB

  • World Citizen
  • ***
  • Posts: 128
Re: Sharing library across multiple computers
« Reply #6 on: November 30, 2024, 05:24:01 pm »

Hmmm yeah, I think you're right, this won't really work as I envision... Maybe the middle-ground solution is to create backups on Dropbox and then just import the most recent backup as the main library as I move from PC1 to PC2.

BTW in the J River folder in Application Support, there are folders going back to MC 27 through 33. Do I need those old folders or can they be deleted?
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Sharing library across multiple computers
« Reply #7 on: December 01, 2024, 03:10:46 am »

They can be deleted, but make a Library backup first in MC33.
Logged

DmitryB

  • World Citizen
  • ***
  • Posts: 128
Re: Sharing library across multiple computers
« Reply #8 on: December 01, 2024, 09:06:41 am »

Thank you!!
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 952
Re: Sharing library across multiple computers
« Reply #9 on: December 01, 2024, 09:33:29 am »

I run MC on a Mac Studio, MacBook Pro (headless, always on), a Synology NAS and on an rPi5. The only stable way I found to keep the experience as "identical" as possible between the four is with library backup/restore. I use the Studio for library maintenance and the other three only for playing. The backup/restore works fast and efficiently and I have no issues. Takes me less than 15 min to update the three "players". It helps to keep a copy of the backup on a shared folder that can be accessed by all four machines. In my case that folder is on the rPi5, shared via SMB. I use VNC to access the other three machines from the Studio.
Each machine uses different ports for MC so I can play from anywhere on any machine using Remote or MO 4Media.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.49): 2758
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.49): 3185
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.49): 9181
Docker Container (shiomax) DS1819+ | JRMark (33.0.44): 1499
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

DmitryB

  • World Citizen
  • ***
  • Posts: 128
Re: Sharing library across multiple computers
« Reply #10 on: December 01, 2024, 06:22:30 pm »

Thanks HaWi! That's basically what I'm going to try to do going forward. The back-up is now going to Dropbox, so I can access the latest version on both computes - and restore.

But it was mentioned earlier than shutting down MC writes certain files, which I assume it writes to Application Support JRiver file. Whatever that information is... is it transferred to the back-up in some way? Or will the backup file I run just before shutting down MC "incomplete?"
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: Sharing library across multiple computers
« Reply #11 on: December 02, 2024, 05:44:12 am »

The backup is always a snapshot of the current state and is complete at that time. If you click on something else after the backup (like for instance just changing the current view, or playing a track), then that is a minor update that will be written out to disk on exit - it doesn't matter that it's not on the backup, but it does matter for folder synchronization as a file is changed.
Logged

DmitryB

  • World Citizen
  • ***
  • Posts: 128
Re: Sharing library across multiple computers
« Reply #12 on: December 02, 2024, 10:56:52 am »

Ahh perfect. As long as I backup and then immediately quit, it should be all normal. Thank you!
Logged
Pages: [1]   Go Up