From ed7002534197b5fbfff7b99c67bc25ca35af4e60 Mon Sep 17 00:00:00 2001 From: Jonny007-MKD Date: Sun, 26 Oct 2014 14:00:44 +0100 Subject: [PATCH] Fixed or introduced bug --- saneRenamix.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/saneRenamix.sh b/saneRenamix.sh index 527125d..0428cfa 100755 --- a/saneRenamix.sh +++ b/saneRenamix.sh @@ -300,10 +300,10 @@ function funcGetEpgEpisodeTitle { episode_title="${episode_title#$series_title_file}" # Get the title without the series title episode_title="$(echo ${episode_title#$series_title_tvdb} | sed -e 's/^[^a-zA-Z0-9]*//' -e 's/ *$//')" # Get the title without the series title if [ -z "$episode_title" ]; then - eecho -e " EPG:\tNo Episode title found" + eecho -e " EPG:\tNo episode title found" else - tmp="$(echo $tmp | sed -e 's/^[^a-zA-Z0-9]*//' -e 's/ *$//')" - eecho -e " EPG:\tEpisode title:\t$tmp" # We found some title :) + episode_title="$(echo $episode_title | sed -e 's/^[^a-zA-Z0-9]*//' -e 's/ *$//')" + eecho -e " EPG:\tEpisode title:\t$episode_title" # We found some title :) fi }