playmymusic icon indicating copy to clipboard operation
playmymusic copied to clipboard

The ability to add multiple library locations

Open dmanlfc opened this issue 7 years ago • 11 comments

It would be good if you could add multiple locations for the library I separate some of my music in the household for remixes & DJ sets away from the main library for other tools such a Plex. Having the option to add another library location instead of Change Library would be great!

dmanlfc avatar Oct 10 '17 23:10 dmanlfc

Is it important for you that your second library would monitored for new files? If -not- so you can use "Import Music…" for import any libraries.

artemanufrij avatar Oct 11 '17 19:10 artemanufrij

Correct - monitored like the primary library. I use it for all my DJing stuff which is separated so I don't have it showing up on other systems around the house.

dmanlfc avatar Oct 11 '17 23:10 dmanlfc

Alternatively, one could just use symbolic links to group all locations in one directory. @dmanlfc, would this serve as a workaround for you? The thing is, in my case the crawler does not always follow such links, possibly due to the fact some of them are network shares?

malpaw avatar Feb 05 '18 00:02 malpaw

@malpaw you are right. Following symbolic links is already implemented. 👍

artemanufrij avatar Feb 05 '18 00:02 artemanufrij

It is, hovewer it seems the crawler ignores network shares as the only implementation I found is named LocalFilesManager:

lf_manager = PlayMyMusic.Services.LocalFilesManager.instance;

If so, the workaround I proposed would not always help.

malpaw avatar Feb 05 '18 19:02 malpaw

how did you linked your network share?

artemanufrij avatar Feb 05 '18 19:02 artemanufrij

ln -s /media/share-mounted-by-file-manager /home/user/Music/here

malpaw avatar Feb 05 '18 20:02 malpaw

thanks. I will test it.

artemanufrij avatar Feb 05 '18 20:02 artemanufrij

Network shares are available over gvsf like (smb://bulldozer/scanner/) on my system. Just remoteable devices are mounted on /media/user/device. :confused:

artemanufrij avatar Feb 05 '18 20:02 artemanufrij

I checked again and it doesn't work even for symbolic links to a local filesystem, logging one warning for each such links: ** (com.github.artemanufrij.playmymusic:21221): WARNING **: LocalFilesManager.vala:85: Operation is not supported

Sorry for spamming this issue, it looks like a separate one.

malpaw avatar Feb 05 '18 22:02 malpaw

No worries 😄 . It helps me to improve the app 👍

artemanufrij avatar Feb 05 '18 22:02 artemanufrij