Plex refresh wrong target path is chosen
Posted: 12 Jun 2022, 17:36
Hi,
I've in Plex a Movie library defined with two target folders:
- /streaming/Amazon (buy)/Filme
- /movies
Here a screenshot for better understanding what I mean:
Both are successfully scanned by Plex and shown under the target menu entry Movie (Filme).
I use Filebot via the latest Docker version:
Nevertheless, it doesn't matter which source path is defined via Filebot command line the Plex refresh logic uses always the first defined entry of the Movie library, which is in the above mentioned case /streaming/Amazon (buy)/Filme and this is not always the correct one. In some cases the second entry /movies must be used. Due the wrong chosen entry my Plex doesn't refresh correctly and the new movie isn't shown there.
I've detected the issue via the filebot.log:
Is there some possibility to define which target entry should be used? Have I overseen any existing parameter yet?
Here my call:
Thanks for your help and support
I've in Plex a Movie library defined with two target folders:
- /streaming/Amazon (buy)/Filme
- /movies
Here a screenshot for better understanding what I mean:
Both are successfully scanned by Plex and shown under the target menu entry Movie (Filme).
I use Filebot via the latest Docker version:
Code: Select all
docker run --rm -it -v filebot-data:/data rednoah/filebot -version
FileBot 4.9.6 (r9125)
I've detected the issue via the filebot.log:
Code: Select all
Processed 1 file
Notify Plex [192.168.0.100]
GET: http://192.168.0.100:32400/library/sections/3/refresh?path=%2Fstreaming%2FAmazon+%28buy%29%2FFilme%2FAnimation%2FThe+Ice+Age+Adventures+of+Buck+Wild+%282022%29&X-Plex-Token=XXXXXXXXXXXXXXX
Here my call:
Code: Select all
docker run --rm -t \
-v /volume1/downloads:/volume1/downloads \
-v /volume1/video:/volume1/video \
-v /volume1/extensions/scripts/filebot:/volume1/extensions/scripts/filebot \
-v filebot-data:/data \
--entrypoint /usr/bin/filebot \
rednoah/filebot \
-rename \
-script 'fn:amc' /volume1/downloads/complete/movie \
--output /volume1/video/Filme \
--action move \
-non-strict \
--conflict auto \
--lang de \
--def 'ut_label=movie' \
--def 'clean=y' \
--def 'skipExtract=y' \
--def 'ignore=.*_UNPACK_.*$' \
--def 'pushover=XXXXXXXXXXXXXXXXXXXXXX' \
--def 'movieFormat={genre}/{n} ({y}) [{any{source.match('\''BD'\'').replace('\''BD'\'','\''BDRip'\'')}{source.match('\''BluRay'\'').replace('\''BluRay'\'','\''BDRip'\'')}{source.match('\''DVD'\'').replace('\''DVD'\'','\''DVDRip'\'')}{source}{sdhd == '\''HD'\'' ? '\''BDRip'\'' : '\''DVDRip'\''}}, {vc}, {vf}, {ac}, {af.replace('\''6ch'\'','\'' 5.1'\'').replace('\''8ch'\'','\'' 7.2'\'').replace('\''3'\'', '\'' 2.1'\'').replace('\''2ch'\'','\'' 2.0'\'').replace('\''1ch'\'','\'' 1.0'\'').replace('\''7ch'\'','\'' 6.1'\'').replace('\''3ch'\'','\'' 2.1'\'')}]/{ny}{'\'' CD'\''+pi}{subt}' \
--def 'music=n' \
--def 'artwork=n' \
--def 'excludeList=.excludes' \
--def 'exts=jpg|png|nfo|srv|srr|nzb|sfv|idx|sub|txt|part01|part02|par1|par2' \
--def 'terms=sample|trailer|etc' \
--def 'plex=192.168.0.200:XXXXXXXXXXXXXXXXXX' \
--log all \
--log-file /volume1/extensions/scripts/filebot/filebot.log