Commit Graph

384 Commits

Author SHA1 Message Date
Arkadiusz Fal
dc346f6c25 Replace repeating timer implementation 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
283d89b5a9 Fix another crash 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
029f19ba0b Fix crash 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
a02eb2b168 Fix crash on unloadable history items 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
97e9889682 Minor tvOS controls and remote improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f2c79a941e Update artwork of AVPlayer using URLSession 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ba57ecb965 Disable hardware decoding on Intel 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
8d3bbb34d6 Update artwork using URLSession 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
033249fa75 Fix setting frontend URL 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
539869cdbb Fix toggling player view 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
bc0ed93e87 Fix updating controls buttons status 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
abdb6d6512 Fix showing restore segment button 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d670a76635 Add settings to tvOS tab menu (fix #119) 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
adb1f72684 Add setting for thumbnails quality 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
8ebadd4758 Add share actions to video context menu 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
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
9c98cf9558 Disable MPV drawing in simulator 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
8341966159 Fix stream short quality 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
e6e18de106 Improve streams extraction 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
ed71231df3 Improve Invidious thumbnails URL handling 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b9e7b287d8 Add upstream fix for Invidious thumbnails
On John Ternus request (@llsc12)
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
7a6698897a Minor controls improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
cb89c4d53d Fix orientation lock when closing player 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
574df016f3 Fix #163 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c2301862f2 Fix #162 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d659063897 Update watch history using background context 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
dbffa4ae08 Fix setting video mode on MPV 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0ecc271e70 Minor layout fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
1855a57946 Fix mpv initialization on macOS 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
ef26f96f66 Minor SponsorBlock fix 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
208ba623e5 Improve MPV loading commands 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c0c9967bfd Don't draw player when in background 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ba79a3b664 Improve animations 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
48ba498183 Load audio and video together with one command with MPV 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
31c5ed1643 Navigation improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
a2e23fe72c New playlist navigation 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
d07b82a21b Don't push MPV to play HLS on changing backends
It takes longer to load than WEBM
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
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
bf46c36eca Don't skip segments that start before 4 seconds
To minimize buffering
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
bdc83a7e7c Fix #126 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0b274f92bd Prefer VP9/WEBM over H.264/MP4 (fix #128) 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
3e029f631c Fix rate button 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b3d471c8a0 Lint 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ae365e814c Add resolution 8K 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
52df6bf76e Fix using Watch history in player queue 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
51b5c5709a Throttle SponsorBlock seek 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
c4fd6aca24 Add rate change selector 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d58ec0684c Restore last played item into queue only if it's not in there yet 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
0e1192bb03 Improve subscriptions count
Piped API now includes it in the streams response, no need for separate
query
2022-10-27 18:03:57 +02:00
Arkadiusz Fal
31374630e8 Add resolutions for 50fps and 48fps (fix #120) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b203b5205a Add hd2160p60fps resolution (fix #118) 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
e60349ded1 Minor fix 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
f29ef8907f Fix #86 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
57d00053d8 Improve EOF handling 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
9fc4638298 Limit formats available to AVPlayer 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
9edcf66557 Fullscreen handling changes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fadffca69f Fix optional 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
cf3fa3871b Controls fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
fa91367b3d tvOS fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
2e7cbda5dc Close fullscreen and restore portrait on closing player 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
61054862d2 Improve streams quality settings 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
67723f4624 Minor improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
180bace38c Add toggle for dislikes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
bd8966735f Minor fixes 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
b22d75742e Add ReturnYoutubeDislike API 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
79118ff7e2 Fixes for MPV in macOS 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
d32b38c352 Fix EOF handler 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
4081c65c34 Minor improvements 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
ae861bce65 Prevent multiple seeks 2022-10-27 18:03:57 +02:00
Arkadiusz Fal
70ea098378 Add Now Playing info center updates 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
03d5eefab0 Reload playlist on adding video
In case video was added to the saame playlist
2022-05-22 00:36:25 +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
db5765a84b Disable placeholder channel link 2022-04-16 20:03:25 +02:00
Arkadiusz Fal
8d36f57271 Preliminary support for Piped playlist (listing playlists and videos) 2022-04-10 17:07:10 +02:00
Arkadiusz Fal
4f1b52826d Fix #109 2022-03-28 21:26:52 +02:00
Arkadiusz Fal
c893e5dc38 Fix menu commands 2022-03-27 22:02:07 +02:00
Arkadiusz Fal
ae4796a4c5 Add placeholders 2022-03-27 13:26:38 +02:00
Arkadiusz Fal
c14a4a153d Fix #72 2022-03-26 15:22:29 +01:00
Arkadiusz Fal
c8fa972a61 Hide player on video end only on tvOS 2022-03-26 15:12:06 +01:00
Arkadiusz Fal
9d8a2607ab Fix parsing subscriptions published date 2022-03-24 14:13:51 +01:00
Arkadiusz Fal
f7789c73d5 Fix opening playlists when recents is not saved (fix #57) 2022-02-26 11:10:29 +01:00
Ryan Stentz
1085bf0e9a fix issue #57 2022-02-26 11:07:50 +01:00
Arkadiusz Fal
a98b4eac83 Fix selecting best quality stream (fix #54) 2022-01-24 22:23:10 +01:00
Arkadiusz Fal
8ab97ddbaf Fix search closing when entering new query after opening recent 2022-01-20 23:14:11 +01:00
Arkadiusz Fal
a04827cc56 Fix restoring queue 2022-01-09 16:38:05 +01:00
Arkadiusz Fal
ca38133b1d Fix opening channel from video details 2022-01-09 15:47:00 +01:00
Arkadiusz Fal
d1ed896166 Add SponsorBlock categories details 2022-01-07 19:46:47 +01:00
Arkadiusz Fal
f2063be4a3 Update packages 2022-01-07 00:08:22 +01:00
Arkadiusz Fal
3495ecf693 Show recent channels/playlists in search in tab navigation 2022-01-06 18:21:14 +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
c1e219e46e Fix player controls progress bar 2022-01-06 15:55:34 +01:00
Arkadiusz Fal
1db4a3197d Add infinite scroll for comments 2022-01-05 17:12:32 +01:00
Arkadiusz Fal
16a3a4728d Fix watched at string 2022-01-05 17:08:29 +01:00
Arkadiusz Fal
ea6363ba65 Add infinite scroll for search (fixes #5) 2022-01-05 11:44:53 +01:00
Arkadiusz Fal
00778b585f Add iOS options for handling landscape fullscreen (fixes #38) 2022-01-02 22:38:56 +01:00
Arkadiusz Fal
e29982454b Add options for history: badge color and reset watched status on playing 2022-01-02 20:50:59 +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
32862ab446 Fix marking live videos from Piped 2021-12-26 20:14:45 +01:00
Arkadiusz Fal
91fa4ea2ff Extract open URL action 2021-12-24 20:20:05 +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
0a5cb5b542 Fix video context menu channel subscription button (fixes #41) 2021-12-19 23:27:20 +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
984e9e7b16 Fix visibility of likes/dislikes 2021-12-19 17:15:27 +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
201e91a3cc Show errors when handling playlists 2021-12-17 20:53:05 +01:00
Arkadiusz Fal
923f0c0356 More uniform comments UI 2021-12-17 20:46:49 +01:00