AMC script always names the episode with the previous episodes name

Any questions? Need some help?
Post Reply
chinedooo
Posts: 2
Joined: 06 Apr 2024, 14:02

AMC script always names the episode with the previous episodes name

Post by chinedooo »

For a certain anime, Dragon Raja, filebot will always name the episode with the previous episodes name. For example "episode 6" gets named "episode 5"
Here is the log. only having t his issue with dragon raja.

Code: Select all

Run script [fn:amc] at [Sun Apr 28 13:05:59 EDT 2024]

[PSA] Important Discussion of Changes effective as of 28 Apr 2023:
https://www.filebot.net/forums/viewtopic.php?t=13406

Parameter: excludeList = amc.excludes
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_dir = C:\DrivePool Disks\WDC WD10EZEX-00KUWA0 1000.2 GB\qBittorent Downloads\[SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv
Parameter: ut_kind = multi
Parameter: ut_title = [SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv
Parameter: ut_label = Anime
Parameter: emby = *****
Parameter: seriesDB = TheTVDB
Parameter: animeDB = TheTVDB
Parameter: movieFormat = {emby.id}
Parameter: seriesFormat = {emby.id}
Parameter: animeFormat = D:/Videos/Anime/{ ~emby.id }
Use excludes: D:\Videos\amc.excludes (9177)
Input: C:\DrivePool Disks\WDC WD10EZEX-00KUWA0 1000.2 GB\qBittorent Downloads\[SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv
Process as Anime [Anime]
Group: {Anime=true} => [[SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv]
Rename episodes using [TheTVDB] with [Airdate Order]
Lookup via [Aliens in America] [Dragon Raja]
Fetching episode data for [Aliens in America]
* Aliens in America [80376] | 18 episodes | 1x01-18
Fetching episode data for [Dragon Raja]
* Aliens in America [80376] | 18 episodes | 1x01-18
* Dragon Raja [423688] | 16 episodes | 1x01-16
Apply filter [!(n in lines("C:/Users/Emby/My_Drive/Emby_Server_Files/Emby_Server_Setup_Files/Filebot_Excluded_Show_Titles.txt"))] on [37] options
Include [Aliens in America - 1x01 - Pilot]
Include [Aliens in America - 1x02 - No Man is an Island]
Include [Aliens in America - 1x03 - Rocket Club]
Include [Aliens in America - 1x04 - The Metamorphosis]
Include [Aliens in America - 1x05 - Help Wanted]
Include [Aliens in America - 1x06 - Homecoming]
Include [Aliens in America - 1x07 - Purple Heart]
Include [Aliens in America - 1x08 - My Musky, Myself]
Include [Aliens in America - 1x09 - Junior Prank]
Include [Aliens in America - 1x10 - Church]
Include [Aliens in America - 1x11 - Mom's Coma]
Include [Aliens in America - 1x12 - Hunting]
Include [Aliens in America - 1x13 - Community Theater]
Include [Aliens in America - 1x14 - One Hundred Thousand Miles]
Include [Aliens in America - 1x15 - The Muslim Card]
Include [Aliens in America - 1x16 - Smutty Books]
Include [Aliens in America - 1x17 - Wake at the Lake]
Include [Aliens in America - 1x18 - Raja Sixteen]
Include [Aliens in America - Special 1 - Original Pilot]
Include [Aliens in America - Special 2 - The Music Video]
Include [Dragon Raja - 1x01 - brother, nice to meet you]
Include [Dragon Raja - 1x02 - Two heroes contend for hegemony, but both fall in the same hands]
Include [Dragon Raja - 1x03 - The 8-year old senior took me to the entrance exam]
Include [Dragon Raja - 1x04 - Enough oxygen, I'll take you out of this damn place]
Include [Dragon Raja - 1x05 - "He's always been cool"]
Include [Dragon Raja - 1x06 - Put your arms around my waist so I don't fall]
Include [Dragon Raja - 1x07 - Episode seven]
Include [Dragon Raja - 1x08 - Episode eight]
Include [Dragon Raja - 1x09 - Episode nine]
Include [Dragon Raja - 1x10 - Episode ten]
Include [Dragon Raja - 1x11 - Episode eleven]
Include [Dragon Raja - 1x12 - Episode twelve]
Include [Dragon Raja - 1x13 - Episode thirteen]
Include [Dragon Raja - 1x14 - Episode fourteen]
Include [Dragon Raja - 1x15 - Episode fifteenth]
Include [Dragon Raja - 1x16 - Episode sixteen]
Include [Dragon Raja - Special 1 - An Invitation From a Foreign Land]
[37] options remaining
Apply mapper [allOf{ episode }{ order.absolute.episode }{ AnimeList.AniDB }] on [37] episodes
Map [Aliens in America - 1x01 - Pilot] to [Aliens in America - 1x01 - Pilot]
Map [Aliens in America - 1x02 - No Man is an Island] to [Aliens in America - 1x02 - No Man is an Island]
Map [Aliens in America - 1x03 - Rocket Club] to [Aliens in America - 1x03 - Rocket Club]
Map [Aliens in America - 1x04 - The Metamorphosis] to [Aliens in America - 1x04 - The Metamorphosis]
Map [Aliens in America - 1x05 - Help Wanted] to [Aliens in America - 1x05 - Help Wanted]
Map [Aliens in America - 1x06 - Homecoming] to [Aliens in America - 1x06 - Homecoming]
Map [Aliens in America - 1x07 - Purple Heart] to [Aliens in America - 1x07 - Purple Heart]
Map [Aliens in America - 1x08 - My Musky, Myself] to [Aliens in America - 1x08 - My Musky, Myself]
Map [Aliens in America - 1x09 - Junior Prank] to [Aliens in America - 1x09 - Junior Prank]
Map [Aliens in America - 1x10 - Church] to [Aliens in America - 1x10 - Church]
Map [Aliens in America - 1x11 - Mom's Coma] to [Aliens in America - 1x11 - Mom's Coma]
Map [Aliens in America - 1x12 - Hunting] to [Aliens in America - 1x12 - Hunting]
Map [Aliens in America - 1x13 - Community Theater] to [Aliens in America - 1x13 - Community Theater]
Map [Aliens in America - 1x14 - One Hundred Thousand Miles] to [Aliens in America - 1x14 - One Hundred Thousand Miles]
Map [Aliens in America - 1x15 - The Muslim Card] to [Aliens in America - 1x15 - The Muslim Card]
Map [Aliens in America - 1x16 - Smutty Books] to [Aliens in America - 1x16 - Smutty Books]
Map [Aliens in America - 1x17 - Wake at the Lake] to [Aliens in America - 1x17 - Wake at the Lake]
Map [Aliens in America - 1x18 - Raja Sixteen] to [Aliens in America - 1x18 - Raja Sixteen]
Map [Aliens in America - Special 1 - Original Pilot] to [Aliens in America - Special 1 - Original Pilot]
Map [Aliens in America - Special 2 - The Music Video] to [Aliens in America - Special 2 - The Music Video]
Map [Dragon Raja - 1x01 - brother, nice to meet you] to [Dragon Raja - 02 - brother, nice to meet you]
Map [Dragon Raja - 1x01 - brother, nice to meet you] to [Long Zu - 01]
Map [Dragon Raja - 1x02 - Two heroes contend for hegemony, but both fall in the same hands] to [Dragon Raja - 03 - Two heroes contend for hegemony, but both fall in the same hands]
Map [Dragon Raja - 1x02 - Two heroes contend for hegemony, but both fall in the same hands] to [Long Zu - 02]
Map [Dragon Raja - 1x03 - The 8-year old senior took me to the entrance exam] to [Dragon Raja - 04 - The 8-year old senior took me to the entrance exam]
Map [Dragon Raja - 1x03 - The 8-year old senior took me to the entrance exam] to [Long Zu - 03]
Map [Dragon Raja - 1x04 - Enough oxygen, I'll take you out of this damn place] to [Dragon Raja - 05 - Enough oxygen, I'll take you out of this damn place]
Map [Dragon Raja - 1x04 - Enough oxygen, I'll take you out of this damn place] to [Long Zu - 04]
Map [Dragon Raja - 1x05 - "He's always been cool"] to [Dragon Raja - 06 - "He's always been cool"]
Map [Dragon Raja - 1x05 - "He's always been cool"] to [Long Zu - 05]
Map [Dragon Raja - 1x06 - Put your arms around my waist so I don't fall] to [Dragon Raja - 07 - Put your arms around my waist so I don't fall]
Map [Dragon Raja - 1x06 - Put your arms around my waist so I don't fall] to [Long Zu - 06]
Map [Dragon Raja - 1x07 - Episode seven] to [Dragon Raja - 08 - Episode seven]
Map [Dragon Raja - 1x07 - Episode seven] to [Long Zu - 07]
Map [Dragon Raja - 1x08 - Episode eight] to [Dragon Raja - 09 - Episode eight]
Map [Dragon Raja - 1x08 - Episode eight] to [Long Zu - 08]
Map [Dragon Raja - 1x09 - Episode nine] to [Dragon Raja - 10 - Episode nine]
Map [Dragon Raja - 1x09 - Episode nine] to [Long Zu - 09]
Map [Dragon Raja - 1x10 - Episode ten] to [Dragon Raja - 11 - Episode ten]
Map [Dragon Raja - 1x10 - Episode ten] to [Long Zu - 10]
Map [Dragon Raja - 1x11 - Episode eleven] to [Dragon Raja - 12 - Episode eleven]
Map [Dragon Raja - 1x11 - Episode eleven] to [Long Zu - 11]
Map [Dragon Raja - 1x12 - Episode twelve] to [Dragon Raja - 13 - Episode twelve]
Map [Dragon Raja - 1x12 - Episode twelve] to [Long Zu - 12]
Map [Dragon Raja - 1x13 - Episode thirteen] to [Dragon Raja - 14 - Episode thirteen]
Map [Dragon Raja - 1x13 - Episode thirteen] to [Long Zu - 13]
Map [Dragon Raja - 1x14 - Episode fourteen] to [Dragon Raja - 15 - Episode fourteen]
Map [Dragon Raja - 1x14 - Episode fourteen] to [Long Zu - 14]
Map [Dragon Raja - 1x15 - Episode fifteenth] to [Dragon Raja - 16 - Episode fifteenth]
Map [Dragon Raja - 1x15 - Episode fifteenth] to [Long Zu - 15]
Map [Dragon Raja - 1x16 - Episode sixteen] to [Dragon Raja - 17 - Episode sixteen]
Map [Dragon Raja - 1x16 - Episode sixteen] to [Long Zu - 16]
Map [Dragon Raja - Special 1 - An Invitation From a Foreign Land] to [Dragon Raja - 01 - An Invitation From a Foreign Land]
Reverse Map [Dragon Raja - 06 - "He's always been cool"] to [Dragon Raja - 1x05 - "He's always been cool"]
[SKIP] Skipped [C:\DrivePool Disks\WDC WD10EZEX-00KUWA0 1000.2 GB\qBittorent Downloads\[SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv] because [D:\Videos\Anime\Dragon Raja (2022) [tvdbid=423688]\Season 01\Dragon Raja (2022) - S01E05 - He's always been cool.mkv] already exists
Processed 0 files
Processing 1 unsorted files
[DUPLICATE] from [C:\DrivePool Disks\WDC WD10EZEX-00KUWA0 1000.2 GB\qBittorent Downloads\[SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv] to [D:\Videos\Unsorted\[SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv]
Processed 1 file
Notify Jellyfin [localhost]
POST: http://localhost:8096/Library/Refresh?api_key=************************
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23218
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC script always names the episode with the previous episodes name

Post by rednoah »

:?: What is the episode title of this file? Is it actually 06 / 1x05 or 07 / 1x06?

Code: Select all

[SubsPlease] Dragon Raja - 06 (1080p) [FF66983C].mkv
* https://thetvdb.com/series/long-zu/episodes/9321845
* https://thetvdb.com/series/long-zu/episodes/9321846


The database suggests an Absolute Order 06 ➔ Aired Order 1x05 mapping:

Code: Select all

Map [Dragon Raja - 1x05 - "He's always been cool"] to [Dragon Raja - 06 - "He's always been cool"]
...
Reverse Map [Dragon Raja - 06 - "He's always been cool"] to [Dragon Raja - 1x05 - "He's always been cool"]
...

:!: Different databases seem to list different episode titles so this series is definitely a bit strange:
* https://anidb.net/anime/16595
* https://thetvdb.com/series/long-zu/seasons/official/1
* https://thetvdb.com/series/long-zu/seasons/absolute/1


:arrow: You can disable Anime-specific behaviours via --def ut_label=TV to force plain TV mode.
:idea: Please read the FAQ and How to Request Help.
Post Reply