INTERACT FORUM

Please login or register.

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

Author Topic: Library Sharing  (Read 1928 times)

danhardison

  • Recent member
  • *
  • Posts: 35
Library Sharing
« on: October 25, 2018, 05:43:50 pm »

I think I know the answer to this in advance, and if I'm right I think it would be a major improvement to MC..

I have a few machines running MC. Two Linux and one Windows. All the music files are on a central NAS. They all share that nicely.

But wouldn't it be good if they all shared the same MC library? So tagging etc. could be done once and shared by all? Is that possible?

I've read other posts about incompatibilities between Windows and Linux library files, but that is when people are trying to back up and restore from one OS to the other. Putting those differences aside for a moment, would it be possible to share a Library (even between machines on the same OS)??

That would be great.

Dan
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Library Sharing
« Reply #1 on: October 26, 2018, 03:42:13 am »

I pull it off between Windows, macOS and Arch Linux. How I do it is I don't import a library backup from another OS, I manually setup everything from scratch after making notes of all my settings. I keep all metadata within my FLAC files, so I don't have to worry about losing anything. However, you *can* just import the settings from a backup without restoring the library portion. This can be useful if you have custom views and whatnot so sometimes I do this if I do a completely clean reinstall and I want to retain a custom panes view, for example. But after importing just the settings, I do recommend going through MC's Options and seeing if there's anything that needs to be corrected, like certain paths.

If you imported a library backup from Windows to Linux for example, the biggest obstacle is the difference in paths and mount points. That's the main reason I avoid using library backups and find it's easier just to import everything from scratch which is why having metadata (including cover art) embedded within my FLAC files very handy for pulling it off.

But the end result is great, I can boot into Windows, macOS or Arch Linux and they all use the same music library without any issues.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Library Sharing
« Reply #2 on: October 26, 2018, 08:43:06 am »

You can also achieve a shared library by using MC's library server functionality, which will share a library between a server and various clients.  This works when there are multiple OS's pretty well; I currently run a mixed environment with a windows server and about 5 PC clients (both linux and windows).  The main limitation of this is that your server needs to be on 24/7 (or at least it needs to be wakeable by your clients).  The main advantage of this method over relying on file tags for metadata syncing is that in the server/client setup you really share the same literal library in real time so *everything* is synced correctly, including various metadata items that aren't written to the files (like whether a TV episode has been watched, play counts, or subtitle settings, etc.).  Those make a big quality of life difference for me as I'm not the only user of my system, and, for example, knowing that my wife has watched the latest recorded episode of the news tells me I can safely delete it, etc.

The "hitch" is that certain library operations can only be done from the server, not from the clients.  The main examples are CD ripping, permanently editing library views, adding files, and changing cover art.  Almost all other tagging and organizational operations work fine from clients.  Adding files is easy to work around by having the server use auto-import watching a shared directory that clients can reach on the network, and after the library views are setup I rarely change my library views.  The only thing I find myself getting up and going to the server to do is cover art stuff, but in the end its worth it for me to have consistent tracking of whether things have been watched or not, playcounts, etc.  It also considerably simplifies setting up new clients.
Logged

danhardison

  • Recent member
  • *
  • Posts: 35
Re: Library Sharing
« Reply #3 on: October 28, 2018, 06:26:34 pm »

You can also achieve a shared library by using MC's library server functionality

This sounds great.. I didn't even know it existed. Is it in the standard product or do I have to install something? (I'll go and look now).. I already leave a couple of my MC machines on 24/7 so that's not a problem (except for my power bill)

Cheers,
Dan
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Library Sharing
« Reply #4 on: October 29, 2018, 12:24:32 am »

The wiki has a topic called Media Network.  Library Server is part of MC.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Library Sharing
« Reply #5 on: October 29, 2018, 12:40:51 pm »

This sounds great.. I didn't even know it existed. Is it in the standard product or do I have to install something? (I'll go and look now).. I already leave a couple of my MC machines on 24/7 so that's not a problem (except for my power bill)

Cheers,
Dan

To piggyback on what Jim said, it's built in.  You just need to turn on Media Network on the server.  Last I checked, you don't strictly need to turn on Media Network on clients to use the barebones library server/client functionality, but you should probably enable it on the clients too as Media Network on the client allows for a lot of additional functions (like controlling playback on clients from the server, which can be handy).
Logged
Pages: [1]   Go Up