From c2785ce3f3aee0e637251cdfa2e0884e2b3cad2d Mon Sep 17 00:00:00 2001 From: Ward Date: Tue, 6 May 2025 01:26:24 +1200 Subject: [PATCH 1/7] Remove cache --- materialious/src/lib/patches/youtubejs.ts | 24 +++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/materialious/src/lib/patches/youtubejs.ts b/materialious/src/lib/patches/youtubejs.ts index 88cdf7bd..fe8d52b4 100644 --- a/materialious/src/lib/patches/youtubejs.ts +++ b/materialious/src/lib/patches/youtubejs.ts @@ -29,23 +29,21 @@ export async function patchYoutubeJs(videoId: string): Promise { enable_session_cache: false }); - if (!get(poTokenCacheStore)) { - const visitorData = youtube.session.context.client.visitorData ?? ''; + const visitorData = youtube.session.context.client.visitorData ?? ''; - const requestKey = 'O43z0dpjhgX20SCx4KAo'; - const challengeResponse = await youtube.getAttestationChallenge('ENGAGEMENT_TYPE_UNBOUND'); + const requestKey = 'O43z0dpjhgX20SCx4KAo'; + const challengeResponse = await youtube.getAttestationChallenge('ENGAGEMENT_TYPE_UNBOUND'); - if (!challengeResponse.bg_challenge) throw new Error('Could not get challenge'); + if (!challengeResponse.bg_challenge) throw new Error('Could not get challenge'); - const platformMinter = - Capacitor.getPlatform() === 'android' - ? androidPoTokenMinter - : window.electronAPI.generatePoToken; + const platformMinter = + Capacitor.getPlatform() === 'android' + ? androidPoTokenMinter + : window.electronAPI.generatePoToken; - poTokenCacheStore.set( - await platformMinter(challengeResponse.bg_challenge, requestKey, visitorData) - ); - } + poTokenCacheStore.set( + await platformMinter(challengeResponse.bg_challenge, requestKey, visitorData) + ); const extraArgs: Record = { playbackContext: { From 910b622e4d36ef7b727b36f0faae97781f41abb8 Mon Sep 17 00:00:00 2001 From: Ward Date: Tue, 6 May 2025 01:27:06 +1200 Subject: [PATCH 2/7] Update package.json --- materialious/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/materialious/package.json b/materialious/package.json index 534b7dc9..32640e0d 100644 --- a/materialious/package.json +++ b/materialious/package.json @@ -1,6 +1,6 @@ { "name": "materialious", - "version": "1.8.3", + "version": "1.8.4", "private": true, "scripts": { "dev": "vite dev", @@ -71,4 +71,4 @@ "terser": "^5.34.1", "youtubei.js": "^13.4.0" } -} \ No newline at end of file +} From a9c8aa376e3132460d5e2dbdeebe3883fa64a129 Mon Sep 17 00:00:00 2001 From: Ward Date: Tue, 6 May 2025 01:27:38 +1200 Subject: [PATCH 3/7] Update package.json --- materialious/electron/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/materialious/electron/package.json b/materialious/electron/package.json index 0cfbe989..eb41388f 100644 --- a/materialious/electron/package.json +++ b/materialious/electron/package.json @@ -1,6 +1,6 @@ { "name": "Materialious", - "version": "1.8.3", + "version": "1.8.4", "description": "Modern material design for Invidious.", "author": { "name": "Ward Pearce", @@ -44,4 +44,4 @@ "capacitor", "electron" ] -} \ No newline at end of file +} From eea3cc2eb64be9f83e1e2ebc7364c32f3a136fb8 Mon Sep 17 00:00:00 2001 From: Ward Date: Tue, 6 May 2025 01:28:14 +1200 Subject: [PATCH 4/7] Update build.gradle --- materialious/android/app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/materialious/android/app/build.gradle b/materialious/android/app/build.gradle index c9508958..a0e89835 100644 --- a/materialious/android/app/build.gradle +++ b/materialious/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "us.materialio.app" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 107 - versionName "1.8.3" + versionCode 108 + versionName "1.8.4" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. From cd898c6051fd52904bd13757243522fbd1a4dbeb Mon Sep 17 00:00:00 2001 From: Ward Date: Tue, 6 May 2025 01:29:49 +1200 Subject: [PATCH 5/7] Update materialious.metainfo.xml --- materialious/electron/materialious.metainfo.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/materialious/electron/materialious.metainfo.xml b/materialious/electron/materialious.metainfo.xml index 621d82a0..75ed49ae 100644 --- a/materialious/electron/materialious.metainfo.xml +++ b/materialious/electron/materialious.metainfo.xml @@ -66,8 +66,10 @@ - - + + + https://github.com/Materialious/Materialious/releases/tag/1.8.4 + https://github.com/Materialious/Materialious/releases/tag/1.8.3 @@ -123,4 +125,4 @@ https://github.com/Materialious/Materialious/releases/tag/1.6.18 - \ No newline at end of file + From 7d3342cbadce13b3f59ac417d51e85e3df3d3328 Mon Sep 17 00:00:00 2001 From: Yurt Page Date: Thu, 22 May 2025 10:24:43 +0300 Subject: [PATCH 6/7] fastlane full_description.txt: remove unsuppported HTML tags --- .../android/en-US/full_description.txt | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt index 05bd7247..602703eb 100644 --- a/fastlane/metadata/android/en-US/full_description.txt +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -1 +1,26 @@ -

Materialious is a client for Invidious using material design. It lets you browse and watch videos, manage playlists and use channels.


Features:

  • Invidious API extended integration!
  • Sync your watch progress between Invidious sessions
  • Watch sync parties!
  • Preview video on hover.
  • Sponsorblock built-in.
  • Return YouTube dislikes built-in.
  • DeArrow built-in (With local processing fallback).
  • Video progress tracking & resuming.
  • No ads.
  • No tracking.
  • Light/Dark themes.
  • Custom colour themes.
  • Integrates with Invidious subscriptions, watch history & more.
  • Live stream support.
  • Dash support.
  • Chapters.
  • Audio only mode.
  • Playlists.
  • PWA support.
  • YT path redirects (So your redirect plugins should still work!)
\ No newline at end of file +Materialious is a client for Invidious using material design. +It lets you browse and watch videos, manage playlists and use channels. + +Features: +
    +
  • Invidious API extended integration!
  • +
  • Sync your watch progress between Invidious sessions
  • +
  • Watch sync parties!
  • +
  • Preview video on hover.
  • +
  • Sponsorblock built-in.
  • +
  • Return YouTube dislikes built-in.
  • +
  • DeArrow built-in (With local processing fallback).
  • +
  • Video progress tracking & resuming.
  • +
  • No ads.
  • +
  • No tracking.
  • +
  • Light and dark themes.
  • +
  • Custom colour themes.
  • +
  • Integrates with Invidious subscriptions, watch history & more.
  • +
  • Live stream support.
  • +
  • Dash support.
  • +
  • Chapters.
  • +
  • Audio only mode.
  • +
  • Playlists.
  • +
  • PWA support.
  • +
  • YT path redirects (So your redirect plugins should still work!)
  • +
From ecac563794b6ed176965ea66683df22cb15e5dd7 Mon Sep 17 00:00:00 2001 From: Ward Date: Mon, 26 May 2025 23:29:07 +1200 Subject: [PATCH 7/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 141e7877..fd4b1b60 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ brew install --cask spotube - Every dependency in [package.json](/materialious/package.json). - [LuanRT](https://github.com/LuanRT) for YouTube.js & SABR implementation. - [FreeTube](https://github.com/FreeTubeApp/FreeTube) for their subtitle fix. -- [spotube](https://github.com/KRTirtho/spotube) for using their README layout for local installation.free +- [spotube](https://github.com/KRTirtho/spotube) for using their README layout for local installation. # Developers - [How Materialious is built](./docs/BUILDING.md)