Just check some basic tutorial bash tutorials if you're on Linux or Windows CMD if on Windows.
If you use && the second command won't be executed if the first one fails. Not sure if that's the issue. Plenty of resources on google anyway for how to work with console.
Search found 22998 matches
- 21 Jan 2014, 03:48
- Forum: Scripting and Automation
- Topic: fn:cleaner script only seems to work on jpg files
- Replies: 3
- Views: 2955
- 21 Jan 2014, 03:42
- Forum: Scripting and Automation
- Topic: Combine amc and watcher scripts
- Replies: 18
- Views: 10090
Re: Combine amc and watcher scripts
Then you're confusing something, running multiple watchers or something, I donno, I can only tell you that in this run you show me here nothing has been renamed.
EDIT: This is not valid format code:
NO
YES (String expression)
YES (Array expression)
EDIT: This is not valid format code:
NO
Code: Select all
{[$vf]}
Code: Select all
{"[$vf]"}
Code: Select all
{[vf]}
- 20 Jan 2014, 19:11
- Forum: Episode / Movie Naming Scheme
- Topic: Anime not getting season #
- Replies: 3
- Views: 3725
Re: Anime not getting season #
1.
No. Because you don't need to (once you understand the format expressions).
2.
How would the format editor know which media file you wanna test the format with? Suggestion: Set a media file to test with.
No. Because you don't need to (once you understand the format expressions).
2.
How would the format editor know which media file you wanna test the format with? Suggestion: Set a media file to test with.
- 20 Jan 2014, 19:06
- Forum: Scripting and Automation
- Topic: Combine amc and watcher scripts
- Replies: 18
- Views: 10090
Re: Combine amc and watcher scripts
Yeah, but now you have the cmdline String in the Groovy code so it needs to be Groovy String escaped, not Windows CMD escaped, or possibly both.
Check the amc output and see what amc thinks you have passed in, you should see the issue right away which part doesn't get passed along as you had thought.
Check the amc output and see what amc thinks you have passed in, you should see the issue right away which part doesn't get passed along as you had thought.
- 20 Jan 2014, 18:57
- Forum: Help and Support
- Topic: pyload script does nothing
- Replies: 1
- Views: 2279
Re: pyload script does nothing
You're not redirecting stderr so you're not seeing the error output: http://www.cyberciti.biz/faq/redirecting-stderr-to-stdout/ This path is just really shitty: /volume1/extracted/30RGR.301.rar/rsg-30rockxvidrp-s03e01.avi Bad luck. You'll need to add to nudge it into the right direction manually. Se...
- 20 Jan 2014, 10:30
- Forum: Scripting and Automation
- Topic: Extension: Preserve Rename option?
- Replies: 3
- Views: 3541
Re: Extension: Preserve Rename option?
Figures...
btw if you run via cron job make sure you set excludeList to avoid multiple processing of the same files:
btw if you run via cron job make sure you set excludeList to avoid multiple processing of the same files:
Code: Select all
--def excludeList=amc.txt
- 20 Jan 2014, 02:51
- Forum: Scripting and Automation
- Topic: Extension: Preserve Rename option?
- Replies: 3
- Views: 3541
Re: Extension: Preserve Rename option?
If you use FileBot from cmdline it will let NEVER EVER let you override the extension, even if you wanted to, so there is no options.
Give me the amc logs where this happens and I'll have a look.
Give me the amc logs where this happens and I'll have a look.
- 20 Jan 2014, 02:41
- Forum: Feature Requests and Bug Reports
- Topic: MediaInfo problem
- Replies: 6
- Views: 5915
Re: MediaInfo problem
Your anti-virus is probably blocking the JNA library for some reason.
Have you tried with FileBot_4.0_RC1?
https://sourceforge.net/projects/filebo ... ebot/HEAD/
Have you tried with FileBot_4.0_RC1?
https://sourceforge.net/projects/filebo ... ebot/HEAD/
- 20 Jan 2014, 02:38
- Forum: Scripting and Automation
- Topic: Combine amc and watcher scripts
- Replies: 18
- Views: 10090
Re: Combine amc and watcher scripts
I've tried the same script and it starts working after 5 seconds when a file is added.
Is this what you're calling?
How would it know which folder to watch?
Is this what you're calling?
Code: Select all
filebot -script watcher_test.groovy
Code: Select all
filebot -script watcher_test.groovy /path/to/folder/to/watch
- 19 Jan 2014, 15:11
- Forum: Scripting and Automation
- Topic: Combine amc and watcher scripts
- Replies: 18
- Views: 10090
Re: Combine amc and watcher scripts
It all works fine.
I guess you're using a crappy windows editor that adds a byte marker to the beginning of the file, which makes it illegal groovy code. Use a good editor like notepad2 or notepad++ and NEVER EVER using anything made by microsoft like editor, wordpad or word.
I guess you're using a crappy windows editor that adds a byte marker to the beginning of the file, which makes it illegal groovy code. Use a good editor like notepad2 or notepad++ and NEVER EVER using anything made by microsoft like editor, wordpad or word.
- 19 Jan 2014, 10:06
- Forum: Scripting and Automation
- Topic: Combine amc and watcher scripts
- Replies: 18
- Views: 10090
Re: Combine amc and watcher scripts
batch file as in .bat file? Not sure what you mean, that doesn't make sense.
groovy script should be .groovy files and you should use filebot to execute the script with filebot -script script.groovy
When I say "latest version" I don't mean version 3.8 but the absolutely latest revision.
groovy script should be .groovy files and you should use filebot to execute the script with filebot -script script.groovy
When I say "latest version" I don't mean version 3.8 but the absolutely latest revision.
- 19 Jan 2014, 02:43
- Forum: Scripting and Automation
- Topic: Combine amc and watcher scripts
- Replies: 18
- Views: 10090
Re: Combine amc and watcher scripts
I tested with the latest revision. Your code seems to work.
You probably have issues in the rest of the script.
You probably have issues in the rest of the script.
- 18 Jan 2014, 12:46
- Forum: Scripting and Automation
- Topic: fn:cleaner script only seems to work on jpg files
- Replies: 3
- Views: 2955
Re: fn:cleaner script only seems to work on jpg files
You know that fn:cleaner only touches files in folders that do not contain any video files right?
- 18 Jan 2014, 12:37
- Forum: Scripting and Automation
- Topic: AMC - Music by Album instead of Artist
- Replies: 6
- Views: 4630
- 18 Jan 2014, 10:06
- Forum: Help and Support
- Topic: Language tag of subtitles changed
- Replies: 8
- Views: 6172
Re: Language tag of subtitles changed
I know, that's why I can't use Java Locale since in the iso standard there is only one language with different variants, so pb/pob is not in the standard technically. No worries, it's taken care of now. But people may have to change their format a bit.
- 18 Jan 2014, 09:47
- Forum: Scripting and Automation
- Topic: AMC - Music by Album instead of Artist
- Replies: 6
- Views: 4630
Re: AMC - Music by Album instead of Artist
Though for dealing with large music collections other tools might be more suitable. For music filebot just keeps things as simple as possible. The other MusicBrainz tools will be much better.
- 18 Jan 2014, 09:45
- Forum: Scripting and Automation
- Topic: AMC - Music by Album instead of Artist
- Replies: 6
- Views: 4630
Re: AMC - Music by Album instead of Artist
You can try and play with the format. Try the format editor and sample bindings. If the information you need to organize is there, then the rest is just groovy logic.
- 18 Jan 2014, 09:40
- Forum: Help and Support
- Topic: Language tag of subtitles changed
- Replies: 8
- Views: 6172
Re: Language tag of subtitles changed
I changed that. There's issue between Java Locale support and what people generally consider a "language". {lang} will now be a filebot-specific Language object, and not Locale, and default String value will be ISO3. The other values you may want you can get via properties * {lang.iso2} * ...
- 18 Jan 2014, 09:36
- Forum: Scripting and Automation
- Topic: Combine amc and watcher scripts
- Replies: 18
- Views: 10090
Re: Combine amc and watcher scripts
You're code has syntax errors. Your String literals are wrong.
If you pass in arguments just use '''...''' to avoid any escape issue that you may have with " or '
If you pass in arguments just use '''...''' to avoid any escape issue that you may have with " or '
- 16 Jan 2014, 16:35
- Forum: Scripting and Automation
- Topic: [AMC] No Extraction
- Replies: 3
- Views: 3698
Re: [AMC] No Extraction
So if the archive is password protected it still gets extracted but in a corrupt state?
Because filebot only extracts archives that contain at least one video file, and i guess if the archive is encrypted then it'll already fail at that point.
Because filebot only extracts archives that contain at least one video file, and i guess if the archive is encrypted then it'll already fail at that point.
- 16 Jan 2014, 16:31
- Forum: Scripting and Automation
- Topic: [AMC] Skip corrupted media
- Replies: 4
- Views: 3737
Re: [AMC] Skip corrupted media
It's 10 min by default. But for all the changes I've made in the last couple of months you need the latest revision:
https://sourceforge.net/projects/filebo ... ebot/HEAD/
Try this, if {duration} is empty then these files should be excluded.
https://sourceforge.net/projects/filebo ... ebot/HEAD/
Try this, if {duration} is empty then these files should be excluded.
- 16 Jan 2014, 08:33
- Forum: Help and Support
- Topic: Raspberry Pi - Pyload - Filebot problem
- Replies: 1
- Views: 2141
Re: Raspberry Pi - Pyload - Filebot problem
Does /usb/Download only contains new files, or lots of random files from previous downloads? In which case you must set excludeList : --def excludeList=amc-input.txt Keep a list of previously processed files to be ignored in future runs (if you run this script on the same files repeatedly you must e...
- 16 Jan 2014, 07:51
- Forum: Scripting and Automation
- Topic: [AMC] No Extraction
- Replies: 3
- Views: 3698
Re: [AMC] No Extraction
You have a point, but why wouldn't you want it to extract archives? Which archives do you not want to be extracted?
- 16 Jan 2014, 07:46
- Forum: Scripting and Automation
- Topic: [AMC] Skip corrupted media
- Replies: 4
- Views: 3737
Re: [AMC] Skip corrupted media
How do I know if media is corrupted? I think the newer amc scripts have a minDurationMS condition which should work. Corrupt files shouldn't have a mediainfo duration value, and thus be ignored.
- 15 Jan 2014, 15:40
- Forum: Help and Support
- Topic: amc beginner
- Replies: 1
- Views: 1897
Re: amc beginner
Both OK. But if you have your own local version of the script you won't get my rolling updates. So the preferred way would be to call fn:amc and set --def seriesFormat=...