mirror of
https://github.com/Jonny007-MKD/OTR-SaneRename
synced 2025-01-22 08:49:48 +01:00
Fix an mistake: Always false tests
This commit is contained in:
parent
927d38b738
commit
8b2b6dbf25
1 changed files with 3 additions and 3 deletions
|
@ -594,7 +594,7 @@ function doItEpisodes {
|
|||
fi
|
||||
if [ -z "$episode_info" ] && ! $episode_title_set && [[ "$episode_title" == *,* ]]; then # No info found and we are allowed to search and our title contains a ","
|
||||
funcGetEpisodeTitleFromEpg "." "," # Try again with . AND , as delimiter
|
||||
if [ -n "episode_title" ]; then # If we have got an episode title
|
||||
if [ -n "$episode_title" ]; then # If we have got an episode title
|
||||
funcGetEpisodeInfoByTitle
|
||||
else
|
||||
eecho -e " EPG:\tNo episode title found in EPG!"
|
||||
|
@ -604,13 +604,13 @@ function doItEpisodes {
|
|||
|
||||
if [ -z "$episode_info" ] && ! $episode_title_set; then # No info found and delimiter , is possible:
|
||||
funcGetEpisodeTitleFromEpg "," # Try again with , as delimiter
|
||||
if [ -n "episode_title" ]; then # If we have got an episode title
|
||||
if [ -n "$episode_title" ]; then # If we have got an episode title
|
||||
funcGetEpisodeInfoByTitle
|
||||
fi
|
||||
fi
|
||||
if [ -z "$episode_info" ] && ! $episode_title_set && [[ "$episode_title" == *.* ]]; then # No info found and our title contains a "."
|
||||
funcGetEpisodeTitleFromEpg "," "." # Try again with , AND . as delimiter
|
||||
if [ -n "episode_title" ]; then # If we have got an episode title
|
||||
if [ -n "$episode_title" ]; then # If we have got an episode title
|
||||
funcGetEpisodeInfoByTitle
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue