Filebot/Utorrent started renaming tv shows as movies, HELP!

Any questions? Need some help?
Post Reply
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Filebot/Utorrent started renaming tv shows as movies, HELP!

Post by nzhardcore »

Hey guys,

Had Filebot and Utorrent running flawlessly but now all of a sudden tv shows/episodes are getting renamed as movies.

For example, every Revenge tv show/episode that is downloaded is renamed as the Revenge movie, and every Sons of Anarchy tv show/episode that is downloaded is renamed as the Sons movie.

Can anyone advise why this is now happening and how to fix it?

The Utorrent run command is as follows. It hasn't changed though so unsure why this is now happening. It's very annoying as if you download more than 1 of these episodes at a time without manually renaming it after it does it incorrectly it'll just overwrite over and over again as all it wants to do is just rename it to the movie. So downloading a whole season and you end up with one video file named as a movie. Grr. Help pls :)

filebot -script fn:amc --output "%D" --log-file amc.log --log-lock false --action move --conflict override -non-strict --def music=n artwork=n "seriesFormat={n} {S00E00}" "movieFormat={n} ({y})" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"

Running Filebot 3.62 and Utorrent 3.3.2
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

Where's the relevant logs? Isn't 3.8 the latest release?

Have you tried deleting cache/appdata? Don't use --log-lock false if you're running things automated.
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Yes but it was working fine so surely no need to update?

Where do I find the logs?

Instead of running --log-lock false what do I run? Or do I just delete that section altogether?

Also where do I delete the cache/appdata for Filebot?

THanks
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

1.
No idea. But don't you think it's at least worth a try? Surely you don't expect me to debug an outdated version?

2.
--log-lock true (which is default if you don't set it)

3.
First line in the output tells you where the log is => probably in %APPDATA%/FileBot/logs

4.

Code: Select all

filebot -clear-cache
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Yea I suppose it is worth a try - why is there no built-in update feature though? Bit of a pain having to uninstall, download latest version and then reinstall.

Have added the log-lock true bit.

Where am I supposed to use the filebot -clear-cache bit? In the Utorrent run program text so it runs every time?

Thanks.

Latest log:

Parameter: music = n
Parameter: artwork = n
Parameter: seriesFormat = {n} {S00E00}
Parameter: movieFormat = {n} ({y})
Parameter: ut_dir = Z:\Movies & TV Shows\TV Shows\Revenge\Season 3
Parameter: ut_file = Revenge.S03E09.HDTV.x264-LOL.[VTV].mp4
Parameter: ut_kind = single
Parameter: ut_title = Revenge.S03E09.HDTV.x264-LOL.[VTV].mp4
Parameter: ut_label = Revenge - Season 3
Parameter: ut_state = 8
Input: Z:\Movies & TV Shows\TV Shows\Revenge\Season 3\Revenge.S03E09.HDTV.x264-LOL.[VTV].mp4
Group: [mov:Revenge (1986)] => [Revenge.S03E09.HDTV.x264-LOL.[VTV].mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [Z:\Movies & TV Shows\TV Shows\Revenge\Season 3\Revenge.S03E09.HDTV.x264-LOL.[VTV].mp4]
Dec 16, 2013 10:29:37 AM net.sourceforge.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.nio.file.AccessDeniedException: Z:\Movies & TV Shows\TV Shows\Revenge\Season 3\Revenge.S03E09.HDTV.x264-LOL.[VTV].mp4:filename
[MOVE] Rename [Z:\Movies & TV Shows\TV Shows\Revenge\Season 3\Revenge.S03E09.HDTV.x264-LOL.[VTV].mp4] to [Z:\Movies & TV Shows\TV Shows\Revenge\Season 3\Revenge (1990).mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Parameter: music = n
Parameter: artwork = n
Parameter: seriesFormat = {n} {S00E00}
Parameter: movieFormat = {n} ({y})
Parameter: ut_dir = Z:\Movies & TV Shows\TV Shows\Sons of Anarchy\Season 6
Parameter: ut_file = Sons.of.Anarchy.S06E13.HDTV.x264-2HD.mp4
Parameter: ut_kind = single
Parameter: ut_title = Sons.of.Anarchy.S06E13.HDTV.x264-2HD.mp4
Parameter: ut_label = Sons of Anarchy - Season 6
Parameter: ut_state = 8
Input: Z:\Movies & TV Shows\TV Shows\Sons of Anarchy\Season 6\Sons.of.Anarchy.S06E13.HDTV.x264-2HD.mp4
Group: [mov:"Sons of Anarchy" You Are My Sunshine (2013)] => [Sons.of.Anarchy.S06E13.HDTV.x264-2HD.mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [Z:\Movies & TV Shows\TV Shows\Sons of Anarchy\Season 6\Sons.of.Anarchy.S06E13.HDTV.x264-2HD.mp4]
Dec 16, 2013 11:20:42 AM net.sourceforge.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.nio.file.AccessDeniedException: Z:\Movies & TV Shows\TV Shows\Sons of Anarchy\Season 6\Sons.of.Anarchy.S06E13.HDTV.x264-2HD.mp4:filename
[MOVE] Rename [Z:\Movies & TV Shows\TV Shows\Sons of Anarchy\Season 6\Sons.of.Anarchy.S06E13.HDTV.x264-2HD.mp4] to [Z:\Movies & TV Shows\TV Shows\Sons of Anarchy\Season 6\Sons (2006).mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

1.
Chocolatey does software management and auto-update

2.
Windows+R, type 'cmd', hit ENTER, type 'filebot -clear-cache' OR if you don't how to use the console just wait a week


Haha, I guess I know why it's not working now, "Movies & TV Shows" is bad name for root folders either name my force a specific mode. Possibly. :D
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Third party software to run the updates even more annoying.

Running the cache clear command now, opened up the Filebot window and seems to be hanging saying "Clear cache and temporary files".. will see if it ever does anything.

The folder has always been named Movies & TV Shows though..... so is there any way we can tell if this IS the cause or it's something else?

-------

EDIT: Nope didn't do anything, deleted the contents of following folder manually: C:\Users\BRONX\AppData\Roaming\FileBot\cache\0

Still is there a way to see if Movies & TV Shows is throwing it off randomly all of a sudden? Should I rename it to something more suitable like Lemons and Bricks and see what happens? Any other way to test?
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

Manual update is then :P

Rename "Movies & TV Shows" to lets say "Media" so you can tell if this IS the cause. You can run AMC from cmdline and test things to your hearts desire, you'd just need to have a look at the "Troubleshooting" section.

EDIT:
The scripts are auto-updated online if you call them with fn:name synatx. I did add some new rules some time ago checking folder structure for keywords.
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

I did some testing by dragging-dropping into Filebot and it renamed them fine. Haven't tried via CMD though.

Haha is there any way I can get the old version of the script and store and call it locally? Renaming the folder is going to throw off all the devices which connect to it to play media.
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

Yes. Just download it and run -script /local/file.groovy
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Where do I find that old version of the script though? And is the file called 'file.groovy'? And the 'local' is the path to it?

Also assuming it just replaces '-script fn:amc' from the text in my original post and everything else stays?

Shouldn't the file be renamed going off what it was already called and not from the root folder it is stored in?? i.e. if there is SXXeXX or XxXX in there it should know it's a tv show not a movie?

PS The cache clear didn't work still renames Revenge episodes as the 1990 movie.
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

0.
The GUI doesn't have to separate Series/Movies. So this logic is all in the amc.

1.
Until a few weeks ago scripts where all in the SVN so you can check out an older revision. You need to know SVN to do that. Now I've moved scripts to GitHub: https://github.com/filebot/scripts

2.
Why would the cmdline call change? It's still the same script, doesn't matter if it's read from file or web.

3.
Yes, it should be perfect. Sometimes it's less perfect than intended, we call that bugs.


PS: "renames Revenge episodes as the 1990 movie" is because you have a Movie*** folder. Rename the folder.

PS2: If you really don't wanna rename the folder update to r1914 (read FAQ) and use -script fn:amc (the latest GitHub revision already fixes this issue)
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Ok downloaded this: http://sourceforge.net/projects/filebot ... r/download

Placed in Program Files/Filebot (renamed it to FileBot.jar and renamed old one to FileBot.bak)

Will see what it does next time an episode comes up for download - fingers crossed it works! Thanks.

Running below in Utorrent:

filebot -script fn:amc --output "%D" --log-file amc.log --log-lock true --action move --conflict override -non-strict --def music=n artwork=n "seriesFormat={n} {S00E00}" "movieFormat={n} ({y})" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Lol that seems to have broken it completely now.... log reads:

Parameter: music = n
Parameter: artwork = n
Parameter: seriesFormat = {n} {S00E00}
Parameter: movieFormat = {n} ({y})
Parameter: ut_dir = Z:\Movies & TV Shows\TV Shows\Revenge\Season 3
Parameter: ut_file = Revenge.S03E10.HDTV.x264-LOL.mp4
Parameter: ut_kind = single
Parameter: ut_title = Revenge.S03E10.HDTV.x264-LOL.mp4
Parameter: ut_label = Revenge - Season 3
Parameter: ut_state = 8
StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java_lang_String$substring$0.call(Unknown Source)
at Script3$_run_closure30.doCall(Script3.groovy:97)
at Script3$_run_closure34.doCall(Script3.groovy:128)
at Script3.run(Script3.groovy:128)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(ScriptShell.java:102)
at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:95)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:125)
at net.sourceforge.filebot.Main.main(Main.java:190)
Failure (°_°)
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

Fixed.

Try with -script head:amc until i merge it into the master.
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Excellent - works like a treat now. Thanks!

Can I leave -script head:amc in there now even after you merge it into the master or once you've merged it do I need to change it back to -script fn:amc?
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by rednoah »

You can leave it at head. I develop on the head branch and merge back to master every once in a while, but never develop on master. So master should be more stable, but my not contain the latest fixes.
:idea: Please read the FAQ and How to Request Help.
nzhardcore
Posts: 39
Joined: 15 Dec 2013, 23:33

Re: Filebot/Utorrent started renaming tv shows as movies, HE

Post by nzhardcore »

Good man, tested only on one file but seems to be working. Thank you.
Post Reply