Add warning to README, add patch for pubsub feeds

This commit is contained in:
Sommerwiesel
2025-06-19 11:02:10 +02:00
parent 025e261d32
commit 91a1e35169
2 changed files with 14 additions and 2 deletions
+13
View File
@@ -10,6 +10,19 @@ Based upon patches from:
- https://github.com/yewtudotbe/invidious-custom
- https://git.nadeko.net/Fijxu/invidious
# WARNING
This fork is not compatible with upstream invidious (i.e. https://github.com/iv-org/invidious).
If you already have an instance using the official invidious, you CANNOT simply switch to this instance and vice-versa.
This is due to the the following changes which I implemented to improve the performance and reliability of my instance:
- Removal of materialized views as subscription tables in PostgreSQL (see https://github.com/Sommerwiesel/invidious-nerdvpn/blob/nerdvpn/patches/011-2469.patch)
- Redis as video cache (see https://github.com/Sommerwiesel/invidious-nerdvpn/blob/nerdvpn/patches/010-use-redis-for-video-cache.patch)
If you NEVER used Invidious before, you can safely start with my fork, but you won't be able to switch to upstream Invidious at all.
# Requirements
You'll have to set these up yourself:
+1 -2
View File
@@ -2,13 +2,12 @@ diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index d137672a..776ea27c 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -72,6 +72,11 @@ we're going to need to do it here in order to allow for translations.
@@ -72,6 +72,10 @@ we're going to need to do it here in order to allow for translations.
<%= rendered "components/feed_menu" %>
+<div id="watch-info">
+ If the video doesn't start playing with <i>The media could not be loaded</i> error, please just wait for a short while (Invidious will retry automatically) or try switching to another backend.<br />
+ This error is a simple timing problem with Invidious not waiting until the video data has been loaded from YouTube and will almost always just fix itself on its own.
+</div>
+
<div id="player-container" class="h-box">