mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
@@ -6,7 +6,7 @@ const mangayomiSources = [{
|
|||||||
"iconUrl": "https://www.google.com/s2/favicons?sz=128&domain=https://aniplaynow.live/",
|
"iconUrl": "https://www.google.com/s2/favicons?sz=128&domain=https://aniplaynow.live/",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"itemType": 1,
|
"itemType": 1,
|
||||||
"version": "1.2.3",
|
"version": "1.2.4",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
"dateFormatLocale": "",
|
"dateFormatLocale": "",
|
||||||
"pkgPath": "anime/src/en/aniplay.js"
|
"pkgPath": "anime/src/en/aniplay.js"
|
||||||
@@ -389,12 +389,11 @@ class DefaultExtension extends MProvider {
|
|||||||
var slug = "/fetch?url="
|
var slug = "/fetch?url="
|
||||||
var ref = "&ref="
|
var ref = "&ref="
|
||||||
if (providerId == "yuki") {
|
if (providerId == "yuki") {
|
||||||
slug = "/yukiprox?url="
|
ref += "https://hianime.to"
|
||||||
ref = ""
|
|
||||||
} else if (providerId == "pahe") {
|
} else if (providerId == "pahe") {
|
||||||
ref += "https://kwik.si"
|
ref += "https://kwik.si"
|
||||||
} else if (providerId === "maze") {
|
} else if (providerId === "maze") {
|
||||||
ref += "https://animez.org"
|
ref += ""
|
||||||
} else if (providerId === "kuro") {
|
} else if (providerId === "kuro") {
|
||||||
ref = ""
|
ref = ""
|
||||||
}
|
}
|
||||||
@@ -534,7 +533,7 @@ class DefaultExtension extends MProvider {
|
|||||||
streams = await this.getAnyStreams(result) //If new provider found getAnyStreams will extract only the streams
|
streams = await this.getAnyStreams(result) //If new provider found getAnyStreams will extract only the streams
|
||||||
}
|
}
|
||||||
|
|
||||||
streams = await this.streamProxy(providerId, streams)
|
if (this.getPreference("aniplay_proxy")) streams = await this.streamProxy(providerId, streams)
|
||||||
return await this.sortStreams(streams)
|
return await this.sortStreams(streams)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -585,14 +584,14 @@ class DefaultExtension extends MProvider {
|
|||||||
"entries": ["Sub", "Dub"],
|
"entries": ["Sub", "Dub"],
|
||||||
"entryValues": ["sub", "dub"],
|
"entryValues": ["sub", "dub"],
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"key": "aniplay_pref_extract_streams",
|
"key": "aniplay_pref_extract_streams",
|
||||||
"switchPreferenceCompat": {
|
"switchPreferenceCompat": {
|
||||||
'title': 'Split stream into different quality streams',
|
'title': 'Split stream into different quality streams',
|
||||||
"summary": "Split stream Auto into 360p/720p/1080p",
|
"summary": "Split stream Auto into 360p/720p/1080p",
|
||||||
"value": true
|
"value": true
|
||||||
}
|
}
|
||||||
},{
|
}, {
|
||||||
key: 'aniplay_pref_video_resolution',
|
key: 'aniplay_pref_video_resolution',
|
||||||
listPreference: {
|
listPreference: {
|
||||||
title: 'Preferred video resolution',
|
title: 'Preferred video resolution',
|
||||||
@@ -601,6 +600,13 @@ class DefaultExtension extends MProvider {
|
|||||||
entries: ["Auto", "1080p", "720p", "480p", "360p"],
|
entries: ["Auto", "1080p", "720p", "480p", "360p"],
|
||||||
entryValues: ["auto", "1080", "720", "480", "360"]
|
entryValues: ["auto", "1080", "720", "480", "360"]
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
key: "aniplay_proxy",
|
||||||
|
switchPreferenceCompat: {
|
||||||
|
title: 'Enable stream proxy',
|
||||||
|
summary: "",
|
||||||
|
value: false
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "aniplay_stream_proxy",
|
key: "aniplay_stream_proxy",
|
||||||
editTextPreference: {
|
editTextPreference: {
|
||||||
|
|||||||
Reference in New Issue
Block a user