2011-11-08, 05:29
I don't know about how to check for handbrake.. try
read more here:http://wiki.xbmc.org/index.php?title=Myt...n_UserJobs
I didn't add all the variables into the wiki, although, please feel free to add your completed job to that page as an example.
Code:
#If confidence > 1 or show is not episide
if [ $ConfidenceRating -gt 1 || $mythicalLibrarianProgramIDCheck =! "EP" ]; then
#run Handbrake
handbrake --params
#IF handbrake was sucessful
if [ $? = 0]; then
#run mythdatadeleter or something.
do stuff;
do stuff;
fi
fi
I didn't add all the variables into the wiki, although, please feel free to add your completed job to that page as an example.