Commit Graph

361 Commits

Author SHA1 Message Date
Arkadiusz Fal
a086a0f440 Use Swift 5.7 if-let style 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4082936475 Fix localization 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
2d51f6adff Remove "Honor system orientation lock"
Fix #309
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1c926f276b Use WebImage fix 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b94dc08b68 Revert "Add CachedAsyncImage"
This reverts commit 50c77325f6.
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b320ffb540 Revert "Fix images layout"
This reverts commit ee6e2370d2.
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
6ec59cf442 Add tvOS option to disable captions 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f7fb8174cd Fix full screen layout of player 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
748dd02034 Remove padding from timeline 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
eebca5ca59 Fix tvOS controls overlay buttons 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f7dd88a6cb Fix images layout 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
d48fc71660 Don't hide related on load 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f607e6e276 Model improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7b48041165 Fix opening player sheet 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
db98124de5 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
418dae9dbe Add CachedAsyncImage 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b8380b2528 Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c24b561c13 Remove controls thumb 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0d3ccc00ce Model improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b220f212df Revert "Fix drawing state issues"
This reverts commit 97149df71c.
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e9df94256c Fix gesture state 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
14cb1958d8 Fix drawing state issues 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ac8cb98cdd Fix stream picker 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
66506c6ad1 Limit available controls layout 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
9419d504dc Add gesture sensitivity setting 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e444dc3c79 Improve seek gesture 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d5f8ad4eec Fix updating now playing info with mpv on tvOS
Other minor tvOS fixes
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
5b785cc9c2 Fix timeline view time padding 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
60f38a80aa Improve PiP
Fix #186
Fix #196
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
99881ccc23 Minor timeline fix 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fc7052a7fa Fix orientation on iOS 16 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
08ed810b9e Animations improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
5f50797b54 Controls updates fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
711208d9b7 Fix animation of overlays 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
9ca905e5c7 Performance improvements 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
c843250219 Fix crash on tvOS on opening related 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7b2dd75f2d Fix details overlay layout 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7cbb80847a Minor quality profiles UI improvements (fix #272) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
a51de0d084 Fix settings overlay layout 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ae9b23b9e7 Bring AVPlayer back to tvOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
48e616b301 AVPlayer background music mode 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
6c6ba19df4 PiP improvements 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
aac760a870 Fix player size when orientation is locked 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
2edab536a6 Minor PiP improvement 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c5738ee14a tvOS buttons hint 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
dcfd24e376 Minor changes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4dd9005508 Allow swipe down to open controls settings on tvOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
356f8c7af1 Fix settings overlay layout 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
62769016fc Add playback mode button controls update 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ac9abaec5a Quality profiles 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
57d8698f86 Fix applying aspect ratio 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1f74aaa923 Use unified video context menu 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
60a52bc12e tvOS layout improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c51b9dd8e8 Code style change 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
661de78ab3 Close overlays on exiting full screen 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
2c81808125 Remove custom PiP placeholder 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f90fdb48c8 Layout fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
bcc1d5aeaa Improve player transitions 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fb40f42c6c Improve controls overlays performance 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ddf306d5c1 Fix crash on scrubbing 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
50424c8dbf Fix applying safe area insets on iOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0365369dcd Add setting "Rotate to portrait when exiting fullscreen" 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
8e2c30bf00 Add setting "Close player when closing video" 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d0e3839040 Fix player on tvOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ccd9c4eb2a Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0797030a97 Minor controls overlay changes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
5f5bd37bd4 Improve fullscreen animation 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
8318b4c5fb Improve translucency effect 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e6baaa519a Live streams fix (fix #174, #175) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
aaf051a010 Fix player gesture 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
36cacc2258 Fix player sidebar background 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
2de6df9899 Better UI for autoplay 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fda4013907 Improve placeholders 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fa0784e5d9 Fix details overlay height 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0716602e3f Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1329bef2f9 Aspect ratio fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
9445139546 Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fc175be76b Lock orientation button 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
5bfc1a3206 Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ebe3ba9ed5 Playback modes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f0b8e7f655 Details panels in controls 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
db46289813 Update player gesture 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
2cb849ad8e Improve orientation observing 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1e21c50b5d Aspect ratio improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
5f858bc6d4 Orientation improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
6c71cd72b1 Player layout fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c10e0e128e Unify overlay animation with other controls animation 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f63a0f27fd Fix offenses 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d81b8abe93 Minor loading UI improvement 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
17aeef9af7 Close overlay with tap outside 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e56ab3804e CC support with Invidious and MPV 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7c4ee9bf35 Add Invidious comments support 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4fcf57d755 Locations manifest, reorganized instances settings 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
117c4fc9b6 Fix #190 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
125b8cc89a Minor macOS performance improvement 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
97e9889682 Minor tvOS controls and remote improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7224b5e75f Fix toggle play command for tvOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
575c2dd2ba Fix video details offset 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c960a82885 Decrease size of fulls creen video title and author 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4df919616d Fix setting PiP delegate 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d330771fef Minor tvOS layout fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
72ec6094bc Add playlists actions to related view 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b6a157eda9 Details improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fe94d35af0 Improve queue details loading 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
42f0ff80f8 Fix controls overlay 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
69209ff771 Fix toggling full screen details 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
17787fa69c Add setting for closing player after playing last item (fix #98) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c940fb3198 Minor UI changes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7b09805b81 Improve network state updates 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c88b410936 Improve sharing 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
c0f395b2df Hide home indicator 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b88adca781 Add buffering and cache length to stats 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
15cdde17a6 Improve performance and add statistics for MPV 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
81b8cbd5f1 Add dropped frames counter 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0c6ddc3dae Improve MPV performance 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
59b8a5532d Player will close with swipe animation when threshold is reached 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7a6698897a Minor controls improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fd3b3e604a Allow player swipe gesture when in fullscreen 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7cd6928e8c Minor controls fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0ecc271e70 Minor layout fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
92b420869d Remove old unneeded patch 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
35fd392307 Add initial version of music mode 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4f1520a6ce Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ab8549e103 Minor improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0ad350a6b5 New channel navigation 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c5af865ffe Add buttons to next video and restart video (fix #106)
Previous video requires rebuilding queue a little, maybe in the future
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
9abba2d19c Add Open in PiP option (fix #137) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d4a5545db6 Minor improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
584571fb71 Player animation improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
71de78113d Fix orientation (#121) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c48d478f64 Minor improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
78d7693128 Player overlaying other views and swipe gesture (fix #44, #130) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
3d015f2298 More controls improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e3cf77e928 Minor player controls improvements (fix #94) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
613f874c42 PiP improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c5852601e4 Improve stream control on macOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
acf9af936a Add PiP for iOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
a93b9a2fe5 Minor improvements to controls 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
3e029f631c Fix rate button 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b3d471c8a0 Lint 2022-10-27 18:03:57 +02:00