#ifndef TV_RENAME_HPP #define TV_RENAME_HPP #include #include #include "network.hpp" #ifdef _WIN32 using string = std::wstring; using char_t = wchar_t; #else using string = std::string; using char_t = char; #endif void singleSeason( const string &path, string &show, int season, string id, const string &language, const string &pattern, const bool &linux, const bool &trust, std::set< string > const *files_ptr = nullptr, bool print = true, bool dvd = false ); #ifdef GUI std::vector< std::pair< string, std::pair< string, string > > > getRenamedFiles( const string &show, int season, string url, const string &language, const string &pattern, const bool &linux, Curl &c, const std::set< string > &files ); #else void multipleSeasons( const string &path, string &show, const std::set< int > seasons, const string &language, const string &pattern, const bool &linux, const bool &trust, bool dvd = false ); void allSeasons( const string &path, string &show, const string &language, const string &pattern, const bool &linux, const bool &trust, bool dvd = false ); #endif void printLangs(); bool findLanguage( const char_t *language ); bool authenticate( const std::string &api_key ); string getShowId( string &show, const string &language ); string showNameFromId( const string &id, const string &language ); std::vector< std::pair< string, string > > searchShow( const string &show, const string &language ); #endif // TV_RENAME_HPP