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>
|
|
|
|
|
2019-01-23 21:57:52 +00:00
|
|
|
std::vector<std::pair<std::string, 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);
|
2019-01-23 19:46:03 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2019-01-25 23:50:26 +00:00
|
|
|
void singleSeason( const std::string &path, 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, 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, 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
|