Automated Media Center script promlem

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
thecoldest
Posts: 3
Joined: 08 Jul 2015, 00:53

Automated Media Center script promlem

Post by thecoldest »

What am I don't wrong. Here is the log
I download groovy don't know how to make file bot use it.

Code: Select all

Run script [fn:amc] at [Tue Jul 07 19:03:14 CDT 2015]
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label = S
Parameter: ut_title = K
Parameter: ut_file = D
MissingPropertyException: No such property: ut_kind for class: Script1
groovy.lang.MissingPropertyException: No such property: ut_kind for class: Script1
	at Script1.run(Script1.groovy:172)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
	at net.filebot.Main.main(Main.java:168)
Failure (°_°)

Jul 07, 2015 7:18:27 PM net.filebot.Main initializeCache
WARNING: App version (r3052) does not match cache version (r2245): reset cache
Run script [fn:amc] at [Tue Jul 07 19:18:31 CDT 2015]
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label = S
Parameter: ut_title = K
Parameter: ut_file = D
MissingPropertyException: No such property: ut_kind for class: Script1
groovy.lang.MissingPropertyException: No such property: ut_kind for class: Script1
	at Script1.run(Script1.groovy:172)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
	at net.filebot.Main.main(Main.java:168)
Failure (°_°)

Run script [fn:amc] at [Tue Jul 07 19:18:49 CDT 2015]
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label = S
Parameter: ut_title = K
Parameter: ut_file = D
MissingPropertyException: No such property: ut_kind for class: Script1
groovy.lang.MissingPropertyException: No such property: ut_kind for class: Script1
	at Script1.run(Script1.groovy:172)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
	at net.filebot.Main.main(Main.java:168)
Failure (°_°)

Run script [fn:amc] at [Tue Jul 07 19:40:01 CDT 2015]
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label = S
Parameter: ut_title = K
Parameter: ut_file = D
MissingPropertyException: No such property: ut_kind for class: Script1
groovy.lang.MissingPropertyException: No such property: ut_kind for class: Script1
	at Script1.run(Script1.groovy:172)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
	at net.filebot.Main.main(Main.java:168)
Failure (°_°)
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automated Media Center script promlem

Post by rednoah »

You have clearly now idea what you're doing, and not bothered to search the forums for similar issues, nor read the manual.
Manual wrote:Troubleshooting
If something is not working, first read the Notes above, then just run the command manually in new console window and see what happens. You CANNOT run the template without replacing the VARIABLES. The variables have to be replaced with actual values first. You can find the actual cmdline call in the µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first (just right-click one of the other tabs like Info).
Please pay special attention to the BOLD RED sections. ;)
:idea: Please read the FAQ and How to Request Help.
thecoldest
Posts: 3
Joined: 08 Jul 2015, 00:53

Re: Automated Media Center script promlem

Post by thecoldest »

I think you are assuming everyone that comes on here is a programer. We are not. I don't know about other people but I don't like join forums so I am "bothered to search the forums for similar issues" before I have to join.

When you say Variables are you talking about "ut_file=%F" with %F being the Variable. If so what do I replace it with?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automated Media Center script promlem

Post by rednoah »

Manual wrote:The variables have to be replaced with actual values first. You can find the actual cmdline call in the µTorrents Logger tab so you can just copy it from there. You may need to enable the Logger tab first (just right-click one of the other tabs like Info).
Have you checked the µTorrents Logger to see the command that is executed? It'll show you what the %variables have been replaced with.
:idea: Please read the FAQ and How to Request Help.
thecoldest
Posts: 3
Joined: 08 Jul 2015, 00:53

Re: Automated Media Center script promlem

Post by thecoldest »

I'm using Vuze with the command Runner enable but it dose not show my script even thought Vuze said it has been ran. What I have did instead is this:

Code:
filebot -script fn:amc --output "E:\TV SERIES" --log-file C:\Users\TheColdest\Desktop\amc.log --action test -non-strict --def "ut_dir=C:\Users\TheColdest\Downloads\Torrents" "ut_file=Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]" "ut_kind=single" "ut_title=Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]" "ut_label=" "ut_state=5"

This is my log file.

log:
Run script [fn:amc] at [Wed Jul 15 19:38:18 CDT 2015]
Parameter: ut_dir = C:\Users\TheColdest\Downloads\Torrents
Parameter: ut_file = Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]
Parameter: ut_kind = single
Parameter: ut_title = Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]
Parameter: ut_label =
Parameter: ut_state = 5
Input: C:\Users\TheColdest\Downloads\Torrents\Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]\Ballers.2015.S01E03.HDTV.x264-ASAP.mp4
Exclude: C:\Users\TheColdest\Downloads\Torrents\Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]\ballers.2015.s01e03.hdtv.x264-asap.nfo
Exclude: C:\Users\TheColdest\Downloads\Torrents\Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]\RARBG.com.txt
Group: [tvs:ballers 2015] => [Ballers.2015.S01E03.HDTV.x264-ASAP.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [Ballers 2015]
Fetching episode data for [Ballers]
[TEST] Rename [C:\Users\TheColdest\Downloads\Torrents\Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]\Ballers.2015.S01E03.HDTV.x264-ASAP.mp4] to [E:\TV SERIES\TV Shows\Ballers\Season 01\Ballers - S01E03 - Move the Chains.mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

So it works in a test run. My question is this how do I get it to do the whole folder and not just specific one's?

Do I change "ut_title=Ballers.2015.S01E03.HDTV.x264-ASAP[rarbg]" to ut_title=*" and "ut_kind=multiple "
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Automated Media Center script promlem

Post by rednoah »

1.
I don't use Vuze but it seems I did some testing previously and it should work exactly the same as with utorrent:
viewtopic.php?f=4&t=1397

2.
--def ut_title is optional, so you can leave it. --def ut_kind is either "single" or "multi" and that specifies how ut_dir (must be per-torrent folder if multi) and ut_file (ignored if single) are interpreted.

If you don't know what you're doing it's recommend that you add --def excludeList so you don't accidentally reprocess all your downloads all the time (may happen if you mess up the input variables) and get banned.

3.
Maybe Vuze has changed? The whole variable replacement system may be completely different from torrent client to torrent client. So checking in the Vuze forums how to integrate 3rd party apps might help. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply