mirror of
				https://github.com/Jonny007-MKD/OTR-SaneRename
				synced 2025-11-03 16:15:35 +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
 | 
						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 ","
 | 
						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
 | 
							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
 | 
								funcGetEpisodeInfoByTitle
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			eecho -e "    EPG:\tNo episode title found in EPG!"
 | 
								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:
 | 
						if [ -z "$episode_info" ] && ! $episode_title_set; then	# No info found and delimiter , is possible:
 | 
				
			||||||
		funcGetEpisodeTitleFromEpg ","						# Try again with , as delimiter
 | 
							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
 | 
								funcGetEpisodeInfoByTitle
 | 
				
			||||||
		fi
 | 
							fi
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
	if [ -z "$episode_info" ] && ! $episode_title_set && [[ "$episode_title" == *.* ]]; then	# No info found and our title contains a "."
 | 
						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
 | 
							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
 | 
								funcGetEpisodeInfoByTitle
 | 
				
			||||||
		fi
 | 
							fi
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue