Hi,
I use filebot for renaming movies, tvshows for plex. It goes well. I tried to make it dividing movies and 3D movies. It goes very well.
But for my tvshows, i tried to make it understand to separate in 2 differents directory tvshows for french version and english version.
Can someone give me a clue or making it for me, i'm a bit lost.
Thanks
i tried seriesFormat = {fn =~ /vostfr/ ? 'vostfr series' : 'series'}/{n} ({y})/{n} ({y}) but all my tshows are going to vostfr series directory (french and English ones)
i'm on a debian server
sorry for bad language i'm not native English
tvshows in differents languages
Re: tvshows in differents languages
Play with the Format Editor until you understand how it works. 
e.g. French
e.g. English
Depending on the value of fn it's gonna be either of these cases. 

e.g. French
Code: Select all
{'xyz vostfr' =~ /vostfr/ ? 'French' : 'English'}
Code: Select all
{'xyz' =~ /vostfr/ ? 'French' : 'English'}

Re: tvshows in differents languages
thx for your help really quickly
i have again a problem.
I tried that:
but i work well for 5 minutes, but stop working....
now i can't go working this
with
and i have another problem, with this changements my tvshows do not classed anymore by season, i guess it's those chagements who are blocking the default scipt but i dn't understand how to prevent it or making it work with this lines...
I'm sorry for asking you that much help
i have again a problem.
I tried that:
Code: Select all
sh /home/adam/.filebot/filebot.sh --lang fr -script fn:amc --output "/media/adam/lien" --log-file "/home/adam/.session/amc.log" --action symlink --conflict override -non-strict --def "seriesFormat={fn =~ /VOSTFR/ ? 'TV Shows vostfr' : 'TV Shows'}/{n} ({y})/{n} ({y})" --def "seriesFormat={fn =~ /SUBFRENCH/ ? 'TV Shows vostfr' : 'TV Shows'}/{n} ({y})/{n} ({y})" --def "movieFormat={fn =~ /3D/ ? '3D Movies' : 'Movies'}/{n} ({y})/{n} ({y})" --def plex=localhost:32400[:TOKEN] music=y artwork=y "ut_dir=$TORRENT_PATH" "ut_kind=multi" "ut_title=$TORRENT_NAME" "ut_label=$TORRENT_LABEL" &
now i can't go working this
Code: Select all
--def "seriesFormat={fn =~ /VOSTFR/ ? 'TV Shows vostfr' : 'TV Shows'}/{n} ({y})/{n} ({y})"
Code: Select all
--def "seriesFormat={fn =~ /SUBFRENCH/ ? 'TV Shows vostfr' : 'TV Shows'}/{n} ({y})/{n} ({y})"
I'm sorry for asking you that much help
Re: tvshows in differents languages
1.
You're passing in the same option twice. It'll either use the first or the last but definitely not both. You are at least checking the log if something is not working, right?
2.
Use the Format Editor to learn how to use the format. If you use {n} ({y}) as episode format pattern then you probably have no idea what you're doing (yet). It's not that hard though, just play with it a little bit first.

You're passing in the same option twice. It'll either use the first or the last but definitely not both. You are at least checking the log if something is not working, right?
2.
Use the Format Editor to learn how to use the format. If you use {n} ({y}) as episode format pattern then you probably have no idea what you're doing (yet). It's not that hard though, just play with it a little bit first.


Re: tvshows in differents languages
After many tries, fails, coffee, i tried this one nd worked well:
Code: Select all
"seriesFormat={fn =~ /SUBFRENCH|VOSTFR/ ? 'TV Shows vostfr' : 'TV Shows'}/{n} ({y})/Season {s}/{sxe} - {t}"