AMC Problem

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Bratalix
Posts: 6
Joined: 14 Mar 2014, 13:28

AMC Problem

Post by Bratalix »

Hello.

I have a problem that started to occur the last few days for me. I have a media server running utorrent for Movies / TV series and bittorrent for anime. The utorrent works totally fine and the bittorrent one works, on most stuff. I realised that the last episode of Gin no Saji season 2 (silver spoon) did not get renamed and moved and I have tried to see what the problem is the last few days. I have not done any change on the server that I know of, so I hope I didnt fuck anything up in that way. Here is the log:

Parameter: xbmc = 192.168.1.10
Parameter: plex = 192.168.1.10
Parameter: music = n
Parameter: artwork = y
Parameter: ut_dir = D:\Temp\Torrent temp
Parameter: ut_file = [HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv
Parameter: ut_kind = single
Parameter: ut_title = [HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv
Parameter: ut_label = anime
Parameter: ut_state = 11
Parameter: ut_state_allow = 11
Input: D:\Temp\Torrent temp\[HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv
Group: [anime:Gin no Saji S2] => [[HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv]
Rename episodes using [TheTVDB]
Auto-detected query: []
Failed to detect query for files: [D:\Temp\Torrent temp\[HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv]
Exception: Unable to match files to episode data
Done ヾ(@⌒ー⌒@)ノ

I have tried running it in CMD from bittorrents logger and it doesnt matter if it runs from bittorent or the CMD, it gets stuck on the same place whatever I do.
Does anyone have any tip on what I can do to fix this?

Oh, I guess its quite important to note that I am using thetvdb on anime aswell instead of anidb since anidb has had alot of issues for me. I downloaded your script and just changed to it uses tvdb instead of anidb, and for the last months I havent had a problem with it. If its needed I can post the script im using aswell.

I hope someone can help me!
Bratalix
Posts: 6
Joined: 14 Mar 2014, 13:28

Re: AMC Problem

Post by Bratalix »

I forgot to add:

A huuugeee thank you for setting AMC up, it is sooo so sweet :)
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Problem

Post by rednoah »

That log doesn't make sense... did you modify the script? Cause first it forces anime, but then it tries to rename it as tv show, very strange.

also it works:

Code: Select all

Input: D:\workspace\testdata\AMC-TEST\[HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv
Group: [anime:gin no saji] => [[HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv]
Rename episodes using [AniDB]
Auto-detected query: [Gin no Saji]
Fetching episode data for [Gin no Saji]
Fetching episode data for [Gin no Saji (2014)]
[COPY] Rename [D:\workspace\testdata\AMC-TEST\[HorribleSubs] Gin no Saji S2 - 09 [1080p].mkv] to [D:\workspace\output\Anime\Silver Spoon\Silver Spoon - 09 - Hachiken Hesitates over Pork Bowl.mkv]
Processed 1 files
:idea: Please read the FAQ and How to Request Help.
Bratalix
Posts: 6
Joined: 14 Mar 2014, 13:28

Re: AMC Problem

Post by Bratalix »

Yes I edited the script to have anime use thetvdb instead of anidb. Ill upload it as an attachment if that might help. The weird thing is that it has renamed episodes in this series before without problems.
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Problem

Post by rednoah »

I think this is the change you'd be looking for:

Code: Select all

def forceAnime(f) {
     false
}
Since anime is never forced, everything will fall into TV series mode. But TheTVDB may not necessarily know all the Japanese anime names. ;)

PS: did you give my groovy script a .bat extension?!?!? :shock:
:idea: Please read the FAQ and How to Request Help.
Bratalix
Posts: 6
Joined: 14 Mar 2014, 13:28

Re: AMC Problem

Post by Bratalix »

Haha, yeah sorry i dont know what I was thinking about the bat. Its fixed now ;)

I reverted back to your original script and it does work with anidb. Well, it renames into the right serie but it gets the season all wrong unfortunately. The problem is that I rather use thetvdb, but for some reason im stuck on the same problem with tvdb as before. I understand that it might be a waste of time to try to get the tvdb to work, but since its been working for the serie and every other serie I just dont get why it stopped now. I got it to find and rename all of season 1 and 7 episodes in on season 2 and then it suddenly stopped.

I went on to the TVDB site and tried searching for the serie with what it comes up with and thats fine. Could it be something on my end or TVDB thats changed and is fucking things up?
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Problem

Post by rednoah »

Anime => No Seasons => No "wrong" seasons. If there are different "seasons" then as far as AniDB (and FileBot) is concerned it's two different shows.


I'm guessing this mapping is what you want?
http://snag.gy/EzHny.jpg

Can't be done automatically. TheTVDB doesn't know Gin no Saji is an alias for Silver Spoon and AniDB doesn't know Gin no Saji S2 is an alias for Gin no Saji (2014).

These here can only be processed if you do it manually with the GUI, which will prompt you to select a show, or with --query and --filter options that allow you to force matches from CLI.
:idea: Please read the FAQ and How to Request Help.
Bratalix
Posts: 6
Joined: 14 Mar 2014, 13:28

Re: AMC Problem

Post by Bratalix »

Its weird tho, it had no problem renaming it before from tvdb before, but if you say it cannot be done I have to trust you. So there is really no way to have anidb or tvdb rename Gin no Saji correctly?
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Problem

Post by rednoah »

Fully-Automatic:
Gin no Saji: YES
Gin no Saji S2: NO


With manual input it's always possible:

Code: Select all

filebot -rename "Gin no Saji 2 - 09.avi" --db thetvdb --q "silver spoon" -non-strict --action test

Code: Select all

Rename episodes using [TheTVDB]
Fetching episode data for [Silver Spoon]
Fetching episode data for [Silver Spoon, Sterling Shackles]
[TEST] Rename [D:\workspace\testdata\AMC-TEST\Gin no Saji 2 - 09.avi] to [Silver
 Spoon - 2x09 - The Last Milk.avi]
:idea: Please read the FAQ and How to Request Help.
Bratalix
Posts: 6
Joined: 14 Mar 2014, 13:28

Re: AMC Problem

Post by Bratalix »

Alright. Thanks for the help! Much appreciated :)
Post Reply