Skip to content

Commit 4469ce5

Browse files
committed
Remove Crunchyroll and Funimation support
Since they removed the relevant information from the page title, it's no longer possible to detect the currently playing anime. See #994, #1003 and #1011 for details.
1 parent bad3e0a commit 4469ce5

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

src/track/media_stream.cpp

-31
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,6 @@ static const std::vector<StreamData> stream_data{
5555
std::regex("animenewsnetwork\\.(?:com|cc)/video/[0-9]+"),
5656
std::regex("(.+) - Anime News Network"),
5757
},
58-
// Crunchyroll
59-
{
60-
Stream::Crunchyroll,
61-
L"Crunchyroll",
62-
L"http://www.crunchyroll.com",
63-
std::regex(
64-
"crunchyroll\\.[a-z.]+/[^/]+/(?:[^/]+/)?(?:"
65-
"episode-[0-9]+.*|"
66-
".*-(?:movie|ona|ova)"
67-
")-[0-9]+"
68-
),
69-
std::regex("(.+) - Watch on Crunchyroll"),
70-
},
71-
// Funimation
72-
{
73-
Stream::Funimation,
74-
L"Funimation",
75-
L"https://www.funimation.com",
76-
std::regex("funimation\\.com/shows/[^/]+/[^/]+/"),
77-
std::regex("(?:Watch )?(.+) Anime.* (?:on|-) Funimation"),
78-
},
7958
// HIDIVE
8059
{
8160
Stream::Hidive,
@@ -172,10 +151,6 @@ bool IsStreamEnabled(const Stream stream) {
172151
return taiga::settings.GetStreamAdn();
173152
case Stream::Ann:
174153
return taiga::settings.GetStreamAnn();
175-
case Stream::Crunchyroll:
176-
return taiga::settings.GetStreamCrunchyroll();
177-
case Stream::Funimation:
178-
return taiga::settings.GetStreamFunimation();
179154
case Stream::Hidive:
180155
return taiga::settings.GetStreamHidive();
181156
case Stream::Jellyfin:
@@ -209,12 +184,6 @@ void EnableStream(const Stream stream, const bool enabled) {
209184
case Stream::Ann:
210185
taiga::settings.SetStreamAnn(enabled);
211186
break;
212-
case Stream::Crunchyroll:
213-
taiga::settings.SetStreamCrunchyroll(enabled);
214-
break;
215-
case Stream::Funimation:
216-
taiga::settings.SetStreamFunimation(enabled);
217-
break;
218187
case Stream::Hidive:
219188
taiga::settings.SetStreamHidive(enabled);
220189
break;

src/track/media_stream.h

-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ enum class Stream {
2828
Animelab,
2929
Adn,
3030
Ann,
31-
Crunchyroll,
32-
Funimation,
3331
Hidive,
3432
Jellyfin,
3533
Plex,

0 commit comments

Comments
 (0)