Commit Graph

195 Commits

Author SHA1 Message Date
Toni Förster
0d5a907517
preserve time on stream change
fixes #371
2024-05-01 17:01:54 +02:00
Toni Förster
54915dcea1
rework quality settings
- The order of the formats can now be changed in the Quality Settings.
- sortingOrder is now part of QualitiyProfile.
- bestPlayable is now part of PlayerBackend.
- hls and stream aren't treated as unknown anymore.
2024-04-29 20:03:51 +02:00
Toni Förster
86b91916a7
Restart finished video
After the video has ended, hitting play restarts the video from the beginning

fixes #449

If I understand the issue correctly, however, videos can now be played again without hitting the "Start from the beginning" button.
2024-04-27 00:37:04 +02:00
Toni Förster
169b9451ed
handle audio session interrupts by other media
fixes #495
2024-04-24 14:43:51 +02:00
Toni Förster
f3637e2426
fix handling and displaying captions
fixes #490

It also fixes the caption picker being empty when a caption was selected in the previous watched video.
2024-04-21 01:04:31 +02:00
Arkadiusz Fal
5b35c03bc5 Add MPV deinterlace filter setting
Fix #601
2024-02-02 11:16:27 +01:00
Toni Förster
721a97dc41
no need for NotificationCenter 2023-12-05 00:07:36 +01:00
Toni Förster
0d9c27319d
make time updates work for .mpv and .avp
- time update notifications work for both backends
- only init mpv timers when mpv is the active backend
- move notification extension to playerbackend
2023-12-04 14:47:26 +01:00
Toni Förster
586cea7d44
subscribe chapters to currentTime notification 2023-12-04 00:07:39 +01:00
Arkadiusz Fal
674269c4c1 Fix issue with tvOS screensaver 2023-10-15 00:46:58 +02:00
Arkadiusz Fal
9db5fb0de7 Handle core-idle property 2023-09-23 21:59:38 +02:00
Arkadiusz Fal
13d5bd39af mpvkit implementation fixes 2023-09-23 21:59:37 +02:00
Arkadiusz Fal
dfda1181e2 Fix swiftformat issues 2023-09-23 17:14:21 +02:00
Arkadiusz Fal
757afd39da
Merge branch 'main' into use-mpvkit 2023-09-23 16:17:33 +02:00
Arkadiusz Fal
98d26c37ff Minor style change 2023-07-24 19:45:30 +02:00
Arkadiusz Fal
e827b97cd5 Fix lint issues 2023-07-24 19:45:30 +02:00
amaumene
e7c1f8116d switch mpv to mpvkit 2023-06-26 13:18:28 +09:00
Arkadiusz Fal
f78545baf9 Fix issue with AVPlayer rate restore 2023-06-08 12:25:12 +02:00
Arkadiusz Fal
1efd9e2b90 Fix hiding overlays 2023-06-08 12:11:44 +02:00
Arkadiusz Fal
59e5fcb37d Fix properties access 2023-06-07 23:51:17 +02:00
Arkadiusz Fal
c36dc67a72 Fix issue with AVPlayer rate 2023-06-07 23:37:28 +02:00
Arkadiusz Fal
6f91eedf4c Update watch time on close item 2023-06-07 23:37:27 +02:00
Arkadiusz Fal
8d11a92f97 Fix switching to AVPlayer in fullscreen 2023-06-07 23:37:27 +02:00
Arkadiusz Fal
792a2c1c6c Fix method access 2023-05-29 16:50:40 +02:00
Arkadiusz Fal
a054d343a9 Fix music mode in AVPlayer 2023-05-29 16:13:12 +02:00
Arkadiusz Fal
450a4b42f7 Fix property access 2023-05-21 19:37:22 +02:00
Arkadiusz Fal
7d7bd40a89 Add option "Close player on end of video"
Fix #442
2023-05-21 19:13:42 +02:00
Arkadiusz Fal
c6798be167 Show stream opening status with AVPlayer 2023-05-21 19:13:42 +02:00
Arkadiusz Fal
5383cf0e90 AVPlayer system controls on iOS 2023-05-21 19:13:42 +02:00
Arkadiusz Fal
f67b1d4feb Improve orientation and safe area handling
Fix #369
Fix #382
2023-05-21 19:13:42 +02:00
Arkadiusz Fal
5d8e8483d1 Minor performance improvement 2023-05-18 11:32:45 +02:00
Arkadiusz Fal
a83657b8c6 Fix crash 2023-05-07 22:06:51 +02:00
Arkadiusz Fal
28f346dee2 Remove Watch Next 2023-04-22 23:10:27 +02:00
Arkadiusz Fal
8ca499756a Minor fixes 2023-02-24 18:23:26 +01:00
Arkadiusz Fal
0eda2c0485 Change mpv qos 2023-02-05 17:06:20 +01:00
Arkadiusz Fal
18cbbd3c90 Fix crashes 2023-02-05 14:24:16 +01:00
Arkadiusz Fal
39fc23c5dc Watch Next behavior and settings 2023-02-05 14:24:14 +01:00
Arkadiusz Fal
eca685ae29 Watch next view 2023-02-05 14:24:14 +01:00
Arkadiusz Fal
23b6edfcc5 Fix avc/av1 2023-02-05 14:24:13 +01:00
Arkadiusz Fal
faf2469e04 Initial PeerTube Support 2023-02-05 14:24:07 +01:00
Arkadiusz Fal
f1664d026c Fix bookmarks 2022-12-05 10:13:20 +01:00
Arkadiusz Fal
0d333b5583 Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
Arkadiusz Fal
36ccda23a1 Fix handling player closing on tvOS 2022-12-04 13:32:29 +01:00
Arkadiusz Fal
a14b0b12fa Minor style fixes 2022-12-04 13:32:28 +01:00
Arkadiusz Fal
be2af82300 Change playback rates for MPV 2022-12-04 13:32:28 +01:00
Arkadiusz Fal
815d0b3ae8 Cancel loading assets on switching backend 2022-12-04 13:32:26 +01:00
Arkadiusz Fal
ccded28468 Improve bookmarks loading 2022-12-04 13:32:25 +01:00
Arkadiusz Fal
2c004b81fe Close item if could not be opened 2022-12-04 13:32:25 +01:00
Arkadiusz Fal
c821285664 Fix crashes when using mpv 2022-12-04 13:32:23 +01:00
Arkadiusz Fal
01d8e28d7c Add more playback rates for MPV 2022-12-04 13:32:23 +01:00
Arkadiusz Fal
a44cce462a Preserve playback rate between restarts 2022-12-04 13:32:23 +01:00
Arkadiusz Fal
cb81a687bc Improve EOF handling with MPV 2022-12-04 13:32:22 +01:00
Arkadiusz Fal
402d1a2f79 Opening videos by URL and local files 2022-12-04 13:32:22 +01:00
Arkadiusz Fal
a086a0f440 Use Swift 5.7 if-let style 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
a7a3e0827d Revert "Improve setting audio session"
This reverts commit eedc8f32d1.

Fix #307
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1744210615 Fix optional use 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4f8ac1eadb Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f607e6e276 Model improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
df96c2dba0 Fix updating playing status 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
6643208579 Change aspect ratio handling with MPV 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b8380b2528 Minor fixes 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
14cb1958d8 Fix drawing state issues 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e444dc3c79 Improve seek gesture 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
1cf37e5a00 Improve setting audio session 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
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
a22d953a6c Fix updating UI on main thread 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
256bbd52a7 Extend available streams formats list to AVPlayer 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d5b4b6baac Force seek only on HLS 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
b5f8a0fba2 Minor performance improvement 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c3e2e5c258 Fix updating system controls playback status on macOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
6c6ba19df4 PiP improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
eeda7a5c6e Don't switch to MPV after closing PiP 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fa76f726c5 Show asset loading error from AVPlayer 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
a222c722c3 Fix applying video player size on iOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
2edab536a6 Minor PiP improvement 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
dcfd24e376 Minor changes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
9a958113c4 Minor performance 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
cf14ff51c5 Fix managing screen saver on macOS
Fix #245
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e609e90165 Improve AVPlayer performance
Fix updating aspect ratio

Fix #170
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
bc4b5fefe8 Lower network state update frequency 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
e6baaa519a Live streams fix (fix #174, #175) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1329bef2f9 Aspect ratio fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ebe3ba9ed5 Playback modes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1e21c50b5d Aspect ratio 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
36363628d4 Add MPV logs export 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d8a699a4eb Enable mpv drawing in simulator 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
11ef8c4dfc Fix handling EOF with MPV (#201) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
41fb021b64 Add MPV cache advanced settings 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
dc346f6c25 Replace repeating timer implementation 2022-10-27 18:03:57 +02:00