EMKO Posted October 20, 2015 Share Posted October 20, 2015 I don't need subtitles to be default ON on my tv shows as they are all in English and for some reason WEBDL all have subtitles that default to ON, i found a way to change it to off but i want to make a post processing script out of it. find . -name "*.mkv" -exec mkvpropedit {} --edit track:s1 --set flag-default=0 \; how can i make something like that into a script that will work for nzbget? i think it should be mkvpropedit filename.mkv --edit track:s1 --set flag-default=0 now how do i get nzbget to do this? Quote Link to comment
EMKO Posted October 22, 2015 Author Share Posted October 22, 2015 hugbug the guy who created nzbget made this for me works great save it as .sh if anyone needs something like that. #!/bin/sh ####################################### ### NZBGET POST-PROCESSING SCRIPT ### # Change default subtitles to 0. # # The script changes default subtitles to 0 on WEBDL tv shows. # # The long description can have multiple paragraphs when needed. Like # this one. ### NZBGET POST-PROCESSING SCRIPT ### ####################################### POSTPROCESS_SUCCESS=93 POSTPROCESS_ERROR=94 echo "Processing..." cd $NZBPP_DIRECTORY find . -name "*.mkv" -exec mkvpropedit {} --edit track:s1 --set flag-default=0 \; exit $POSTPROCESS_SUCCESS 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.