Commit Graph

59 Commits

Author SHA1 Message Date
Arkadiusz Fal
89dfbdb5c7 Fix swiftformat offenses 2024-07-06 11:48:49 +02:00
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
b54044cbc5
HLS: set target bitrate / AVPlayer: higher resolution
HLS: try matching the set resolution. This works okay with AVPlayer. With MPV it is hit and miss, most of the time MPV targets the highest available bitrate, instead of the set bitrate.

AVPlayer now supports higher resolution up to 1080p60.
2024-05-13 07:54:24 +02:00
Toni Förster
c77c5a6d21
don't add empty comments 2024-04-02 15:08:36 +02:00
Toni Förster
807c0a1e2e
hopefully fixes #629
should also get rid of empty comments if they couldn't be loaded
2024-04-02 14:28:06 +02:00
Arkadiusz Fal
2413526d70 Style fixes 2024-02-02 11:16:27 +01:00
Arkadiusz Fal
a04159969e Use AF for Piped token request 2023-10-22 19:39:34 +02:00
Arkadiusz Fal
0ffb9d0606 Fix date parsing for piped videos 2023-10-15 14:08:38 +02:00
Arkadiusz Fal
58ba6f5fe7 Fix #519 2023-07-24 19:45:31 +02:00
Arkadiusz Fal
f1e132a909 Add channel tabs and pagination
Fix #135
2023-02-28 21:04:42 +01:00
Arkadiusz Fal
2b18f0cffa Add hiding short videos 2023-02-25 17:18:35 +01:00
Arkadiusz Fal
78940a005b Accounts loading improvements 2023-02-05 14:24:16 +01:00
Arkadiusz Fal
b55c6f8619 Fix handling feed 2023-02-05 14:24:11 +01:00
Arkadiusz Fal
3b31f21c81 Channels caching 2023-02-05 14:24:11 +01:00
Arkadiusz Fal
17b82945b3 Fix cache resources in APIs 2023-02-05 14:24:10 +01:00
Arkadiusz Fal
02b30394ed Fix parsing Piped comments 2023-02-05 14:24:09 +01:00
Arkadiusz Fal
971beddc8d Feed cache 2023-02-05 14:24:07 +01:00
Arkadiusz Fal
faf2469e04 Initial PeerTube Support 2023-02-05 14:24:07 +01:00
Arkadiusz Fal
33abe4d487 Channel pages 2022-12-05 10:13:19 +01:00
Arkadiusz Fal
a086a0f440 Use Swift 5.7 if-let style 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
dfe3fb81ea Fix reloading account token 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
2f2fd67860 Add username/password login and keychain manager
Fix #224
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
642354fc8e Fix parsing timestamps with Piped 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
97fc8fa4b7 Add tappable description links and timestamps in iOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
3a508b98ab Fix player instance setting (fix #260) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7636e78df4 Add account error alerts 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f8fe2961ca Fix #203 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b7c3eb0248 Fix playlists on Piped 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f3f8466a95 Improve URL handling 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
Arkadiusz Fal
13208a4444 Fix crash while managing playlists 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f367fe8728 Improve data parsers 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4e0b4469ab Fix extracting FPS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e6e18de106 Improve streams extraction 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e60349ded1 Minor fix 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
31a28a7cbd Hello, mpv! 🎉 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
419e8991c9 Fix parsing Piped streams 2022-07-11 15:30:32 +02:00
Arkadiusz Fal
eb33b65f3d Fix #161 2022-06-14 23:24:17 +02:00
Arkadiusz Fal
e539fb0067 Remaining playlists fixes 2022-05-22 18:08:14 +02:00
Arkadiusz Fal
0bc4a677d4 Create/delete Piped playlists and add/remove videos to Piped playlists 2022-05-22 00:30:10 +02:00
Arkadiusz Fal
b70697e1be Improve subscriptions count
Piped API now includes it in the streams response, no need for separate
query
2022-04-16 20:05:20 +02:00
Arkadiusz Fal
8d36f57271 Preliminary support for Piped playlist (listing playlists and videos) 2022-04-10 17:07:10 +02:00
Arkadiusz Fal
ae4796a4c5 Add placeholders 2022-03-27 13:26:38 +02:00
Arkadiusz Fal
9d8a2607ab Fix parsing subscriptions published date 2022-03-24 14:13:51 +01:00
Arkadiusz Fal
ea6363ba65 Add infinite scroll for search (fixes #5) 2022-01-05 11:44:53 +01:00
Arkadiusz Fal
32862ab446 Fix marking live videos from Piped 2021-12-26 20:14:45 +01:00
Arkadiusz Fal
ea90f650d8 Remove unused code, minor style changes 2021-12-20 00:36:12 +01:00
Arkadiusz Fal
008cd1553d Comments UI fixes 2021-12-17 18:22:46 +01:00
Arkadiusz Fal
1f495562fc Comments improvements
* Show text when there is no comments or comments are disabled
* Show progress indicator for loading comments/replies
* Improve layout of icons and text spacing
2021-12-05 18:31:33 +01:00
Arkadiusz Fal
19a3f08336 Comments (fixes #4) 2021-12-04 20:57:09 +01:00