mirror of
https://github.com/yattee/yattee.git
synced 2026-02-21 18:29:44 +00:00
Add video proxy support with live toggle for Invidious/Piped instances
Adds a "Proxy videos" toggle in instance settings that routes video streams through the instance instead of connecting directly to YouTube CDN. Includes auto-detection of 403 blocks and live re-application of proxy settings without requiring app restart or video reload.
This commit is contained in:
@@ -84,7 +84,8 @@ final class LegacyDataMigrationService {
|
||||
legacyInstanceID: instance.id,
|
||||
instanceType: instanceType,
|
||||
url: url,
|
||||
name: instance.name.isEmpty ? nil : instance.name
|
||||
name: instance.name.isEmpty ? nil : instance.name,
|
||||
proxiesVideos: instance.proxiesVideos
|
||||
)
|
||||
items.append(item)
|
||||
}
|
||||
@@ -184,7 +185,8 @@ final class LegacyDataMigrationService {
|
||||
type: item.instanceType,
|
||||
url: item.url,
|
||||
name: item.name,
|
||||
isEnabled: true
|
||||
isEnabled: true,
|
||||
proxiesVideos: item.proxiesVideos
|
||||
)
|
||||
|
||||
// Add to instances manager
|
||||
|
||||
Reference in New Issue
Block a user