adamgot / python-plexlibrary

Create and maintain dynamic Plex libraries based on recipes.
BSD 3-Clause "New" or "Revised" License
204 stars 40 forks source link

Created 0 Symlinks #42

Closed Veepas closed 6 years ago

Veepas commented 6 years ago

Hello there,

i was using the script which worked flawless as far as i can tell. But it says:

Creating symlinks for 4 matching items in the library... Created symlinks for 0 new items:

I do use unionfs if it has to do something about it ?

Please help me use this wonderful little piece of script :)

Greetings

jacc1234 commented 6 years ago

I am having the same issue, using union-fs and docker for my PMS. Could it have something to do with the way the volumes used by docker don't match the paths used in the script?

Example: Docker Plex Moves Path = /moves -> System Path = /home/plex/media/moves

I would expect the symlinks to still get created and then possibly have to change the path in the plex app.

I have not tried to run the script from within the container but will give that a try tomorrow.

adamgot commented 6 years ago

Hi,

Union-FS shouldn’t be the issue, but rather the writeable filesystem layers beneath. Make sure you’re trying to write to a file system that supports creating symlinks.

Preferably just write to your local disk, no need to keep the links in the same place as the media files.

As for docker there should probably be a way to do it with shared volumes, but I haven’t tried.

adamgot commented 6 years ago

Hi,

Union-FS shouldn’t be the issue, but rather the writeable filesystem layers beneath. Make sure you’re trying to write to a file system that supports creating symlinks.

Preferably just write to your local disk, no need to keep the links in the same place as the media files.

As for docker there should probably be a way to do it with shared volumes, but I haven’t tried.

Veepas commented 6 years ago

I am having the same issue, using union-fs and docker for my PMS. Could it have something to do with the way the volumes used by docker don't match the paths used in the script?

Example: Docker Plex Moves Path = /moves -> System Path = /home/plex/media/moves

I would expect the symlinks to still get created and then possibly have to change the path in the plex app.

I have not tried to run the script from within the container but will give that a try tomorrow.

Did you manage to accomplish to change the docker image appropriate?

I am not quite sure what to do to get this script to work flawless