AMC not respecting "sxe" format.

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Dan
Posts: 1
Joined: 12 Jul 2014, 20:04

AMC not respecting "sxe" format.

Post by Dan »

I cannot get amc to use the "sxe" season/episode format. This is a problem because XMBC won't recognise episodes with just an episode number.

For instance, given the following command line, the file will be renamed as "D:/Media/~Anime/Sword Art Online II/Sword Art Online II - 01 - Gun World - [FFF].mkv"

Code: Select all

filebot -script fn:amc --output "D:\Media" --log-file filebot.log --action move --conflict auto -non-strict --def music=y artwork=n --def "seriesFormat=D:/Media/~Series/{n}/{\"Season ${s.pad(2)}\"}/{n} - {sxe} - {t}" "animeFormat=D:/Media/~Anime/{n}/{n} - {sxe} - {t} - {[group]}" "movieFormat=D:/Media/~Films/{n} ({y})/{n} ({y}) {vf} {ac} {group}" "musicFormat=D:/Media/~Music/{n}/{y}{\" - $album/\"}{\"${pi.pad(2)}. \"} {t}" "ut_label=" "ut_state=5" "ut_title=[FFF] Sword Art Online II - 01 [69C1AF79].mkv" "ut_kind=single" "ut_file=[FFF] Sword Art Online II - 01 [69C1AF79].mkv" "ut_dir=D:\Unsorted"
The weird thing is if I copy paste the same format "D:/Media/~Anime/{n}/{n} - {sxe} - {t} - {[group]}" into filebot's GUI, then it works properly.

Can someone please enlighten me as to why?

Thanks.
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC not respecting "sxe" format.

Post by rednoah »

Anime do not have seasons. If you use {sxe} on TV Shows it'll evaluate to SxE but if you use {sxe} on Anime it'll evaluate to the episode number (since season data doesn't exist). One reason why there is separate format for series and anime.

@see http://forum.xbmc.org/showthread.php?tid=142835
:idea: Please read the FAQ and How to Request Help.
Post Reply