From a7a0976c30a279041d1ebf4c0e5341c36aa6924c Mon Sep 17 00:00:00 2001 From: zvon Date: Wed, 23 Jan 2019 00:47:08 +0100 Subject: [PATCH] Fix bug when episodes have 'table' in their name --- tv_rename.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tv_rename.cpp b/tv_rename.cpp index 538eef9..949f474 100644 --- a/tv_rename.cpp +++ b/tv_rename.cpp @@ -42,7 +42,7 @@ void singleSeason( const std::string &path, const std::string &show, int season, auto pos = season_code.find("\"translations\""); if( pos != std::string::npos ) { season_code = season_code.substr(pos); - pos = season_code.find("table"); + pos = season_code.find(""); if( pos != std::string::npos ) season_code = season_code.substr(0,pos); else