aboutsummaryrefslogtreecommitdiff
path: root/plugins/utils
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-01-17 19:05:15 +0100
committerdec05eba <dec05eba@protonmail.com>2023-01-17 19:05:15 +0100
commitd203aba86d89c8dd6184146454396e48d39a8fb5 (patch)
tree584fa3856ca7ab534a111f43e0fc93564116a8d9 /plugins/utils
parent454f09ac14a76a46335eed60d4e242c446ae28be (diff)
NyaaSi: add ctrl+t to track anime with automedia
Diffstat (limited to 'plugins/utils')
-rw-r--r--plugins/utils/EpisodeNameParser.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/utils/EpisodeNameParser.hpp b/plugins/utils/EpisodeNameParser.hpp
index 1ec847a..7976cdc 100644
--- a/plugins/utils/EpisodeNameParser.hpp
+++ b/plugins/utils/EpisodeNameParser.hpp
@@ -5,10 +5,11 @@
namespace QuickMedia {
struct EpisodeNameParts {
- std::string_view group; // optional
- std::string_view anime; // required
- std::string_view season; // optional
- std::string_view episode; // required
+ std::string_view group; // optional
+ std::string_view anime; // required
+ std::string_view season; // optional
+ std::string_view episode; // required
+ std::string_view resolution; // optional
};
std::optional<EpisodeNameParts> episode_name_extract_parts(std::string_view episode_name);