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