Search found 157 matches

by ZeroByDivide
27 Nov 2017, 18:08
Forum: Scripting and Automation
Topic: Need help converting my .bat file to python (almost done just need help on one thing)
Replies: 6
Views: 2375

Re: Need help converting my .bat file to python (almost done just need help on one thing)

1. Have you tried this? 'exec=filebot -script ' + UPSR + ' --def id={id}' 2. I'd recommend having your script in the $PATH so you can do this: --def exec="update-sonarr {id}" Your update-sonarr shell script would then do the rest, which may just be calling filebot , or may be calling something else...
by ZeroByDivide
27 Nov 2017, 03:00
Forum: Scripting and Automation
Topic: Need help converting my .bat file to python (almost done just need help on one thing)
Replies: 6
Views: 2375

Re: Need help converting my .bat file to python (almost done just need help on one thing)

Anyone mind helping me on that last little bit above with the # Groovy Script Locations UPSR = os.path.expanduser(os.sep.join(["~", "Dropbox/Public/Folders/Filebot/MyStuff/update-sonarr.groovy"])) 'exec=filebot -script UPSR --def id={id}' if I run my script it executes part of it correctly and gets ...
by ZeroByDivide
26 Nov 2017, 12:22
Forum: Scripting and Automation
Topic: Need help converting my .bat file to python (almost done just need help on one thing)
Replies: 6
Views: 2375

Re: Need help converting my .bat file to python (almost done just need help on one thing)

The exec=/script bit should be a single argument. e.g. 'exec=filebot -script /path/to/script.groovy --def id={id}' That seems to have fixed the {id} issue that I was having Run script [fn:amc] at [Sun Nov 26 06:11:48 CST 2017] Parameter: seriesFormat = /TV Shows/{N}/{episode.special ? 'Specials' : ...
by ZeroByDivide
26 Nov 2017, 01:08
Forum: Scripting and Automation
Topic: Need help converting my .bat file to python (almost done just need help on one thing)
Replies: 6
Views: 2375

Re: Need help converting my .bat file to python (almost done just need help on one thing)

Tbh I could of probably of posted this in "Scripting and Automation" but egh to late I guess.
by ZeroByDivide
26 Nov 2017, 01:07
Forum: Scripting and Automation
Topic: Need help converting my .bat file to python (almost done just need help on one thing)
Replies: 6
Views: 2375

Need help converting my .bat file to python (almost done just need help on one thing)

so I decided to look into switching up my bat file I've been using for the past few months or so in favor of using python. So I decided to go and grab the "utorrent-postprocess.pyw" and start my work on it to get it to my liking, so far I've gotten everything I have wanted so far done on it other th...
by ZeroByDivide
26 Jul 2017, 20:02
Forum: Help and Support
Topic: Run suball script hidden
Replies: 9
Views: 2237

Re: Run suball script hidden

And where is the default location? AppData? Windows? believe it's the location you found in your post above, I don't really know the default log location since I don't have the logs point to the default location since I use log-file "path/to/amc.log" in my code so I just point it to where I want so...
by ZeroByDivide
26 Jul 2017, 19:28
Forum: Help and Support
Topic: Run suball script hidden
Replies: 9
Views: 2237

Re: Run suball script hidden

Unfortunately, Windows makes it very tricky to run command-line executables without CMD popping up. I am able to run command-line executables (.bat, .cmd, .batch) without the CMD popping up just fine and I've never done anything fancy at all. The only time it'll ever pop up a cmd window is if I run...
by ZeroByDivide
26 Jul 2017, 19:10
Forum: Scripting and Automation
Topic: omdb response error code 401
Replies: 19
Views: 5497

Re: omdb response error code 401

OMDB has gone private...and apparently the Filebot key no longer works. That's what THEY say anyway. That said, I have to agree that OMDB is WAY more reliable than TMDB on MANY movies. I use both but mostly TMDB. There are many movies though that TMDB does NOT show date, rating, and time. When that...
by ZeroByDivide
28 May 2017, 03:55
Forum: Feature Requests and Bug Reports
Topic: Putting The, at the end of a file name with The at the beginning of the title?
Replies: 10
Views: 3605

Re: Putting The, at the end of a file name with The at the beginning of the title?

That's because TVDB's xml is messed up for a lot of shows, has been going on like this for at least a week now.
by ZeroByDivide
28 May 2017, 03:45
Forum: Feature Requests and Bug Reports
Topic: SAXParseException: XML document structures must start and end within the same entity
Replies: 10
Views: 3580

Re: SAXParseException: XML document structures must start and end within the same entity

What exact version of Windows are you using? @see https://support.microsoft.com/en-us/help/13443/windows-which-operating-system okay so I looked at my about and it's telling me I'm running 15063.250, I'm on the creators update (x64 bit as well) and checking updates doesn't produce anymore updates a...
by ZeroByDivide
28 May 2017, 03:16
Forum: Feature Requests and Bug Reports
Topic: SAXParseException: XML document structures must start and end within the same entity
Replies: 10
Views: 3580

Re: SAXParseException: XML document structures must start and end within the same entity

Yes I'm running the latest version of windows 10 with all the latest updates, I'm always running the most up to date version of windows 10.
by ZeroByDivide
28 May 2017, 02:49
Forum: Feature Requests and Bug Reports
Topic: SAXParseException: XML document structures must start and end within the same entity
Replies: 10
Views: 3580

Re: SAXParseException: XML document structures must start and end within the same entity

The latest release has been rolled out in the Windows Store. If it works well, then it'll roll out on the Mac App Store as well in a few weeks. Are you sure it has been rolled out in the windows store? I'm still seeing 4.7.9 at the current time of writing, and doing an update check in the windows s...
by ZeroByDivide
07 Apr 2017, 08:11
Forum: Windows 10
Topic: A fatal error has been detected by the Java Runtime Environment:
Replies: 3
Views: 7168

Re: A fatal error has been detected by the Java Runtime Environment:

There's lots of Direct3D related keywords in those logs. My first idea would have been to turn off graphics acceleration for Java programs. See FAQ for details. setx J2D_D3D false I've never heard of RTSS Rivatuner Statistics but it seems to mess with the Direct3D pipeline to collect statistics, an...
by ZeroByDivide
06 Apr 2017, 21:24
Forum: Windows 10
Topic: A fatal error has been detected by the Java Runtime Environment:
Replies: 3
Views: 7168

A fatal error has been detected by the Java Runtime Environment:

Dunno what is going on, but I decided to do a complete re-install of windows recently for the creators update (since it's been officially released to the public since yesterday for the people who want to get it a bit earlier than the 11th and I've been needing to a clean install for the past couple ...
by ZeroByDivide
10 Mar 2017, 21:44
Forum: Help and Support
Topic: [nevermind this post now]
Replies: 2
Views: 1111

Re: [nevermind this post now]

The Windows Store may not be perfect, but considering that most people have no idea what they're doing, the Store solves many many many potential setup or update issues that end up wasting peoples time, and my time here in the forums. Yea it's understandable haha xD I would prefer the same solution...
by ZeroByDivide
10 Mar 2017, 20:00
Forum: Help and Support
Topic: [nevermind this post now]
Replies: 2
Views: 1111

[nevermind this post now]

Edit: My mistake was trying to reach the portable version but for some reason it wasn't coming up anymore, but now it does.. Hoping it stays around and doesn't go away since it seems you are trying to enforce the windows 10 store version..
by ZeroByDivide
21 Feb 2017, 17:01
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

Try this: // TheTVDB ID def id = id as int // API Configuration def url = new URL('http://10.0.0.1:8989') def header = ['X-Api-Key': '00000000'] def sonarrSeriesId = new JsonSlurper() .parseText(new URL(url, '/api/series') .get(header) .text) .find{ it.tvdbId == id }.id println new URL(url, '/api/c...
by ZeroByDivide
21 Feb 2017, 16:40
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

Run this and post what it says: def url = new URL('http://localhost:8989/api') def header = ['X-Api-Key': '91c2468dcb0a4f17a5cef20affb4d8be'] println new URL(url, 'series').get(header).text You're seem to be getting back a HTML website when you should be getting JSON data. Getting this here when ru...
by ZeroByDivide
21 Feb 2017, 16:16
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

Whenever I run the script either through testing phase or normal means I always seem to end up getting an error message in the end.. Unable to determine the current character, it is not a string, number, array, or object The current character read is '<' with an int value of 60 Unable to determine t...
by ZeroByDivide
21 Feb 2017, 15:42
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

Here's a complete solution. Untested, but it's equivalent to what people in the Sonarr forums did: https://forums.sonarr.tv/t/refreshseries-rescanseries-command/10797/26 e.g. filebot -script update-sonarr.groovy --def id=281662 // TheTVDB ID def id = id as int // API Configuration def url = new URL...
by ZeroByDivide
21 Feb 2017, 13:15
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

stressing me out way more than it should, going to cause me to have a panic attack. You're yet you're still using CMD which is the cause of all that pain... That's the normal feeling when you try to do anything more complex than a one-liner in CMD... :?: Why not use Groovy? You did that in the begi...
by ZeroByDivide
20 Feb 2017, 22:40
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

Gah this is so pissing me off.. no matter what I do or change I always get stuck on the curl -s http://localhost:8989/api/series -H "X-Api-Key: apikey" --compressed | jq -s ".[]| .[] | select(.tvdbId=="268592") | .id " >temp.txt bit and it never goes past that for the sonarr bit of the script.. stre...
by ZeroByDivide
20 Feb 2017, 20:45
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

So might of figured out what is causing my sonarr.bat file to not execute fully.. for some reason having batch set temporary paths in the bat file for cURL and JQ ends up messing it up completely or something.. it goes through it's normal routine of everything and then once it goes to execute my son...
by ZeroByDivide
20 Feb 2017, 20:20
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

It does look like nothing is executed, but that's probably because you're looking at the filebot log file, and not the console output. Are you testing by calling your bat script from CMD or PowerShell? Because if you don't, then you might miss important console output. I don't get any console outpu...
by ZeroByDivide
20 Feb 2017, 19:22
Forum: Windows 10
Topic: MissingMethodException.. someone mind helping me out?
Replies: 42
Views: 12102

Re: MissingMethodException.. someone mind helping me out?

What's it say if you do this? --def exec="filebot -script fn:sysenv {id}" Ends up giving me this for a log Run script [fn:amc] at [Mon Feb 20 13:18:29 CST 2017] Parameter: ut_dir = C:\Users\JourneyOver\Desktop\QBT\The.100.S04E03.720p.HDTV.x265.ShAaNiG.mkv Parameter: ut_kind = multi Parameter: ut_ti...