From 7375f1e82cb53d6f3a13b68b166fa064be8c2a11 Mon Sep 17 00:00:00 2001 From: Nottt Date: Tue, 7 Nov 2017 10:16:20 -0200 Subject: [PATCH] Updated Custom Post Processing Scripts (markdown) --- Custom-Post-Processing-Scripts.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Custom-Post-Processing-Scripts.md b/Custom-Post-Processing-Scripts.md index bc036ad..773b6ee 100644 --- a/Custom-Post-Processing-Scripts.md +++ b/Custom-Post-Processing-Scripts.md @@ -130,4 +130,12 @@ if [[ $PERMFILESIZE == $ORIGFILESIZE ]]; then rm "$LINKPATH" ln -s "$PERMPATH" "$LINKPATH" fi -``` \ No newline at end of file +``` + +A quick way to test scripts is to create a testing environment using Movie Test (2013). + +``` +mkdir -p ~/test && cd ~/test && touch "Test (2013).nfo" && touch "Test (2013).por.srt" && touch "Test (2013).por.forced.srt" && touch "Test (2013).eng.srt" && touch "Test (2013).mkv" && cp -R ~/test /path/to/folder/to/import. +``` + +This way you can manual import this movie and trigger the script. You can just run it again to repopulate the files.