diff --git a/README.md b/README.md
index a8566fb6..d284233a 100644
--- a/README.md
+++ b/README.md
@@ -98,18 +98,14 @@ I've commented out places what aren't relevant but might be in the future.-->
-
+
+
Flatpak
@@ -136,13 +132,6 @@ I've commented out places what aren't relevant but might be in the future.-->
Then run: sudo apt install ./Materialious-linux-amd64.deb
-
Fedora/OpenSuse
@@ -161,34 +150,6 @@ I've commented out places what aren't relevant but might be in the future.-->
-
# Translations
diff --git a/materialious/android/.idea/deploymentTargetSelector.xml b/materialious/android/.idea/deploymentTargetSelector.xml
index a519e2fb..dbafbf1e 100644
--- a/materialious/android/.idea/deploymentTargetSelector.xml
+++ b/materialious/android/.idea/deploymentTargetSelector.xml
@@ -4,10 +4,10 @@
-
+
-
+
diff --git a/materialious/android/app/build.gradle b/materialious/android/app/build.gradle
index d92b4bf1..8557a778 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 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.
diff --git a/materialious/electron/materialious.metainfo.xml b/materialious/electron/materialious.metainfo.xml
index a2b97e46..eac2a1f5 100644
--- a/materialious/electron/materialious.metainfo.xml
+++ b/materialious/electron/materialious.metainfo.xml
@@ -70,7 +70,11 @@
-
+
+
+ https://github.com/Materialious/Materialious/releases/tag/1.10.13
+
+
https://github.com/Materialious/Materialious/releases/tag/1.10.12
diff --git a/materialious/electron/package-lock.json b/materialious/electron/package-lock.json
index af1b2872..f8104d17 100644
--- a/materialious/electron/package-lock.json
+++ b/materialious/electron/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "Materialious",
- "version": "1.10.12",
+ "version": "1.10.13",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "Materialious",
- "version": "1.10.12",
+ "version": "1.10.13",
"license": "MIT",
"dependencies": {
"@capacitor-community/electron": "^5.0.0",
diff --git a/materialious/electron/package.json b/materialious/electron/package.json
index c72f4c7a..2ef9144a 100644
--- a/materialious/electron/package.json
+++ b/materialious/electron/package.json
@@ -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"
]
-}
+}
\ No newline at end of file
diff --git a/materialious/package.json b/materialious/package.json
index cd20e71b..91c42b3c 100644
--- a/materialious/package.json
+++ b/materialious/package.json
@@ -1,6 +1,6 @@
{
"name": "materialious",
- "version": "1.10.12",
+ "version": "1.10.13",
"private": true,
"scripts": {
"dev": "vite dev",
diff --git a/materialious/src/lib/components/Settings/About.svelte b/materialious/src/lib/components/Settings/About.svelte
new file mode 100644
index 00000000..da909131
--- /dev/null
+++ b/materialious/src/lib/components/Settings/About.svelte
@@ -0,0 +1,81 @@
+
+
+
+ Materialious is a modern material design frontend for Invidious, focused on a clean,
+ privacy-friendly YouTube experience. It supports local video fallback when Invidious fails and is
+ available on Web, Desktop, Android, and Android TV.
+
+
+
+
+
+
+
+ {$_('version')}
+ {import.meta.env.APP_VERSION}
+
+
+
+
+{$_('contributors')}
+
+
+ {#each ghContributors as contributor}
+ {#if contributor.type === 'User'}
+
+
+
+ {contributor.login}
+
+
+ {/if}
+ {/each}
+
+
+
diff --git a/materialious/src/lib/components/Settings/DataPreferences.svelte b/materialious/src/lib/components/Settings/DataPreferences.svelte
deleted file mode 100644
index 30f2bafc..00000000
--- a/materialious/src/lib/components/Settings/DataPreferences.svelte
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
- {$_('layout.dataPreferences.content')}
-
-
diff --git a/materialious/src/lib/components/Settings/Settings.svelte b/materialious/src/lib/components/Settings/Settings.svelte
index 2d14687a..d6de89a4 100644
--- a/materialious/src/lib/components/Settings/Settings.svelte
+++ b/materialious/src/lib/components/Settings/Settings.svelte
@@ -2,13 +2,13 @@
import { onMount } from 'svelte';
import { _ } from '$lib/i18n';
import ApiExtended from './ApiExtended.svelte';
- import DataPreferences from './DataPreferences.svelte';
import DeArrow from './DeArrow.svelte';
import Interface from './Interface.svelte';
import Player from './Player.svelte';
import Ryd from './RYD.svelte';
import SponsorBlock from './SponsorBlock.svelte';
- import { isAndroidTvStore } from '$lib/store';
+ import { instanceStore, isAndroidTvStore } from '$lib/store';
+ import About from './About.svelte';
let activeTab = $state('interface');
const isActive = (id: string) => activeTab === id;
@@ -24,6 +24,12 @@
label: $_('layout.deArrow.title'),
icon: 'keyboard_double_arrow_down',
component: DeArrow
+ },
+ {
+ id: 'about',
+ label: $_('layout.about'),
+ icon: 'info',
+ component: About
}
];
@@ -83,7 +89,7 @@
{/each}
-
-
-
diff --git a/materialious/src/lib/i18n/locales/en.json b/materialious/src/lib/i18n/locales/en.json
index c160c3c5..60edacb8 100644
--- a/materialious/src/lib/i18n/locales/en.json
+++ b/materialious/src/lib/i18n/locales/en.json
@@ -25,7 +25,9 @@
"reply": "reply",
"replies": "replies",
"region": "Region",
+ "contributors": "Contributors",
"noResult": "No results",
+ "version": "Version",
"language": "Language",
"channels": "channels",
"transcript": "Transcript",
@@ -113,6 +115,7 @@
"interface": "Interface",
"star": "Star us on Github!",
"syncParty": "Sync party",
+ "about": "About",
"syncPartyWarning": "Please note your IP will be visible to users you invite.",
"startSyncParty": "Start sync party",
"endSyncParty": "End sync party",
@@ -140,10 +143,6 @@
"expandComments": "Expand comments by default",
"allowInsecureRequests": "Allow insecure requests",
"disableAutoUpdate": "Disable automatic updates",
- "dataPreferences": {
- "content": "Looking to import/export subscriptions, change password or delete account? Click here and scroll to the bottom of the page.",
- "dataPreferences": "Data preferences"
- },
"player": {
"title": "Player",
"autoPlay": "Autoplay video",
diff --git a/materialious/src/lib/patches/youtubejs.ts b/materialious/src/lib/patches/youtubejs.ts
index e0ba1913..ebe57152 100644
--- a/materialious/src/lib/patches/youtubejs.ts
+++ b/materialious/src/lib/patches/youtubejs.ts
@@ -26,8 +26,6 @@ export async function patchYoutubeJs(videoId: string): Promise {
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 {
}
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;
diff --git a/materialious/vite.config.ts b/materialious/vite.config.ts
index b17aa2c5..a5d0ea80 100644
--- a/materialious/vite.config.ts
+++ b/materialious/vite.config.ts
@@ -1,6 +1,7 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
import { defineConfig } from 'vite';
+import pkg from './package.json';
export default defineConfig({
plugins: [
@@ -36,5 +37,8 @@ export default defineConfig({
],
ssr: {
noExternal: ['beercss']
+ },
+ define: {
+ 'import.meta.env.APP_VERSION': JSON.stringify(pkg.version)
}
});
diff --git a/update_versions.py b/update_versions.py
index 6c2584d6..a089536a 100644
--- a/update_versions.py
+++ b/update_versions.py
@@ -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")