Code Monkey home page Code Monkey logo

filebot-scripts's People

Contributors

cowmix88 avatar jmooradi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

filebot-scripts's Issues

StringIndexOutOfBoundsException: String index out of range: -1

Hey,

I tried your script. I've got this error:

Processed 1 files
StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java_lang_String$substring$6.call(Unknown Source)
at Script1$_run_closure72$_closure132.doCall(Script1.groovy:501)
at Script1$_run_closure72.doCall(Script1.groovy:499)
at Script1$_run_closure76.doCall(Script1.groovy:794)
at Script1.run(Script1.groovy:566)
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:169)

Can you fix it. Do you need more infos?

torrent + sonarr + radarr

Hello I use Sonarr for Spanish language and it does not work well for me, I would like to unr

torrent + sonarr + filebot, I'm not very good at this, could you help me, I would pay you of course

[bug] [startup failed] With release of filebot 4.7 your script has stopped working.. :(

As the title says, Rednoah released filebot 4.7 recently and it seems to have broken your script.. Would love to continue using your script as it's the only thing that is letting me use sonarr but I don't want to stay on outdated software either (I hate staying on outdated software) but I don't know enough about groovy to go in and fix this myself at all or I would :/ so would it be possible for you to either update the script or tell me what I need to change to get it working again. Would be greatly appreciated :)

Error below on what is happening now whenever the script executes.

startup failed:
Script1.groovy: 647: unable to resolve class net.filebot.web.CachedXmlResource
@ line 647, column 13.
dom = (new net.filebot.web.CachedXmlResource('https://raw.githubusercontent.com/ScudLee/anime-lists/master/anime-list.xml')).getDocument()
^

Script1.groovy: 754: unable to resolve class net.filebot.web.CachedXmlResource
@ line 754, column 12.
dom = (new net.filebot.web.CachedXmlResource('https://raw.githubusercontent.com/ScudLee/anime-lists/master/anime-list.xml')).getDocument()
^

2 errors

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 647: unable to resolve class net.filebot.web.CachedXmlResource
@ line 647, column 13.
dom = (new net.filebot.web.CachedXmlResource('https://raw.githubusercontent.com/ScudLee/anime-lists/master/anime-list.xml')).getDocument()
^

Script1.groovy: 754: unable to resolve class net.filebot.web.CachedXmlResource
@ line 754, column 12.
dom = (new net.filebot.web.CachedXmlResource('https://raw.githubusercontent.com/ScudLee/anime-lists/master/anime-list.xml')).getDocument()
^

2 errors

at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Failure (°_°)

Can't seem to get sonarr to refresh library with this...

Mainly what the title says, no matter how many times I try I can't seem to get this to notify sonarr to refresh the libary once a tv show is downloaded completely..

This is currently the script I have setup in Qbittorrent to shoot off the script so it'll do its stuff.

filebot -script C:\Users\timta\Dropbox\Public\Folders\Filebot\Groovy\amc.groovy --output "D:/Shows" --log-file amc.log --conflict auto -non-strict --filter "age < 50" --def subtitles=en deleteAfterExtract=y clean=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L" "sonarr=localhost:8989/C:\ProgramData\NzbDrone\bin|61829cf08e31439f92bc0301e5552e83"

and this is in the amc logs afterwords.. Now I do notice it says parameter: sonarr = ***** but for some reason it just doesn't seem to do anything at all, any way you can possible help me out? maybe I got my token wrong or something (It's the API in sonarr right?) or could it be something else?

Parameter:
subtitles = en
Parameter: deleteAfterExtract = y
Parameter: clean = y
Parameter: ut_dir = C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS
Parameter: ut_kind = multi
Parameter: ut_title = Bitten.S03E06.720p.HDTV.x264-KILLERS
Parameter: ut_label = 
Parameter: sonarr = *****
Roots: [C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS]
Read archive [bitten.s03e06.720p.hdtv.x264-killers.rar] and extract to [C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\.scratch\bitten.s03e06.720p.hdtv.x264-killers]
Extracting files [C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\.scratch\bitten.s03e06.720p.hdtv.x264-killers\Bitten.S03E06.720p.HDTV.x264-KILLERS.mkv]
Input: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\.scratch\bitten.s03e06.720p.hdtv.x264-killers\Bitten.S03E06.720p.HDTV.x264-KILLERS.mkv
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.nfo
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r00
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r01
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r02
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r03
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r04
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r05
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r06
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r07
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r08
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r09
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r10
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r11
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r12
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r13
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r14
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r15
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.sfv
Exclude: C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\Sample\sample-bitten.s03e06.720p.hdtv.x264-killers.mkv
Group: [order:airdate, tvs:bitten] => [Bitten.S03E06.720p.HDTV.x264-KILLERS.mkv]
Lookup: Checking for [English] embedded sub in [Bitten.S03E06.720p.HDTV.x264-KILLERS.mkv] => []
Lookup: No embedded sub found, searching for subtitles.
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Matched [Bitten.S03E06.720p.HDTV.x264-KILLERS.mkv] to [Bitten.S03E06.720p.HDTV.x264-KILLERS] via hash
Fetching [Bitten.S03E06.720p.HDTV.x264-KILLERS.srt]
Export [Bitten.S03E06.720p.HDTV.x264-KILLERS.srt] as: SubRip / UTF-8
Writing [Bitten.S03E06.720p.HDTV.x264-KILLERS.srt] to [Bitten.S03E06.720p.HDTV.x264-KILLERS.eng.srt]
Using TV Order: airdate
Rename episodes using [TheTVDB]
Auto-detected query: [Bitten]
Fetching episode data for [Bitten]
Apply Filter: {age < 50}
Include [Bitten - 3x05 - Of Sonders Weight]
Include [Bitten - 3x06 - Rule of Anger]
Include [Bitten - 3x07 - On the Brink]
Include [Bitten - 3x08 - Tili Tili Bom]
Include [Bitten - 3x09 - Shock the System]
Include [Bitten - 3x10 - Truth, Changes, Everything]
Auto-detected query: [Bitten]
Fetching episode data for [Bitten]
Apply Filter: {age < 50}
Include [Bitten - 3x05 - Of Sonders Weight]
Include [Bitten - 3x06 - Rule of Anger]
Include [Bitten - 3x07 - On the Brink]
Include [Bitten - 3x08 - Tili Tili Bom]
Include [Bitten - 3x09 - Shock the System]
Include [Bitten - 3x10 - Truth, Changes, Everything]
[MOVE] Rename [C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\.scratch\bitten.s03e06.720p.hdtv.x264-killers\Bitten.S03E06.720p.HDTV.x264-KILLERS.eng.srt] to [D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E06 - Rule of Anger.eng.srt]
[MOVE] Rename [C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\.scratch\bitten.s03e06.720p.hdtv.x264-killers\Bitten.S03E06.720p.HDTV.x264-KILLERS.mkv] to [D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E06 - Rule of Anger.mkv]
Processed 2 files
Bitten - S03E01 - Family, Of Sorts.eng.srt
Bitten - S03E01 - Family, Of Sorts.mkv
Bitten - S03E02 - Our Own Blood.eng.srt
Bitten - S03E02 - Our Own Blood.mkv
Bitten - S03E03 - Right Behind You.mkv
Bitten - S03E04 - A Quiet Dog.eng.srt
Bitten - S03E04 - A Quiet Dog.mkv
Bitten - S03E05 - Of Sonders Weight.mkv
Bitten - S03E06 - Rule of Anger.eng.srt
Bitten - S03E06 - Rule of Anger.mkv
Bitten - S03E10 - Truth, Changes, Everything.mkv
Found duplicates: [D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E01 - Family, Of Sorts.mkv, D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E02 - Our Own Blood.mkv, D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E03 - Right Behind You.mkv, D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E04 - A Quiet Dog.mkv, D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E05 - Of Sonders Weight.mkv, D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E06 - Rule of Anger.mkv, D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E10 - Truth, Changes, Everything.mkv]
Sort duplicates by quality: [Bitten - S03E01 - Family, Of Sorts.mkv] => [720.6]
Sort duplicates by quality: [Bitten - S03E02 - Our Own Blood.mkv] => [720.6]
Sort duplicates by quality: [Bitten - S03E03 - Right Behind You.mkv] => [720.6]
Sort duplicates by quality: [Bitten - S03E04 - A Quiet Dog.mkv] => [720.2]
Sort duplicates by quality: [Bitten - S03E05 - Of Sonders Weight.mkv] => [720.2]
Sort duplicates by quality: [Bitten - S03E06 - Rule of Anger.mkv] => [720.6]
Sort duplicates by quality: [Bitten - S03E10 - Truth, Changes, Everything.mkv] => [1080.2]
Best quality: [file:D:\Shows\TV Shows\Bitten\Season 03\Bitten - S03E10 - Truth, Changes, Everything.mkv, sort:1080.2]
Delete archive C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.rar
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r00
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r01
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r02
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r03
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r04
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r05
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r06
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r07
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r08
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r09
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r10
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r11
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r12
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r13
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r14
Delete archive volume C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.r15
Clean clutter files and empty folders
Delete C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.nfo
Delete C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\bitten.s03e06.720p.hdtv.x264-killers.sfv
Delete C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\Sample\sample-bitten.s03e06.720p.hdtv.x264-killers.mkv
Delete C:\Users\timta\Desktop\QBT\Bitten.S03E06.720p.HDTV.x264-KILLERS\Sample
Done ヾ(@⌒ー⌒@)ノ

How do you use these Scripts?

So far ive been just using filebot on a windows PC

I file this to sort my files
Z:/Videos/{genres =~ /Anime|Animated|Cartoon|Animation/ ? 'Animated' :genres =~ /Documentary/ ? 'Documentaries' : 'Films'}/{ny}/{ny}

Can these Scripts help me use the above automatic without doing it on the PC all the time.
I use OMV with couchpotato on my server.

Sorry I know this is not an issue but couldn't find anywhere to ask this question
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.