Minor improvements

This commit is contained in:
WardPearce
2024-10-01 14:46:34 +13:00
parent 6812f138e1
commit 3c9deb4c6e
6 changed files with 9 additions and 19028 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 51
versionName "1.6.0"
versionCode 52
versionName "1.6.1"
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.0",
"version": "1.6.1",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.6.0",
"version": "1.6.1",
"private": true,
"scripts": {
"dev": "vite dev",
@@ -74,4 +74,4 @@
"vidstack": "^1.12.9",
"youtubei.js": "^10.5.0"
}
}
}
+3 -2
View File
@@ -1,6 +1,6 @@
import type { Image, Thumbnail, VideoBase, VideoPlay } from '$lib/Api/model';
import { numberWithCommas } from '$lib/misc';
import { poTokenCacheStore } from '$lib/store';
import { interfaceRegionStore, poTokenCacheStore } from '$lib/store';
import { Capacitor } from '@capacitor/core';
import { BG } from 'bgutils-js';
import { get } from 'svelte/store';
@@ -79,7 +79,8 @@ export async function patchYoutubeJs(videoId: string): Promise<VideoPlay> {
}
},
generate_session_locally: true,
cache: new UniversalCache(false)
cache: new UniversalCache(false),
location: get(interfaceRegionStore)
});
const video = await youtube.getInfo(videoId);
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -5,7 +5,7 @@ import json
import os
import re
LATEST_VERSION = "1.6.0"
LATEST_VERSION = "1.6.1"
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")