keep invidious instances list in the same order

as suggested by @TobiGr
This commit is contained in:
bopol 2021-01-22 20:58:14 +01:00
parent 53d3f7989b
commit 67ddfefdc6
1 changed files with 4 additions and 4 deletions

View File

@ -183,9 +183,10 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
// there is no break-statement here on purpose so the next code-block gets also run for hooktube
}
case "WWW.INVIDIO.US":
case "DEV.INVIDIO.US":
case "INVIDIO.US":
case "DEV.INVIDIO.US":
case "WWW.INVIDIO.US":
case "REDIRECT.INVIDIOUS.IO":
case "INVIDIOUS.SNOPYTA.ORG":
case "YEWTU.BE":
case "TUBE.CONNECT.CAFE":
@ -200,8 +201,7 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
case "INVIDIOUS.048596.XYZ":
case "INVIDIOUS.ZEE.LI":
case "VID.PUFFYAN.US":
case "YTPRIVATE.COM":
case "REDIRECT.INVIDIOUS.IO": { // code-block for hooktube.com and Invidious instances
case "YTPRIVATE.COM": { // code-block for hooktube.com and Invidious instances
if (path.equals("watch")) {
String viewQueryValue = Utils.getQueryValue(url, "v");
if (viewQueryValue != null) {