Commit Graph

23 Commits

Author SHA1 Message Date
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
Toni Förster
03fbb4933a
new SeekType chapterSkip
When a user taps on a chapter, the pop now also shows the name of the chapter. The chapters are now marked in AppRedColor instead of orange.

This is based on PR #639

That one needs to be merged first before this one can go in.
2024-05-03 15:20:51 +02:00
Toni Förster
ae65acdd16
Interface tweaks for SponsorBlock during playback
Show/Hide categories in timeline.
Show/Hide notice after skip.
Show adjusted or actual total time.
2024-04-23 22:08:08 +02:00
Toni Förster
b5ac760af2
SponsorBlock set colors for each category
Default colors are defined in alignment to upstream. These can be changed by the user.
The colors are also used in the Timeline and the seek view.
2024-04-23 17:16:31 +02:00
Arkadiusz Fal
e827b97cd5 Fix lint issues 2023-07-24 19:45:30 +02:00
Arkadiusz Fal
b53b5eac56 Localization fix 2023-05-21 19:13:19 +02:00
Arkadiusz Fal
5c0cf7452c Remove unused code 2023-04-22 23:39:43 +02:00
Arkadiusz Fal
0d333b5583 Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
Arkadiusz Fal
ebc9ea0031 Fix loading message 2022-12-04 13:32:25 +01:00
Arkadiusz Fal
4cb9e24796 Fix opening file stream label 2022-12-04 13:32:24 +01:00
Arkadiusz Fal
a086a0f440 Use Swift 5.7 if-let style 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7573b0321c More localization fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b66e177114 Localizations 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
79512d4cbf Extract playback stats view 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f607e6e276 Model improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
02617a7c42 Shared seek model 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b8380b2528 Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e444dc3c79 Improve seek gesture 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
945dbfe00b Regular TV layout 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0f7d826a3e Controls layouts, gestures and settings 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ccd9c4eb2a Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c940fb3198 Minor UI changes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
321c265a11 Player controls UI changes
WIP on controls

Chapters

working

Add previews variable

Add lists ids

WIP
2022-10-27 18:03:57 +02:00