[Python] rescepy - automated ReScene reconstruction.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
Ubuntu. i gave up on freenas idea. Im not sure how sabnzbd runs the script but i have the script in the "scripts" folder
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
Does it rename correctly when run manually?
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
Yeah that's how I tested it the other day.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
Yeah that did not work either it made the file "bin-1.m2ts".sweetie wrote: Where the heck are you runing it from? It's set to rename to "${PWD##*/}" which is current directory name. Only way it could turn out 'bin' is if you're running from there. ???
You could try changing:
to:Code: Select all
if [ "$inputfs" -gt "262144000" -a "$allmkv" -le "1" ]; then output="$CWD.m2ts" elif [ "$inputfs" -lt "262144000" ]; then output="$CWD-Sample-$inputfs.m2ts" elif [ "$inputfs" -gt "262144000" -a "$allmkv" -ge "2" ]; then output="$CWD-$inputcount.m2ts"; ((inputcount++)); fi
You'll have to have sample downloads disabled in SAB.Code: Select all
output="$CWD-$inputcount.m2ts"; ((inputcount++))
Let me know.
Is this on Ubuntu still btw? or FreeNAS?
I have Ignore Samples: do not download. Is that disabled for sample downloads?
BTW im using the new sabnzbd, the beta.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
You could try replacing all "$CWD" with "$3".
Can restore the edit I posted before as well.
Also, remove the line:
Can restore the edit I posted before as well.
Also, remove the line:
Code: Select all
CWD="${PWD##*/"}
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
lol, file name come out like Shaun.The.Sheep.S03E10.720p.HDTV.x264-SFM-Sample-195429011.m2ts that.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
Well that's good. All files 250MB.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
Can you repost your script? The link is dead.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
Reposted, thanks for notifying.
Can't remember if there have been any mods. since last update (other than ReScene 1.1 now) - if you run into any bugs* let me know,
*Other than the -j option locking up - seems to happen after a recent bash update. (not sure how to repair it - will look into it later.)
Can't remember if there have been any mods. since last update (other than ReScene 1.1 now) - if you run into any bugs* let me know,
*Other than the -j option locking up - seems to happen after a recent bash update. (not sure how to repair it - will look into it later.)
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
I still get all the fun errors like i did before. If you ever get time and have a extra machine, trying running your script on ubuntu.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
I'm using the sorting feature in sabnzbd. I was wondering how to turn off the delete folder and everything in your script. Right now it will delete the folder the sorring feature makes. But I would need the mkv gone still. Any help would be great.
Re: [Linux/OSX - Bash] scenesort script. [v3 - AIO post-post-processor.]
At the top, if you change mux options to:
SAVE_MUX_INPUT="0" ##set to 1 to retain MKV/AVI input files.
MUX_ONE_UP="0" ##move mux output up one level.
REMOVE_INPUT_DIR="0" ##remove input dir. after muxing/joining. (MUX_ONE_UP must be "1", SAVE_MUX_INPUT must be "0")
It should do the trick. Haven't tested the script with SAB sorting, so let me know how it goes.
(Still haven't with Ubuntu either btw. May do later this month.)
SAVE_MUX_INPUT="0" ##set to 1 to retain MKV/AVI input files.
MUX_ONE_UP="0" ##move mux output up one level.
REMOVE_INPUT_DIR="0" ##remove input dir. after muxing/joining. (MUX_ONE_UP must be "1", SAVE_MUX_INPUT must be "0")
It should do the trick. Haven't tested the script with SAB sorting, so let me know how it goes.
(Still haven't with Ubuntu either btw. May do later this month.)
Re: [bash] SceneSort [v3 - AIO post-processor script.]
it works but you get tsmuxer logs and srf files. Other then that it works great.
Re: [bash] SceneSort [v3 - AIO post-processor script.]
Ah right. The function that clears those is set to run right at the end, and if the directories have moved, it won't be looking in the right places.
You can add "cleanup" to the base of the mkv2m2ts function (before the final '}') if you're bothered by them. (is this with the script in its entirety btw? or just the isolated mkv2m2ts function?)
You can add "cleanup" to the base of the mkv2m2ts function (before the final '}') if you're bothered by them. (is this with the script in its entirety btw? or just the isolated mkv2m2ts function?)
Re: [bash] SceneSort [v3 - AIO post-processor script.]
its pretty much isolated mkv2m2ts. Im lost on where to add "cleanup"
this is what i have for the script http://pastebin.com/hx6S7EVt
this is what i have for the script http://pastebin.com/hx6S7EVt
Last edited by stabu on May 7th, 2010, 5:11 pm, edited 1 time in total.