2019-01-19 12:40:10 +00:00
|
|
|
#ifndef TV_RENAME_HPP
|
|
|
|
#define TV_RENAME_HPP
|
|
|
|
|
|
|
|
#include <set>
|
|
|
|
#include "network.hpp"
|
|
|
|
|
2019-01-23 19:46:03 +00:00
|
|
|
#ifdef GUI
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
std::vector<std::pair<std::string, std::string>> singleSeason( const std::string &show, int season, std::string url, const std::string &language, const std::string &pattern, const bool &linux, Curl &c, const std::set<std::string> &files);
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2019-01-23 13:08:40 +00:00
|
|
|
void singleSeason( const std::string &path, const std::string &show, int season, std::string url, const std::string &language, const std::string &pattern, const bool &linux, const bool &trust, Curl &c, std::set<std::string> const *files=nullptr);
|
|
|
|
void multipleSeasons( const std::string &path, const std::string &show, const std::set<int> seasons, const std::string &language, const std::string &pattern, const bool &linux, const bool &trust, Curl &c);
|
|
|
|
void allSeasons( const std::string &path, const std::string &show, const std::string &language, const std::string &pattern, const bool &linux, const bool &trust, Curl &c);
|
2019-01-19 12:40:10 +00:00
|
|
|
|
|
|
|
#endif
|
2019-01-23 19:46:03 +00:00
|
|
|
|
|
|
|
#endif
|