Search found 6 matches

by Untoter
13 Jul 2014, 09:45
Forum: Scripting and Automation
Topic: AMC Add a new --command -> mkvalidator
Replies: 8
Views: 6157

Re: AMC Add a new --command -> mkvalidator

works

thx


#!/bin/bash
echo Working on "$1"

mkvalidator --quiet "$1"

RETVAL=$?
[ $RETVAL -eq 0 ] && echo Success
[ $RETVAL -ne 0 ] && echo Failure

if [ $RETVAL -ne 0 ]
then
mv "$1" /tank/media/incoming/failure
fi


this plus the commandoption above will add u a mkv validation.
by Untoter
13 Jul 2014, 09:10
Forum: Scripting and Automation
Topic: AMC Add a new --command -> mkvalidator
Replies: 8
Views: 6157

Re: AMC Add a new --command -> mkvalidator

i tried this

filebot --lang de -script /usr/bin/amc.groovy --output "/tank/media" \
--action move \
-non-strict \
"/tank/media/incoming/Serien" \
--def excludeList=amc.txt \
--conflict auto \
--def extras=y \
--def artwork=y \
--def unsorted=y \
--def xbmc=Ulla,Ulf \
--def clean=y ...
by Untoter
21 Jun 2014, 07:38
Forum: Scripting and Automation
Topic: AMC Add a new --command -> mkvalidator
Replies: 8
Views: 6157

Re: AMC Add a new --command -> mkvalidator

Hey

Even when i Start filebot from commandline? Not from utorrent.
by Untoter
20 Jun 2014, 20:08
Forum: Anything and Everything else
Topic: Thank you, rednoah :)
Replies: 4
Views: 9297

Re: Thank you, rednoah :)

Thank you, great software :)
by Untoter
20 Jun 2014, 20:02
Forum: Scripting and Automation
Topic: AMC Add a new --command -> mkvalidator
Replies: 8
Views: 6157

Re: AMC Add a new --command -> mkvalidator

how can i pass the path + (renamed)filename to my script?

like

--exec=/path/to/my/script.sh $1



Working on

ERR003: EBML head not found! Are you sure it's a matroska/webm file?
Failure



with this script


#!/bin/bash
echo Working on "$1"

mkvalidator --quiet "$1"

RETVAL=$?
[ $RETVAL -eq ...
by Untoter
20 Jun 2014, 19:01
Forum: Scripting and Automation
Topic: AMC Add a new --command -> mkvalidator
Replies: 8
Views: 6157

AMC Add a new --command -> mkvalidator

Hi,

i wish to add a new --command to AMC. in about every 10th episode i have a broken file and this i want to log.

with my Script


#!/bin/bash
mkvalidator --quiet "$1"
RETVAL=$?
[ $RETVAL -eq 0 ] && echo Success
[ $RETVAL -ne 0 ] && echo Failure


i can verify the mkv. With an edit Avi´s too ...