Merge pull request #561 from Materialious/update/1.4.2

Rename syncious to API extended
This commit is contained in:
Ward
2024-09-18 18:55:50 +12:00
committed by GitHub
12 changed files with 13 additions and 23 deletions
+1 -2
View File
@@ -235,7 +235,6 @@ http:
Modify/add `VITE_DEFAULT_RETURNYTDISLIKES_INSTANCE` for Materialious to be the reverse proxied URL of RYD-Proxy.
## Step 5 (Optional, but recommended): Self-host Invidious API extended
Please note, Materialious configuration using the env var `VITE_DEFAULT_SYNCIOUS_INSTANCE` for Invidious API extended, this will change in the future (no-breaking.)
### Step 1: Docker compose
Add the following to your docker compose
@@ -259,7 +258,7 @@ services:
Add these additional environment variables to Materialious.
```yaml
VITE_DEFAULT_SYNCIOUS_INSTANCE: "https://syncious.example.com"
VITE_DEFAULT_API_EXTENDED_INSTANCE: "https://syncious.example.com"
```
## Step 6 (Optional): Self-host PeerJS
+2 -2
View File
@@ -6,7 +6,7 @@
- **Man in the Middle:** No
- **Accounts:** Yes
- **RYD-Proxy:** Yes
- **Syncious integration:** Yes
- **API Extended integration:** Yes
- **Self-hosted PeerJS:** No
- [materialious.einfachzocken.eu](https://materialious.einfachzocken.eu/)
@@ -16,5 +16,5 @@
- **Man in the Middle:** No
- **Accounts:** Yes
- **RYD-Proxy:** No
- **Syncious integration:** No
- **API Extended integration:** No
- **Self-hosted PeerJS:** No
-12
View File
@@ -25,9 +25,6 @@ Materialious allows you to customize various settings by overwriting the default
+ [Theatre mode by default](#theatre-mode-by-default)
+ [Autoplay next by default](#autoplay-next-by-default)
+ [Dash](#dash)
* [Return YT Dislikes](#return-yt-dislikes)
* [Syncious](#syncious)
+ [Syncious Instance](#syncious-instance)
* [Sponsorblock](#sponsorblock)
+ [Sponsor](#sponsor)
+ [Unpaid/Self Promotion](#unpaidself-promotion)
@@ -196,15 +193,6 @@ Configures an open-source proxy for the Return YouTube Dislike API, with optiona
"returnYtDislikes": true
```
## Syncious
Syncious keeps your watch progress synced across Invidious clients.
```json
"syncious": true
```
## Sponsorblock
Configures Sponsorblock categories for skipping unwanted video segments.
+1
View File
@@ -19,6 +19,7 @@ RUN echo "VITE_DEFAULT_INVIDIOUS_INSTANCE=VITE_DEFAULT_INVIDIOUS_INSTANCE_PLACEH
echo "VITE_DEFAULT_PEERJS_PORT=VITE_DEFAULT_PEERJS_PORT_PLACEHOLDER" >> .env && \
echo "VITE_DEFAULT_DOWNLOAD_ENABLED=VITE_DEFAULT_DOWNLOAD_ENABLED_PLACEHOLDER" >> .env && \
echo "VITE_DEFAULT_SYNCIOUS_INSTANCE=VITE_DEFAULT_SYNCIOUS_INSTANCE_PLACEHOLDER" >> .env && \
echo "VITE_DEFAULT_API_EXTENDED_INSTANCE=VITE_DEFAULT_API_EXTENDED_INSTANCE_PLACEHOLDER" >> .env && \
echo "VITE_DEFAULT_SETTINGS='\"VITE_DEFAULT_SETTINGS_PLACEHOLDER\"'" >> .env && \
echo "VITE_DEFAULT_RETURNYTDISLIKES_INSTANCE=VITE_DEFAULT_RETURNYTDISLIKES_INSTANCE_PLACEHOLDER" >> .env
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 38
versionName "1.4.1"
versionCode 39
versionName "1.4.2"
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.4.1",
"version": "1.4.2",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.4.1",
"version": "1.4.2",
"private": true,
"scripts": {
"dev": "vite dev",
+1
View File
@@ -12,4 +12,5 @@ find "$ROOT_DIR" -type f \( -name "*.js" -o -name "*.html" \) -exec sed -i 's|VI
find "$ROOT_DIR" -type f \( -name "*.js" -o -name "*.html" \) -exec sed -i 's|VITE_DEFAULT_PEERJS_PORT_PLACEHOLDER|'"$VITE_DEFAULT_PEERJS_PORT"'|g' {} +
find "$ROOT_DIR" -type f \( -name "*.js" -o -name "*.html" \) -exec sed -i 's|VITE_DEFAULT_DOWNLOAD_ENABLED_PLACEHOLDER|'"$VITE_DEFAULT_DOWNLOAD_ENABLED"'|g' {} +
find "$ROOT_DIR" -type f \( -name "*.js" -o -name "*.html" \) -exec sed -i 's|VITE_DEFAULT_SYNCIOUS_INSTANCE_PLACEHOLDER|'"$VITE_DEFAULT_SYNCIOUS_INSTANCE"'|g' {} +
find "$ROOT_DIR" -type f \( -name "*.js" -o -name "*.html" \) -exec sed -i 's|VITE_DEFAULT_API_EXTENDED_INSTANCE_PLACEHOLDER|'"$VITE_DEFAULT_API_EXTENDED_INSTANCE"'|g' {} +
find "$ROOT_DIR" -type f \( -name "*.js" -o -name "*.html" \) -exec sed -i 's|VITE_DEFAULT_SETTINGS_PLACEHOLDER|'"$VITE_DEFAULT_SETTINGS"'|g' {} +
+1 -1
View File
@@ -494,7 +494,7 @@
</div>
<div class="settings">
<h6>Syncious</h6>
<h6>API Extended</h6>
<form
on:submit|preventDefault={() =>
+1
View File
@@ -232,6 +232,7 @@
videoPreview = await getVideo(video.videoId);
if (videoPreview.formatStreams.length === 0) {
showVideoPreview = false;
videoPreview = null;
}
if (videoPreview.hlsUrl) {
+1 -1
View File
@@ -50,7 +50,7 @@ export const returnYTDislikesInstanceStore: Writable<string | null | undefined>
export const synciousStore = persisted('syncious', true);
export const synciousInstanceStore: Writable<string | null | undefined> = persisted(
'synciousInstance',
platformDependentDefault(import.meta.env.VITE_DEFAULT_SYNCIOUS_INSTANCE, 'https://syncious.materialio.us')
platformDependentDefault(import.meta.env.VITE_DEFAULT_SYNCIOUS_INSTANCE || import.meta.env.VITE_DEFAULT_API_EXTENDED_INSTANCE, 'https://extended-api.materialio.us')
);
export const interfaceRegionStore: Writable<string> = persisted('interfaceRegion', 'US');
+1 -1
View File
@@ -5,7 +5,7 @@ import json
import os
import re
LATEST_VERSION = "1.4.1"
LATEST_VERSION = "1.4.2"
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")