yattee/Model
Toni Förster 6eba2a45c8
Conditional proxying
I added a new feature. When instances are not proxied, Yattee first checks the URL to make sure it is not a restricted video. Usually, music videos and sports content can only be played back by the same IP address that requested the URL in the first place. That is why some videos do not play when the proxy is disabled.

This approach has multiple advantages. First and foremost, It reduced the load on Invidious/Piped instances, since users can now directly access the videos without going through the instance, which might be severely bandwidth limited. Secondly, users don't need to manually turn on the proxy when they want to watch IP address bound content, since Yattee automatically proxies such content.

Furthermore, adding the proxy option allows mitigating some severe playback issues with invidious instances. Invidious by default returns proxied URLs for videos, and due to some bug in the Invidious proxy, scrubbing or continuing playback at a random timestamp can lead to severe wait times for the users.

This should fix numerous playback issues: #666, #626, #590, #585, #498, #457, #400
2024-05-16 19:35:31 +02:00
..
Accounts Import export settings 2024-02-02 11:16:27 +01:00
Applications Conditional proxying 2024-05-16 19:35:31 +02:00
Cache Channels performance improvements 2023-07-24 19:45:30 +02:00
Favorites Import export settings 2024-02-02 11:16:27 +01:00
Import Export Settings Swiftformat fixes 2024-05-16 19:01:02 +02:00
Player Conditional proxying 2024-05-16 19:35:31 +02:00
ReturnYouTubeDislike Use Swift 5.7 if-let style 2022-10-27 18:03:57 +02:00
Search Set focus on search textfield on macOS 2023-09-26 17:44:01 +02:00
SponsorBlock SponsorBlock align categories with upstream 2024-04-23 11:43:05 +02:00
Yattee.xcdatamodeld/Yattee.xcdatamodel Initial PeerTube Support 2023-02-05 14:24:07 +01:00
Captions.swift CC support with Invidious and MPV 2022-10-27 18:03:57 +02:00
Channel.swift Add podcasts and releases tabs for channels in Invidious 2023-09-25 21:37:30 +02:00
ChannelPage.swift Add channel tabs and pagination 2023-02-28 21:04:42 +01:00
ChannelPlaylist.swift Code style changes 2023-04-22 23:10:28 +02:00
Chapter.swift Player controls UI changes 2022-10-27 18:03:57 +02:00
Comment.swift Comments (fixes #4) 2021-12-04 20:57:09 +01:00
CommentsModel.swift removed some unnecessary print() 2024-04-02 14:28:06 +02:00
CommentsPage.swift Comments improvements 2021-12-05 18:31:33 +01:00
ContentItem.swift Fix lint issues 2023-07-24 19:45:30 +02:00
Country.swift Fix #515 2023-07-24 19:45:30 +02:00
DocumentsModel.swift Documents navigation 2023-02-05 14:24:13 +01:00
FeedModel.swift Home Settings 2023-05-25 18:36:03 +02:00
HistoryModel.swift Fix lint issues 2023-07-24 19:45:30 +02:00
InstancesManifest.swift Fix lint issues 2023-07-24 19:45:30 +02:00
KeychainModel.swift Performance fix 2023-04-22 23:39:42 +02:00
ManifestedInstance.swift Initial PeerTube Support 2023-02-05 14:24:07 +01:00
MenuModel.swift Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
NavigationModel.swift Import export settings 2024-02-02 11:16:27 +01:00
NetworkStateModel.swift Conditional proxying 2024-05-16 19:35:31 +02:00
OpenVideosModel.swift Swiftformat fixes 2024-05-16 19:01:02 +02:00
PersistenceController.swift Code style changes 2023-04-22 23:10:28 +02:00
Playlist.swift Fix lint issues 2023-07-24 19:45:30 +02:00
PlaylistsModel.swift Accounts loading improvements 2023-02-05 14:24:16 +01:00
QualityProfile.swift rework quality settings 2024-04-29 20:03:51 +02:00
QualityProfilesModel.swift Code style changes 2023-04-22 23:10:28 +02:00
RecentsModel.swift Fix sidebar navigation 2023-09-23 21:59:38 +02:00
SeekModel.swift Interface tweaks for SponsorBlock during playback 2024-04-23 22:08:08 +02:00
SeekType.swift new SeekType chapterSkip 2024-05-03 15:20:51 +02:00
Segment.swift Add share actions to video context menu 2022-10-27 18:03:57 +02:00
SettingsModel.swift Import export settings 2024-02-02 11:16:27 +01:00
SingleAssetStream.swift Initial PeerTube Support 2023-02-05 14:24:07 +01:00
Store.swift Fix lint issues 2023-07-24 19:45:30 +02:00
Stream.swift Conditional proxying 2024-05-16 19:35:31 +02:00
Thumbnail.swift Videos cache model 2023-02-05 14:24:07 +01:00
ThumbnailsModel.swift Use CachedAsyncImage if possible 2023-02-05 14:24:13 +01:00
TrendingCategory.swift Fix Invidious trending categories 2023-05-29 16:13:12 +02:00
UnwatchedFeedCountModel.swift Code style changes 2023-04-22 23:10:28 +02:00
URLBookmarkModel.swift Swiftformat fixes 2024-05-16 19:01:02 +02:00
Video.swift Fix possible crash 2023-10-15 00:46:59 +02:00
Watch.swift Fix #450 2023-05-25 18:36:02 +02:00
WatchModel.swift Home Settings 2023-05-25 18:36:03 +02:00