jlesage / docker-filebot

Docker container for FileBot
MIT License
176 stars 35 forks source link

[Bug] Renaming does not work with tvdbids #110

Open Pascal2708 opened 2 months ago

Pascal2708 commented 2 months ago

Current Behavior

Hi :) Movies work fine with this docker and amc but series are a bit confusing. I want the tvdbid-XXXX in my series names. As output I get "SeriesXYZ [tvdbid-XXX]" as I like but the ID is not the tvdbid. Its the TheMovieDB, because its searching with it. In the Client version this depens on the DB Filebot is searching to identify the files. Is there any way to change this behavier? I add a picture of my working windows client settings.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

Container creation

Unraid image

Windows Filebot that works as excpected: image

Container log

[supervisor  ] service 'filebot-info' exited (with status 0).
[supervisor  ] starting service 'app'...
[supervisor  ] starting service 'amc'...
[amc         ] Changes detected in input folder.
[amc         ] Waiting 10 seconds before proceeding...
[supervisor  ] all services started.
[amc         ] Invoking AMC script...
[amc         ] Run script [fn:amc] at [Sat Sep 21 16:44:10 CEST 2024]
[amc         ] [PSA] Important Discussion of Changes effective as of 28 Apr 2023:
[amc         ] https://www.filebot.net/forums/viewtopic.php?t=13406
[amc         ] Parameter: artwork = n
[amc         ] Parameter: music = n
[amc         ] Parameter: clean = y
[amc         ] Parameter: excludeList = /config/amc-exlude-list.txt
[amc         ] Parameter: movieFormat = /output/Filme/{n} ({y}){" [imdbid-$imdbid]"}/{n} ({y}){' CD'+pi}{'.'+lang} {" [imdbid-$imdbid]"}
[amc         ] Parameter: musicFormat = {plex}
[amc         ] Parameter: seriesFormat = /output/Serien/{n}{" [tvdbid-$id]"}/{episode.special ? 'Specials' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
[amc         ] Parameter: animeFormat = {plex}
[amc         ] Argument[0]: /watch
[amc         ] Use excludes: /config/amc-exlude-list.txt (1)
[amc         ] Input: /watch/THESERIES S09E07.mkv
[amc         ] └─ Metadata: THESERIES - 9x07 - PLANET ESPRESSO
[amc         ] Group files by movie or series
[amc         ] Group: {Series=THESERIES} => [THESERIES S09E07.mkv]
[amc         ] Rename episodes using [TheMovieDB] with [Airdate Order]
[amc         ] [XATTR] THESERIES - 9x07 - PLANET ESPRESSO (/watch/THESERIES S09E07.mkv)
[amc         ] Lookup via [THESERIES] []
[amc         ] Fetching episode data for [THESERIES]
[amc         ] * THESERIES [615] | 144 episodes | 1x01-09 .. 2x01-20 .. 3x01-15 .. 4x01-12 .. 5x01-16 .. 6x01-26 .. 7x01-26 .. 8x01-10 .. 9x01-10
[amc         ] [MOVE] from [/watch/THESERIES S09E07.mkv] to [/output/Serien/THESERIES [tvdbid-615]/Season 09/THESERIES - S09E07 - EPISODENAME.mkv]
[amc         ] Processed 1 file
[amc         ] Clean clutter files and empty folders

Container inspect

No response

Anything else?

No response

jlesage commented 1 month ago

Maybe try the --def ut_label=TV option (https://www.filebot.net/forums/viewtopic.php?t=11518)?

This can be set via the Automated Media Center: Custom Options setting of the container.

Pascal2708 commented 1 month ago

@jlesage thank you. Sorry for the late reply. This does not change the output.