Use videoid for content binding
This commit is contained in:
@@ -7,8 +7,8 @@ android {
|
||||
applicationId "us.materialio.app"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 153
|
||||
versionName "1.10.12"
|
||||
versionCode 154
|
||||
versionName "1.10.13"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
aaptOptions {
|
||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||
|
||||
@@ -70,7 +70,11 @@
|
||||
|
||||
|
||||
|
||||
<release version="1.10.12" date="2025-10-07">
|
||||
|
||||
<release version="1.10.13" date="2025-10-08">
|
||||
<url>https://github.com/Materialious/Materialious/releases/tag/1.10.13</url>
|
||||
</release>
|
||||
<release version="1.10.12" date="2025-10-07">
|
||||
<url>https://github.com/Materialious/Materialious/releases/tag/1.10.12</url>
|
||||
</release>
|
||||
<release version="1.10.11" date="2025-9-25">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Materialious",
|
||||
"version": "1.10.12",
|
||||
"version": "1.10.13",
|
||||
"description": "Modern material design for Invidious.",
|
||||
"author": {
|
||||
"name": "Ward Pearce",
|
||||
@@ -44,4 +44,4 @@
|
||||
"capacitor",
|
||||
"electron"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "materialious",
|
||||
"version": "1.10.12",
|
||||
"version": "1.10.13",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
||||
@@ -26,8 +26,6 @@ export async function patchYoutubeJs(videoId: string): Promise<VideoPlay> {
|
||||
player_id: '0004de42'
|
||||
});
|
||||
|
||||
const visitorData = youtube.session.context.client.visitorData ?? '';
|
||||
|
||||
const requestKey = 'O43z0dpjhgX20SCx4KAo';
|
||||
|
||||
const platformMinter =
|
||||
@@ -64,11 +62,11 @@ export async function patchYoutubeJs(videoId: string): Promise<VideoPlay> {
|
||||
}
|
||||
|
||||
if (video.basic_info.is_live) {
|
||||
poTokenCacheStore.set(await platformMinter(requestKey, visitorData));
|
||||
poTokenCacheStore.set(await platformMinter(requestKey, videoId));
|
||||
} else {
|
||||
poTokenCacheStore.set(BG.PoToken.generateColdStartToken(visitorData));
|
||||
poTokenCacheStore.set(BG.PoToken.generateColdStartToken(videoId));
|
||||
|
||||
platformMinter(requestKey, visitorData).then((poToken) => poTokenCacheStore.set(poToken));
|
||||
platformMinter(requestKey, videoId).then((poToken) => poTokenCacheStore.set(poToken));
|
||||
}
|
||||
|
||||
let dashUri: string | undefined;
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ import os
|
||||
import re
|
||||
from datetime import datetime
|
||||
|
||||
LATEST_VERSION = "1.10.12"
|
||||
LATEST_VERSION = "1.10.13"
|
||||
RELEASE_DATE = datetime.now().strftime("%Y-%-m-%d") # Format: YYYY-M-D
|
||||
|
||||
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
|
||||
|
||||
Reference in New Issue
Block a user