yuliskov / SmartTube

SmartTube - an advanced player for set-top boxes and tvs running Android OS
https://www.patreon.com/smarttube
Other
17.35k stars 972 forks source link

SponsorBlock Alternate Server #1946

Open fawzib opened 1 year ago

fawzib commented 1 year ago

Sponsorblock often goes down. It would be great if you could add alternate sponsorblock servers to select or even auto-select if one is down.

notamaiar commented 1 year ago

Seconded.

rodalpho commented 1 year ago

This would be a fine idea, except I'm not aware of any alternate servers. The value in Sponsorblock is in the user-submitted timecodes, so just "starting a second one" doesn't make sense either. What they really need is a couple distributed mirrors situated around the world with geo-IP preferential load-balancing. Or barring that, a backup host somewhere and you just try them in order.

But all the above is well beyond the scope of this YouTube app.

notamaiar commented 1 year ago

There was at least one mirror being recommended in the Discord yesterday - the kavin one. This was working in browser, but there's no way to tell STNext to point at a different server. If possible, it would be great if we could manually type in mirror options when the main server was struggling.

fawzib commented 1 year ago

Features:

On Tue, Oct 25, 2022, 12:01 PM notamaiar @.***> wrote:

There was at least one mirror being recommended in the Discord yesterday - the kavin one. This was working in browser, but there's no way to tell STNext to point at a different server. If possible, it would be great if we could manually type in mirror options when the main server was struggling.

— Reply to this email directly, view it on GitHub https://github.com/yuliskov/SmartTubeNext/issues/1946#issuecomment-1290798540, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI3UWY57OSKBADXBDNWEKLWE776BANCNFSM6AAAAAARNQIEDE . You are receiving this because you authored the thread.Message ID: @.***>

rodalpho commented 1 year ago

I'm sure it exists, but that relies on people telling their addons to post timecodes to the new server, right? Coverage has got to be low.

And then when Ajay's server comes back up, all those timecodes will have to be separately resubmitted to the "real" host. It's a poor solution until Ajay sets up some way to do it properly.

albino1 commented 1 year ago

FWIW, there's already an option under SponsorBlock -> Misc called Use alternative server, but that doesn't work either right now.

war59312 commented 1 year ago

The mirrors are at https://github.com/mchangrh/sb-mirror

They use rsync to keep the timecodes in line.

Generator commented 1 year ago

@war59312 think that's only database mirrors, not API instances

There are some public API instances here
TeamPiped/sponsorblock-mirror:

wereii/gosb: