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
Rafał Dzięgiel
ab8cafa0b8
YT: support non-adaptive live streaming
2021-04-17 18:03:33 +02:00
Rafał Dzięgiel
62b6de6db2
YT: support live HLS videos
2021-04-17 16:14:21 +02:00
Rafał Dzięgiel
643c2029d0
Fix wrong indentation size
...
All the other code uses 4 spaces indent
2021-04-17 13:12:58 +02:00
Rafał Dzięgiel
9799783ee5
Use Gst.(M)SECOND constants instead of numbers
...
It makes code easier to read
2021-04-17 13:08:12 +02:00
Rafał Dzięgiel
457cbde25e
Remove unused return value
...
This function already appends to passed array. No need to return it.
2021-04-16 11:03:44 +02:00
Rafał Dzięgiel
2fd94fdc70
Add some YouTube related preferences
2021-04-16 10:37:17 +02:00
Rafał Dzięgiel
3a998fb91e
YT: auto select best matching resolution for used monitor
2021-04-16 09:53:21 +02:00
Rafał Dzięgiel
b02f54a3a6
Do not show mobile controls transition on launch
...
Start app with the correct controls layout instead of showing the "hide elapsed time"
transition when started on mobile width. It is annoying.
We cannot detect surface width during app widgets assembly, so update the controls
revealers state on first surface update after window is mapped and only if running
on mobile width. Otherwise do not do anything like before which will result in
showing fully revealed controls (default).
2021-04-15 15:27:28 +02:00
Rafał Dzięgiel
ca7b44092e
API: do not lock when changing scaled size values
...
Those values are private and should be accessed only from GTK thread, so locking widget should not be necessary here.
2021-04-15 11:58:12 +02:00
Rafał Dzięgiel
adbcfecb5e
API: unset needs_info_update when stopped
2021-04-15 11:30:55 +02:00
Rafał Dzięgiel
a717e481e8
Fix missing top left menu buttons. Fixes #66
...
On some non-default system configurations the "menu" layout item might be replaced with one named "icon". Handle "icon" the same as "menu" when organizing headerbar buttons.
2021-04-14 17:48:57 +02:00
Rafał Dzięgiel
4766efbbc4
0.2.0
0.2.0
2021-04-13 12:45:03 +02:00