Only resync player audio if above player

This commit is contained in:
WardPearce
2024-10-18 14:17:01 +13:00
parent 23597b13bb
commit 79d4ea6dcb
5 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 64
versionName "1.6.13"
versionCode 65
versionName "1.6.14"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Materialious",
"version": "1.6.13",
"version": "1.6.14",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.6.13",
"version": "1.6.14",
"private": true,
"scripts": {
"dev": "vite dev",
+5 -1
View File
@@ -381,7 +381,11 @@
const audioPlayerTime = await AudioPlayer.getCurrentTime(audioId);
player.currentTime = Math.round(audioPlayerTime.currentTime);
const audioPlayerTimeRounded = Math.round(audioPlayerTime.currentTime);
if (audioPlayerTimeRounded > player.currentTime) {
player.currentTime = audioPlayerTimeRounded;
}
await player.play();
});
+1 -1
View File
@@ -5,7 +5,7 @@ import json
import os
import re
LATEST_VERSION = "1.6.13"
LATEST_VERSION = "1.6.14"
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")