Rafostar
6a4f5f2560
Export playlist to file with Ctrl+E
2021-05-02 20:25:15 +02:00
Rafostar
efe9439633
Do not ref all dialogs
...
The bug that we try to workaround here affects only file chooser dialog and not every dialog, so do not increase ref count on them
2021-05-02 17:29:15 +02:00
Rafostar
4179176ce8
Sink: queue render on GTK settings change
...
We have turned off auto rendering in video widget, hence we need to manually refresh when user changes some GTK settings (theme, icons etc.)
2021-05-02 15:51:14 +02:00
Rafostar
a7288adf4c
Do not check Ids length in shuffle repeat mode
...
We always have at least 2 playlist items, thus at least 1 Id in array when we reach this point in code
2021-05-01 12:27:56 +02:00
Rafostar
9bb3f999b1
Also seek to 0 for other repeat modes with 1 item playlists
2021-05-01 12:15:07 +02:00
Rafostar
0e6507682a
Do not show visualizations button when no audio tracks
2021-05-01 12:11:16 +02:00
Rafał Dzięgiel
2d8471dea0
Add playlist shuffle repeat mode #52
2021-04-29 12:26:40 +02:00
Rafał Dzięgiel
68f49c1495
Replace media playlist playing icon with repeat button #52
...
Show current and toggle change of repeat mode inside the playlist popover. The previous currently playing icon did not reflect actual playing state, so this should be better and does not take more space in UI.
2021-04-29 11:44:07 +02:00
Rafał Dzięgiel
a8bb6c40f4
Add more WebSocket API actions
2021-04-28 12:40:27 +02:00
Rafał Dzięgiel
71db78a0f6
Use "window.close" action instead of "close-request"
2021-04-28 12:15:20 +02:00
Rafał Dzięgiel
4133557086
Do not send or apply undefined args over WebSocket
2021-04-28 11:50:14 +02:00
Rafał Dzięgiel
d926e6b389
Add keybinding to change repeat mode #52
2021-04-27 15:25:22 +02:00
Rafał Dzięgiel
fd2de8b9b6
Add repeat mode options to playlist #52
2021-04-27 14:50:54 +02:00
Rafał Dzięgiel
de65eee106
API: simplify playbin flags detect function
2021-04-27 12:28:59 +02:00
Rafał Dzięgiel
9b07ff7dc5
Mention that packages from my repo are unstable
2021-04-27 11:23:42 +02:00
Rafał Dzięgiel
047dd12fbb
Restore initial GUI state after playback
2021-04-27 11:14:09 +02:00
Rafał Dzięgiel
3238270c0d
Ignore duration changes below 1ms during playback
2021-04-27 10:43:13 +02:00
Rafał Dzięgiel
997e47b93c
API: let client decide what to do on EOS #52
2021-04-27 09:24:13 +02:00
Rafał Dzięgiel
ec1d4619a7
API: make "state" into a property
2021-04-26 22:30:01 +02:00
Rafał Dzięgiel
f4e48c9f8c
Sink: render black on READY_TO_NULL state change
...
Show black background when playback finishes
2021-04-26 20:42:00 +02:00
Rafał Dzięgiel
1da6b94efc
API: simplify EOS handling
...
Do not try to play smart with EOS by seeking to beginning. This leads to various errors or crashes. Just signal it and stop afterwards.
2021-04-26 20:40:44 +02:00
Rafał Dzięgiel
e4335721be
Simplify auto-fullscreen logic
2021-04-26 17:51:20 +02:00
Rafał Dzięgiel
45d2702e01
API: fix missing drop of signals inhibit
2021-04-26 17:36:28 +02:00
Rafał Dzięgiel
a8aca7b3c0
API: make it autoplay on the same context invoke
2021-04-26 14:47:42 +02:00
Rafał Dzięgiel
c6e8824e3b
API: add toggle_play method
2021-04-26 14:21:33 +02:00
Rafostar
e92ad68220
Print a warning when plugin rank cannot be changed
2021-04-25 22:00:00 +02:00
Rafostar
a98ca53dfb
Use Gio.SimpleAction as only keypress handler
2021-04-25 20:19:44 +02:00
Rafał Dzięgiel
32995fc6a6
Sort chapters arr when switching to prev/next one
...
TOC representation obtained for some video files might be out of order. Sort them when switching between chapers, otherwise "next" chapter might not be the nearest one.
2021-04-22 15:48:16 +02:00
Rafał Dzięgiel
6b5240ddbc
Add missing return value
2021-04-22 15:35:16 +02:00
Rafał Dzięgiel
46ef6bcd1d
Use "const" for chapters keys
...
Array is reversed but variable holding it is not replaced in this function, so "const" can be used here
2021-04-22 15:28:19 +02:00
Rafał Dzięgiel
bd13a3c15a
Use Shift+Left/Right to switch video chapters
2021-04-22 14:40:21 +02:00
Rafał Dzięgiel
edfa85b5cc
Use Ctrl+Left/Right to switch playlist items. Closes #63
2021-04-22 14:32:02 +02:00
Rafał Dzięgiel
084f78a851
Change actions naming scheme
...
Use _ instead of capital letters in words for actions names. This will make some other stuff much easier.
2021-04-22 14:29:40 +02:00
Rafał Dzięgiel
c9b2f25192
Act on key press, not release
2021-04-22 14:13:53 +02:00
Rafał Dzięgiel
6f39b3939a
Do not get ancestor on key release if unneeded
2021-04-21 18:14:13 +02:00
Rafał Dzięgiel
ee78ffb1e4
Fix seeks when window tiling with Super key
...
Super key is consumed by shell and never reaches app key press detection. Use that to fix seeking when tiling window by ignoring all key releases that did not have a key press beforehand.
2021-04-21 17:04:09 +02:00
Rafał Dzięgiel
bfbbc517d5
Small cleanup
2021-04-21 16:59:06 +02:00
Rafał Dzięgiel
7559a61c9f
Hold Ctrl while doing D&D to append items to playlist instead of replacing it
2021-04-21 14:56:26 +02:00
Rafał Dzięgiel
deb273179f
Add append_playlist function
2021-04-21 14:55:20 +02:00
Rafał Dzięgiel
231af36ef6
Enumerate local directories only
2021-04-20 19:31:24 +02:00
Rafał Dzięgiel
2e892c923b
Support opening folders with media files
...
D&D folder with videos onto Clapper window to play them as video playlist. If folder contains exactly one video and subtitle file, then that video will be played with subtitles automatically applied.
2021-04-20 18:44:53 +02:00
Rafał Dzięgiel
0ab0b66825
0.2.1
0.2.1
2021-04-19 13:06:40 +02:00
Rafał Dzięgiel
d901eb4712
Update README.md
2021-04-19 10:31:30 +02:00
Rafał Dzięgiel
fe03719b38
Show tooltip with full playlist item text on hover
...
Some titles might be more than few words and will not fit in current playlist popover. Instead of stretching it, show full playlist item filename (or path) on hover in a tooltip.
2021-04-18 18:44:16 +02:00
Rafał Dzięgiel
f0ea7ae798
Remove set_seek_mode check
...
We now use a custom GstPlayer fork that has it added
2021-04-18 15:28:55 +02:00
Rafał Dzięgiel
380236b8ba
Cleanup: do not extend player class twice
...
We only use the base class once, no need to have it separately then. Merge into single file.
2021-04-18 15:25:02 +02:00
Rafał Dzięgiel
e721130a63
YT: live videos with duration are not live anymore
2021-04-18 14:13:30 +02:00
Rafał Dzięgiel
eaf090d2e2
YT: be a little more quiet about some errors
...
Some errors are to be expected for some videos. Quietly use fallback methods for them without printing those errors.
2021-04-18 14:04:53 +02:00
Rafał Dzięgiel
87115f43d7
YT: store adaptive option value in itag opts
...
So its easier to access and obtained only once
2021-04-17 20:35:15 +02:00
Rafał Dzięgiel
33a5ec18fa
Change prefs adaptive streaming text
...
This option sets the preferred streaming mode. When unavailable, other might still be used as a fallback.
2021-04-17 18:06:34 +02:00