- addrename.sh: replace dead TheTVDB HTML scrape (404 since site overhaul) with new v4 API (api.thetvdb.com) using optional TVDB_API_KEY from JDAutoConfig; fall back to manual name entry when name cannot be fetched - rename.sh: per-entry provider stored as renamelist line 6 (IDs are provider-specific: TVDB id != TMDB id); old 6-line entries fall back to the configured category default - rename.sh: filebot_rename() validates db value and logs provider/id; movie fallback now uses config (FileBotLang, Movies path) instead of hardcoded German//mnt/Medien/Filme; drop dead names() TVDB scraper - fix pre-existing syntax error: three prompt lines in addrename.sh had unbalanced quotes (odd count) - bash -n failed on the whole script - README: filebot 4.8.5 note replaced (new TVDB v4 API needs 5.x+), new 'Metadata providers' section incl. TMDB German episode caveat - JDAutoConfig: document provider options + optional TVDB_API_KEY - i18n: add tvdb_key_missing/name_fetch_failed/enter_manually (addrename) and no_db/using_db (rename) for de_DE, en_GB, en_US
96 lines
3.3 KiB
Plaintext
96 lines
3.3 KiB
Plaintext
# Hier stehen nun alle Einstellungen für die jdautoenc:
|
|
|
|
############################################################################################
|
|
#### Script-Settings: ####
|
|
############################################################################################
|
|
|
|
language=
|
|
language_folder=~/.local/scripts/lang
|
|
|
|
############################################################################################
|
|
#### Scripts-Folder: ####
|
|
############################################################################################
|
|
|
|
jdautoenc=~/.local/scripts/jdautoenc.sh
|
|
rename=~/.local/scripts/rename.sh
|
|
renamelist=~/.local/scripts/renamelist
|
|
|
|
############################################################################################
|
|
#### Folders: ####
|
|
############################################################################################
|
|
|
|
extracted=/mnt/downloads/entpackt/
|
|
encodes=/mnt/Medien/encode/
|
|
|
|
############################################################################################
|
|
#### Media Directories: ####
|
|
############################################################################################
|
|
|
|
Movies=/mnt/Medien/Filme
|
|
Series=/mnt/Medien/Serien
|
|
Animes=/mnt/Medien/Animes
|
|
|
|
############################################################################################
|
|
#### Log-File: ####
|
|
############################################################################################
|
|
|
|
log=~/.local/logs/jdautoenc.log
|
|
|
|
############################################################################################
|
|
#### Notifications: ####
|
|
############################################################################################
|
|
|
|
discord=https://discord.com/api/webhooks/
|
|
|
|
NextcloudDomain=https://Nextcloud.domain
|
|
NextcloudUser=jdautoenc
|
|
NextcloudPassword=Password
|
|
NextcloudTalkToken=ChannelTokenID
|
|
|
|
appriseurl=192.168.0.3:8000/notify/apprise
|
|
apprisetag=
|
|
|
|
############################################################################################
|
|
#### Encoding: ####
|
|
############################################################################################
|
|
|
|
# yes or no
|
|
encode=yes
|
|
|
|
bitrate_anime=1400
|
|
preset_anime=slow
|
|
|
|
bitrate_series=1700
|
|
preset_series=slow
|
|
|
|
bitrate_movie=2000
|
|
preset_movie=slow
|
|
|
|
# Choose nVidia, AMD or Intel
|
|
Encoder=nVidia
|
|
|
|
############################################################################################
|
|
#### FileBot: ####
|
|
############################################################################################
|
|
|
|
# MovieDB/SeriesDB/AnimeDB: TheMovieDB | TheMovieDB::TV | TheTVDB | AniDB
|
|
# TheTVDB's new v4 API needs a recent filebot (5.x+). IDs are provider-specific
|
|
# (a TVDB id is NOT a TMDB id); renamelist entries store their own provider
|
|
# (line 6), so old entries keep working after you switch the defaults here.
|
|
MovieDB=TheMovieDB
|
|
SeriesDB=TheTVDB
|
|
AnimeDB=TheTVDB
|
|
|
|
MovieName="{n} {y}"
|
|
SeriesName="{n} {y}/Season {s}/{n} - {s00e00} - {t}"
|
|
AnimeName="{n} {y}/Season {s}/{n} - {s00e00} - {t}"
|
|
|
|
FileBotLang=German
|
|
|
|
# Optional: TheTVDB v4 API project key (thetvdb.com) - used by addrename.sh for
|
|
# the TVDB name check. Leave empty if not using TheTVDB.
|
|
TVDB_API_KEY=
|
|
|
|
# Note: TheMovieDB::TV often lacks German episode titles (--lang German then falls
|
|
# back to English). TheTVDB has better DE episode data but needs filebot 5.x+.
|