I would like to know if there is a function or a way to remove strings from the filenames after extraction and before filebot compares the filename with TVDB.
Occasionally the name of my series misleads Filebot when there is "720" / "1080" / "264" in the name like for example :
Code: Select all
Input: C:\Users\Bruno\Downloads\Jdownloader\Arifureta.E01.VOSTFR.1080p.WEB.x264-Time2Watch.mkv
Group: {Series=arifureta} => [Arifureta.E01.VOSTFR.1080p.WEB.x264-Time2Watch.mkv]
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Arifureta]
Fetching episode data for [Arifureta Shokugyou de Sekai Saikyou]
Fetching episode data for [Arifureta Kiseki]
[MOVE] from [C:\Users\Bruno\Downloads\Jdownloader\Arifureta.E01.VOSTFR.1080p.WEB.x264-Time2Watch.mkv] to [F:\Series\Animes\Arifureta Shokugyou de Sekai Saikyou\Saison 02\Arifureta Shokugyou de Sekai Saikyou - 2x01 - TBA.mkv]
Processed 1 files
Notify Kodi: [host:192.168.1.43, port:8080]
POST: http://192.168.1.43:8080/jsonrpc {"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"FileBot finished processing 1 files","message":"Arifureta E01 VOSTFR 1080p WEB x264-Time2Watch","image":"https://app.filebot.net/icon.png"},"id":1}
SocketTimeoutException: Connect timed out
Sending PushBullet report
Clean clutter files and empty folders
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
@ECHO OFF
:: Input Parameters
set ARG_PATH=%1
set ARG_NAME=%2
set ARG_LABEL=%3
:: Configuration
:: IF "%ARG_LABEL%" NEQ "movie" (filebot -rename %ARG_PATH% --db TheTVDB --order airdate --mapper order.absolute.episode --format "{n} {sxe} [{absolute}]" -non-strict --log-file amc.log)
filebot -script fn:amc --lang fr --action move -non-strict --conflict skip --log-file amc.log --def seriesFormat="F:/Series/{if ( minutes < 31 ) 'Animes' else 'Normales'}/{n}/Saison {s.pad(2)}/{n} - {sxe} - {t}" movieFormat="F:/Films/{n.colon(' - ')} ({y}){' CD'+pi}{subt}" --def clean=y deleteAfterExtract=y unsorted=n music=n artwork=n excludeList=C:\Users\Bruno\AppData\Roaming\FileBot\logs\excludes.txt ut_dir=%ARG_PATH% ut_kind=multi ut_title=%ARG_NAME% ut_label=%ARG_LABEL%