mirror of
https://github.com/Jonny007-MKD/OTR-SaneRename
synced 2025-01-22 08:49:48 +01:00
Fixed or introduced bug
This commit is contained in:
parent
90208697d3
commit
ed70025341
1 changed files with 3 additions and 3 deletions
|
@ -300,10 +300,10 @@ function funcGetEpgEpisodeTitle {
|
||||||
episode_title="${episode_title#$series_title_file}" # Get the title without the series title
|
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
|
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
|
if [ -z "$episode_title" ]; then
|
||||||
eecho -e " EPG:\tNo Episode title found"
|
eecho -e " EPG:\tNo episode title found"
|
||||||
else
|
else
|
||||||
tmp="$(echo $tmp | sed -e 's/^[^a-zA-Z0-9]*//' -e 's/ *$//')"
|
episode_title="$(echo $episode_title | sed -e 's/^[^a-zA-Z0-9]*//' -e 's/ *$//')"
|
||||||
eecho -e " EPG:\tEpisode title:\t$tmp" # We found some title :)
|
eecho -e " EPG:\tEpisode title:\t$episode_title" # We found some title :)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue