Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
611 stars 53 forks source link

autoscan triggers two libraries to scan #101

Closed moooep closed 3 years ago

moooep commented 3 years ago

i just set up autoscan using "bernard".

im having just one issue. in some cases autoscan triggers multiple libraries to scan. in this case plex won't find any new file.

of course the path is not set to both of these libraries.

for example:

Mar 11 10:07:32 INF Scan moved to target library="Serien (GER)" path="/mnt/fclone/fusion/tvshows-4k/Snowpiercer (2020) [tvdbid-364928]/Season 02" target=plex url=http://plex-0:32400

Mar 11 10:07:32 INF Scan moved to target library="Serien 4K (GER)" path="/mnt/fclone/fusion/tvshows-4k/Snowpiercer (2020) [tvdbid-364928]/Season 02" target=plex url=http://plex-0:32400

or

Mar 11 13:04:14 INF Scan moved to target library="Serien (GER)" path="/mnt/fclone/fusion/tvshows-trash/The Bachelor (DE) (2003) [tvdbid-265925]/Season 11" target=plex url=http://plex-0:32400

Mar 11 13:04:14 INF Scan moved to target library="Serien Reality-TV (GER)" path="/mnt/fclone/fusion/tvshows-trash/The Bachelor (DE) (2003) [tvdbid-265925]/Season 11" target=plex url=http://plex-0:32400
m-rots commented 3 years ago

In this particular case, what are the paths of the libraries?

moooep commented 3 years ago

wow thats a fast response ..

Library "Serien (GER)" is set to the path /mnt/fclone/fusion/tvshows

Serien 4K (GER): /mnt/fclone/fusion/tvshows-4k

Serien Reality-TV: /mnt/fclone/fusion/tvshows-trash

m-rots commented 3 years ago

Okay cool, this matches my hypothesis. Will get onto it ASAP. Thanks for the report!

moooep commented 3 years ago

well, thank you for helping!

m-rots commented 3 years ago

If you're using Autoscan with Docker, then you can switch the image over to cloudb0x/autoscan:trailing-slash to check whether that solves your issue. If it does, do let me know!

moooep commented 3 years ago

looks pretty perfekt now! i will keep an eye on that :) thanks a lot!