2011-05-29, 18:38
I seem to have a little bug... Most of the shows are moving fine, however, I hit a filename being generated with an invalid character (on UNIX anyway) '/'...
"2020 S2011E429 (A Special Edition of 20/20: A Modern Fairytale Recorded [email][email protected]).mpg[/email]"
I fixed it locally, though there's probably a better way...
At line 2749 I added ShowFileName=${ShowFileName//["/"]/}
"2020 S2011E429 (A Special Edition of 20/20: A Modern Fairytale Recorded [email][email protected]).mpg[/email]"
I fixed it locally, though there's probably a better way...
At line 2749 I added ShowFileName=${ShowFileName//["/"]/}
Code:
#####MAKE THE FOLDER#####
MakeFolder
ShowFileName=${ShowFileName//["/"]/}
#check to see if output folder exists
test -d "$MoveDir" && echo "TARGET SET:$MoveDir/$ShowFileName.$OriginalExt"||echo "ERROR: COULD NOT CREATE FOLDER:$MoveDir/$ShowFileName"