Commit Graph

179 Commits

Author SHA1 Message Date
Arkadiusz Fal
757123de75 Update artwork of AVPlayer using URLSession 2022-08-15 16:34:15 +02:00
Arkadiusz Fal
df6e88fa83 Disable hardware decoding on Intel 2022-08-15 16:34:15 +02:00
Arkadiusz Fal
446e847860 Update artwork using URLSession 2022-08-15 16:34:15 +02:00
Arkadiusz Fal
e69a329813 Fix toggling player view 2022-08-15 16:34:15 +02:00
Arkadiusz Fal
616886f0d2 Fix updating controls buttons status 2022-08-15 16:34:15 +02:00
Arkadiusz Fal
9bf45a26d2 Fix showing restore segment button 2022-08-15 16:34:14 +02:00
Arkadiusz Fal
e98dae6d48 Minor tvOS layout fixes 2022-08-15 16:34:14 +02:00
Arkadiusz Fal
281c88df45 Improve queue details loading 2022-08-15 16:34:14 +02:00
Arkadiusz Fal
288d06e120 Add setting for closing player after playing last item (fix #98) 2022-08-15 16:34:14 +02:00
Arkadiusz Fal
164e68e5a1 Minor UI changes 2022-08-15 16:34:14 +02:00
Arkadiusz Fal
19014cc540 Improve network state updates 2022-08-15 16:34:13 +02:00
Arkadiusz Fal
ba1115fe2a Player controls UI changes
WIP on controls

Chapters

working

Add previews variable

Add lists ids

WIP
2022-08-15 16:34:13 +02:00
Arkadiusz Fal
a912079eac Disable MPV drawing in simulator 2022-08-15 16:34:13 +02:00
Arkadiusz Fal
568a9b95e9 Improve data parsers 2022-08-15 16:34:13 +02:00
Arkadiusz Fal
0085170565 Add buffering and cache length to stats 2022-08-15 16:34:12 +02:00
Arkadiusz Fal
42264b3818 Improve performance and add statistics for MPV 2022-08-15 16:34:12 +02:00
Arkadiusz Fal
0158048648 Add dropped frames counter 2022-08-15 16:34:12 +02:00
Arkadiusz Fal
e91c7fb2d5 Improve MPV performance 2022-08-15 16:34:12 +02:00
Arkadiusz Fal
ec9fd25c25 Minor controls improvements 2022-08-15 16:34:12 +02:00
Arkadiusz Fal
97f040b3cb Fix orientation lock when closing player 2022-08-15 16:34:12 +02:00
Arkadiusz Fal
4509b6229a Fix #163 2022-08-15 16:34:12 +02:00
Arkadiusz Fal
95d1e9bf39 Fix #162 2022-08-15 16:34:11 +02:00
Arkadiusz Fal
58de661d96 Update watch history using background context 2022-08-15 16:34:11 +02:00
Arkadiusz Fal
359e39b16f Fix setting video mode on MPV 2022-08-15 16:34:11 +02:00
Arkadiusz Fal
f631d4f6e3 Minor layout fixes 2022-08-15 16:34:11 +02:00
Arkadiusz Fal
8dd028126c Fix mpv initialization on macOS 2022-08-15 16:34:11 +02:00
Arkadiusz Fal
89713d815a Add initial version of music mode 2022-08-15 16:34:11 +02:00
Arkadiusz Fal
e132a0004e Minor SponsorBlock fix 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
09c0d8277f Improve MPV loading commands 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
b90a726f87 Don't draw player when in background 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
9d79543085 Improve animations 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
3cb20452c7 Load audio and video together with one command with MPV 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
d5558b2f85 Minor fixes 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
06a6126eb5 Minor improvements 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
621681df8b New channel navigation 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
21b1f61da6 Add buttons to next video and restart video (fix #106)
Previous video requires rebuilding queue a little, maybe in the future
2022-08-15 16:34:10 +02:00
Arkadiusz Fal
8bab854986 Don't push MPV to play HLS on changing backends
It takes longer to load than WEBM
2022-08-15 16:34:10 +02:00
Arkadiusz Fal
680baf3f39 Add Open in PiP option (fix #137) 2022-08-15 16:34:10 +02:00
Arkadiusz Fal
87a6a3d275 Minor improvements 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
dd003db261 Fix orientation (#121) 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
8b724fb457 Minor improvements 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
a71a7760be Player overlaying other views and swipe gesture (fix #44, #130) 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
34990201dc More controls improvements 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
0ed014c9c5 Minor player controls improvements (fix #94) 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
eb7cca1c56 PiP improvements 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
a67a96cfa0 Don't skip segments that start before 4 seconds
To minimize buffering
2022-08-15 16:34:09 +02:00
Arkadiusz Fal
7abe754cef Fix #126 2022-08-15 16:34:09 +02:00
Arkadiusz Fal
0888b0e7ff Prefer VP9/WEBM over H.264/MP4 (fix #128) 2022-08-15 16:34:08 +02:00
Arkadiusz Fal
0d6f481470 Add PiP for iOS 2022-08-15 16:34:08 +02:00
Arkadiusz Fal
a4fb39a0d7 Fix rate button 2022-08-15 16:34:08 +02:00
Arkadiusz Fal
6196569f46 Fix using Watch history in player queue 2022-08-15 16:34:08 +02:00
Arkadiusz Fal
f32247d125 Throttle SponsorBlock seek 2022-08-15 16:34:08 +02:00
Arkadiusz Fal
3953bce8f8 Add rate change selector 2022-08-15 16:34:08 +02:00
Arkadiusz Fal
3f137be780 Restore last played item into queue only if it's not in there yet 2022-08-15 16:34:08 +02:00
Arkadiusz Fal
d202ff8b40 Improve subscriptions count
Piped API now includes it in the streams response, no need for separate
query
2022-08-15 16:34:08 +02:00
Arkadiusz Fal
9e076f8b5f Fix #86 2022-08-15 16:34:07 +02:00
Arkadiusz Fal
1d5d920f88 Improve EOF handling 2022-08-15 16:34:07 +02:00
Arkadiusz Fal
ba6b148a75 Limit formats available to AVPlayer 2022-08-15 16:34:07 +02:00
Arkadiusz Fal
b15d024f88 Fullscreen handling changes 2022-08-15 16:34:07 +02:00
Arkadiusz Fal
998ded2dad Fix optional 2022-08-15 16:34:07 +02:00
Arkadiusz Fal
5f15971bce Controls fixes 2022-08-15 16:34:07 +02:00
Arkadiusz Fal
b9dfdeb23f tvOS fixes 2022-08-15 16:34:07 +02:00
Arkadiusz Fal
011ca5dac2 Close fullscreen and restore portrait on closing player 2022-08-15 16:34:06 +02:00
Arkadiusz Fal
20876584e8 Improve streams quality settings 2022-08-15 16:34:06 +02:00
Arkadiusz Fal
1912c8b845 Minor improvements 2022-08-15 16:34:06 +02:00
Arkadiusz Fal
a90cd89142 Add toggle for dislikes 2022-08-15 16:34:05 +02:00
Arkadiusz Fal
dcfb86240b Minor fixes 2022-08-15 16:34:05 +02:00
Arkadiusz Fal
2ae164e120 Add ReturnYoutubeDislike API 2022-08-15 16:34:05 +02:00
Arkadiusz Fal
09ceb54ae7 Fixes for MPV in macOS 2022-08-15 16:34:05 +02:00
Arkadiusz Fal
d45175e67b Fix EOF handler 2022-08-15 16:34:05 +02:00
Arkadiusz Fal
76857e5eb6 Minor improvements 2022-08-15 16:34:05 +02:00
Arkadiusz Fal
9a91b9911b Prevent multiple seeks 2022-08-15 16:33:55 +02:00
Arkadiusz Fal
2491706ba2 Add Now Playing info center updates 2022-08-15 16:33:54 +02:00
Arkadiusz Fal
01f58b6458 Hello, mpv! 🎉 2022-08-15 16:33:54 +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
c8fa972a61 Hide player on video end only on tvOS 2022-03-26 15:12:06 +01:00
Arkadiusz Fal
a98b4eac83 Fix selecting best quality stream (fix #54) 2022-01-24 22:23:10 +01:00
Arkadiusz Fal
a04827cc56 Fix restoring queue 2022-01-09 16:38:05 +01:00
Arkadiusz Fal
f29dc792c2 Fix player controls progress bar warning 2022-01-06 17:47:07 +01:00
Arkadiusz Fal
e159bb772c Improve macOS Big Sur blur effect 2022-01-06 17:00:58 +01:00
Arkadiusz Fal
8a74938b98 Improve windows handling on macOS 2022-01-06 16:35:45 +01:00
Arkadiusz Fal
00778b585f Add iOS options for handling landscape fullscreen (fixes #38) 2022-01-02 22:38:56 +01:00
Arkadiusz Fal
04df9551ba Add Play/Shuffle All for playlists (fixes #39)
Add Remove All from queue button on tvOS
2022-01-02 20:46:02 +01:00
Arkadiusz Fal
149607efbc Fix reporting player item duration to Now Playing 2021-12-29 20:20:09 +01:00
Arkadiusz Fal
89957e3b56 Better UI handling for loading video details (fixes #46) 2021-12-29 19:55:41 +01:00
Arkadiusz Fal
ab174c73fd Extract progress view, show video details loading 2021-12-29 19:39:38 +01:00
Arkadiusz Fal
ac1c6685a1 Improve history, resume videos, mark watched videos (fixes #42) 2021-12-26 23:35:44 +01:00
Arkadiusz Fal
18d6000976 Fix skipping intro (should not happen when changing stream) 2021-12-20 00:39:45 +01:00
Arkadiusz Fal
ea90f650d8 Remove unused code, minor style changes 2021-12-20 00:36:12 +01:00
Arkadiusz Fal
61a4951831 Layout and PiP improvements, new settings
- player is now a separate window on macOS
- add setting to disable pause when player is closed (fixes #40)
- add PiP settings:
  * Close PiP when starting playing other video
  * Close PiP when player is opened
  * Close PiP and open player when application
    enters foreground (iOS/tvOS) (fixes #37)
- new player placeholder when in PiP, context menu with exit option
2021-12-19 18:17:04 +01:00
Arkadiusz Fal
cef0b2594a Better loading and handling streams 2021-12-19 17:56:47 +01:00
Arkadiusz Fal
23e2e216db Start playing after video intro instead of seeking from beginning 2021-12-17 21:02:15 +01:00
Arkadiusz Fal
d7058b46d3 Fix updating player item duration for live streams 2021-12-17 21:01:18 +01:00
Arkadiusz Fal
c4ca5eb4c7 Show channel thumbnail in player 2021-12-17 21:01:05 +01:00
Arkadiusz Fal
de09f9dd52 SponsorBlock segments loading improvement 2021-12-17 20:55:52 +01:00
Arkadiusz Fal
62bff9283c Faster replacing player item 2021-12-06 19:12:02 +01:00
Arkadiusz Fal
82ea8733ec Fix crash when video thumbnail cannot be loaded (fixes #28) 2021-12-05 18:31:35 +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
Arkadiusz Fal
19b146c6ad Close current video (fixes #15) 2021-12-02 21:19:10 +01:00