From d835821ce16412eb2f7dc7ab7633da550b844e04 Mon Sep 17 00:00:00 2001 From: Ward Date: Thu, 5 Jun 2025 23:13:55 +1200 Subject: [PATCH] Fix quality restore (#957) * Fix quality restore * Bump version * Bump version * Bump version * Bump version * Bump version * Update full_description.txt --- .../android/en-US/full_description.txt | 39 +++++++-------- materialious/android/app/build.gradle | 4 +- .../electron/materialious.metainfo.xml | 50 ++++++++----------- materialious/electron/package.json | 4 +- materialious/package.json | 4 +- materialious/src/lib/components/Player.svelte | 7 +-- update_versions.py | 2 +- 7 files changed, 52 insertions(+), 58 deletions(-) diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt index 602703eb..eb426f8b 100644 --- a/fastlane/metadata/android/en-US/full_description.txt +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -3,24 +3,23 @@ It lets you browse and watch videos, manage playlists and use channels. Features: diff --git a/materialious/android/app/build.gradle b/materialious/android/app/build.gradle index 52a082f4..2984e702 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 119 - versionName "1.9.2" + versionCode 120 + versionName "1.9.3" 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 644ab3b7..df404076 100644 --- a/materialious/electron/materialious.metainfo.xml +++ b/materialious/electron/materialious.metainfo.xml @@ -8,24 +8,26 @@

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

Features:

+
  • Watch sync parties
  • +
  • Sponsorblock built-in
  • +
  • Return YouTube dislikes built-in
  • +
  • DeArrow built-in (With local processing fallback)
  • +
  • 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
  • + us.materialio.Materialious.desktop @@ -53,17 +55,9 @@ intense - - - - - - - - - - - + + https://github.com/Materialious/Materialious/releases/tag/1.9.3 + https://github.com/Materialious/Materialious/releases/tag/1.9.2 diff --git a/materialious/electron/package.json b/materialious/electron/package.json index 6054a3a8..c990a154 100644 --- a/materialious/electron/package.json +++ b/materialious/electron/package.json @@ -1,6 +1,6 @@ { "name": "Materialious", - "version": "1.9.2", + "version": "1.9.3", "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 0788f9db..a8aee0d0 100644 --- a/materialious/package.json +++ b/materialious/package.json @@ -1,6 +1,6 @@ { "name": "materialious", - "version": "1.9.2", + "version": "1.9.3", "private": true, "scripts": { "dev": "vite dev", @@ -70,4 +70,4 @@ "svelte-persisted-store": "^0.12.0", "youtubei.js": "^13.4.0" } -} \ No newline at end of file +} diff --git a/materialious/src/lib/components/Player.svelte b/materialious/src/lib/components/Player.svelte index 218d662b..0356526a 100644 --- a/materialious/src/lib/components/Player.svelte +++ b/materialious/src/lib/components/Player.svelte @@ -316,6 +316,10 @@ snackBarAlert = get(_)('player.youtubeJsFallBack'); ui('#snackbar-alert'); } + + restoreQualityPreference(); + restoreDefaultLanguage(); + } async function reloadVideo() { @@ -417,9 +421,6 @@ playerElement.addEventListener('volumechange', saveVolumePreference); - restoreQualityPreference(); - restoreDefaultLanguage(); - await androidHandleRotate(); const overflowMenuButton = document.querySelector('.shaka-overflow-menu-button'); diff --git a/update_versions.py b/update_versions.py index 9c27b324..2d8175b8 100644 --- a/update_versions.py +++ b/update_versions.py @@ -3,7 +3,7 @@ import os import re from datetime import datetime -LATEST_VERSION = "1.9.2" +LATEST_VERSION = "1.9.3" RELEASE_DATE = datetime.now().strftime("%Y-%-m-%d") # Format: YYYY-M-D WORKING_DIR = os.path.join(