Page 1 of 1
Sub Naming Format using AMC
Posted: 17 Aug 2015, 20:49
by skinsvpn
When I have amc get subs can I specify the naming convention?
i.e. "subFormat={n} ({y}){'.'+lang}"
Re: Sub Naming Format using AMC
Posted: 17 Aug 2015, 21:48
by rednoah
Yes, movieFormat and seriesFormat is applied to video files and subtitle files.
Re: Sub Naming Format using AMC
Posted: 19 Aug 2015, 19:01
by skinsvpn
Can someone give me a hand with my language adding format?
{'.'+lang}
{".$lang"}
Both give "ScriptException: SyntaxError: unexpected token: ."
{\".$lang\"}
.{lang} - just a sanity check
Both worked but added an extra . before the extension for non sub files.
Re: Sub Naming Format using AMC
Posted: 19 Aug 2015, 22:23
by rednoah
Do you know how " ' $ etc work in the *nix shell? You're doing it wrong, and thus not passing what you think you're passing. You need to escape special characters correctly.
Here's a tutorial I wrote:
viewtopic.php?f=4&t=1899