Page 1 of 1

auto name

Posted: 07 Jan 2019, 17:29
by foxan
Hello

sorry for my english i'm french.
I do not understand why filebot on some of my files does not find it correctly (american dad and family guy)
I have a debian server 9 I use Filebot 4.7.9 with rtorrent
my storage

home/xxx/.filebot
home/xxx/rtorrent-postprocess

Code: Select all

#!/bin/bash
    TORRENT_PATH=$1
    TORRENT_NAME=$2
    TORRENT_LABEL=$3

sh /home/xxx/.filebot/filebot.sh --lang fr -script fn:amc --output "/home/xxx/torrents/symlink/series/" --log-file "/home/xxx/.sessions/amc.log" --action symlink --conflict auto -non-strict --def unsorted=n --def artwork=n --def plex=xx.xx.xx.xx:xxxxxxxxxxxx "seriesFormat={output}/{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}" "ut_dir=/home/xxx/torrents/rtorrent/series" "ut_kind=multi" "ut_title=$TORRENT_NAME" "ut_label=$TORRENT_LABEL" &
my folders tv show:

Image

I use the script manually

Code: Select all

[SYMLINK] From [/home/foxan/torrents/rtorrent/series/american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E01.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [/home/foxan/torrents/symlink/series/American Weed/Season 01/American Weed - S01E01 - Marijuana Drama.mkv]
 
[SYMLINK] From [/home/foxan/torrents/rtorrent/series/american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E02.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [/home/foxan/torrents/symlink/series/American Weed/Season 01/American Weed - S01E02 - Weed-Jacked!.mkv]

[SYMLINK] From [/home/foxan/torrents/rtorrent/series/american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E03.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [/home/foxan/torrents/symlink/series/American Dad!/Season 01/American Dad! - S01E03 - Stan sait mieux que les autres.mkv]

[SYMLINK] From [/home/foxan/torrents/rtorrent/series/american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E04.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [/home/foxan/torrents/symlink/series/American Dad!/Season 01/American Dad! - S01E04 - Le Flash back de Francine..mkv]

[SYMLINK] From [/home/foxan/torrents/rtorrent/series/american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E05.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [/home/foxan/torrents/symlink/series/American Dad!/Season 01/American Dad! - S01E05 - Roger du troisième âge.mkv]

[SYMLINK] From [/home/foxan/torrents/rtorrent/series/american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E06.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [/home/foxan/torrents/symlink/series/American Dad!/Season 01/American Dad! - S01E06 - Patrie en danger.mkv]

[SYMLINK] From [/home/foxan/torrents/rtorrent/series/american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E07.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [/home/foxan/torrents/symlink/series/American Dad!/Season 01/American Dad! - S01E07 - Stan le diacre.mkv]
why episodes 01 and 02 are not found (american dad)?

Re: auto name

Posted: 07 Jan 2019, 17:52
by rednoah
Sorry, no idea. Have you tried a new version yet?

Here's what I get with the latest release:

Code: Select all

[TEST] from [american dad/American Dad.S01.TRUEFRENCH.720p.WEB-DL.x264-TEAM/American Dad.S01E01.TRUEFRENCH.720p.WEB-DL.x264-TEAM.mkv] to [TV Shows/American Dad/Season 01/American Dad! - S01E01 - Pilot.mkv]

Re: auto name

Posted: 07 Jan 2019, 19:10
by foxan
I'm going to try

Re: auto name

Posted: 08 Jan 2019, 14:30
by foxan
I installed filebot 4.8.5 so I deleted my old ".filebot" then download filebot 4.8.5 I extracted it and put it in ".filebot" I edited filebot.sh for my license.
I still have the same problem

i use java8

Code: Select all

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Re: auto name

Posted: 08 Jan 2019, 15:38
by rednoah
1.
What does the full log say when you run the amc script?


2.
Maybe files are already tagged, so you need to clear those tags to make sure you're getting clean results?
viewtopic.php?f=4&t=5#p5394

Re: auto name

Posted: 08 Jan 2019, 19:18
by foxan
thanks with the number 2 it works

one more question

With American Dad! the season 01 has been changed in number of episodes. TVDB season 01 have 07 episode now but the old numbering had 23 episode

with filebot can it named episode

Code: Select all

s01E08 -> S02E01
S01E09 -> S02E02

Re: auto name

Posted: 09 Jan 2019, 08:20
by rednoah
1.
If you need to re-order episodes, especially one-off tasks, it's best to just use the GUI and to it semi-manually:
https://youtu.be/btNSv7AnMMw

Image

:idea: CLI works too, but maybe not quite as straight-forward as the GUI, so let me know if you really need a CLI solution for some reason. ;)


2.
You could try alternative episode orders. Maybe DVD order fits your files better?

Here's some tips for translating one episode order to another:
viewtopic.php?f=3&t=2769

Re: auto name

Posted: 09 Jan 2019, 10:29
by foxan
thank you i will look that