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
Rafał Dzięgiel
28c1daf709
Save and offer resume only for local files
...
We do not know if the online URI still leads to the same file as before (or if different one leads to previous). Additionally we would also need to check if media is seekable. Disable for now to avoid problems.
2021-04-12 22:29:20 +02:00
Rafał Dzięgiel
aa49d25df5
Stop pipeline before replacing playlist
2021-04-12 19:28:12 +02:00
Rafał Dzięgiel
774687710f
Add setting to enable YouTube adaptive streaming
...
For now hidden because other related YouTube settings like min/max resolution, codecs etc. are not done yet
2021-04-12 18:45:36 +02:00
Rafał Dzięgiel
901fc8d760
YT: try harder to find suitable DASH streams
...
Instead of searching for 1080p only, accept also other H.264 formats for DASH streaming
2021-04-12 17:41:42 +02:00
Rafał Dzięgiel
ab32b2dbbc
API: emit media info updated signal after video info updates
...
This fixes problem with wrong video resolution reported in media info due to being emitted before values were updated.
2021-04-12 17:38:44 +02:00
Rafał Dzięgiel
24bb9f298b
Avoid situations with no menu in headerbar
...
Some shells might want to show menu button outside of the app. We do not support that.
2021-04-12 17:30:00 +02:00
Rafostar
2efa3e0bf6
YT: fix non-working best combined URIs
...
Fix an undefined variable introduced during recent code cleanup
2021-04-11 16:34:02 +02:00
Rafostar
92e3f7d93c
YT: move info ready debug message before signal emit
...
Otherwise it will appear in wrong order in debug output and be misleading
2021-04-11 15:44:08 +02:00
Rafostar
85804ea297
Move YT related functions from player to youtube script
2021-04-11 15:35:41 +02:00
Rafostar
7cf86e92eb
YT: resolve redirects on the Clapper side
...
Instead of providing URIs directly to GStreamer, follow redirects and provide that final URI. With this change souphttpsrc will not have to go through redirects from the beginning for each video segment.
2021-04-11 14:46:08 +02:00
Rafostar
b5711b145b
Set Soup import version to 2.4
...
With Soup 3.0 release, there is a possibility of having both on the host. Set used version to 2.4 to avoid warnings and compatibility errors for now.
2021-04-10 21:41:28 +02:00
Rafostar
9271392397
Change default window size
...
Controls panel height is now 3px less then before (as intended). Change default window size setting to make it look good with 16:9 video on fresh install.
2021-04-10 14:58:24 +02:00
Rafał Dzięgiel
175de5bd6d
Flatpak: update FFmpeg to 4.4
2021-04-09 21:54:54 +02:00
Rafał Dzięgiel
7b97f29aaf
Flatpak: fix GTK4 build script
2021-04-09 21:14:56 +02:00
Rafał Dzięgiel
8d7fb761f7
Always reset auto fullscreen boolean value
...
Otherwise we would keep checking the settings with each playlist file and accidentally entered fullscreen when that setting value was changed in middle of playback.
2021-04-09 19:58:33 +02:00
Rafał Dzięgiel
aec2166c11
Only auto fullscreen with new playlist
...
This fixes a bug when player would enter fullscreen when changing playlist item
2021-04-09 19:34:17 +02:00
Rafał Dzięgiel
c21b214477
Tweak how auto fullscreen option works
...
When auto fullscreen is enabled, enter fullscreen on each media load
unless player is in floating mode in which probably user wants it to remain.
2021-04-09 19:11:34 +02:00
Rafał Dzięgiel
d9939a94c2
Fix some error messages not being displayed
2021-04-09 18:49:44 +02:00
Rafał Dzięgiel
dafa2cfdf5
Fix missing file extension in online URIs
2021-04-09 18:16:02 +02:00
Rafał Dzięgiel
ebe72f20b5
Hide end time together with title when stopped
2021-04-09 17:54:48 +02:00
Rafał Dzięgiel
fa1455556b
Treat media without duration as live content
2021-04-09 16:07:11 +02:00
Rafał Dzięgiel
8fb6b971fe
Always try to update end time after new media info
2021-04-09 13:53:43 +02:00
Rafał Dzięgiel
1bf46a2f12
Fix top time not showing up on fullscreen startup
2021-04-09 11:37:19 +02:00
Rafał Dzięgiel
a39c67e5e7
Check if local subtitle file exists before loading it
...
Otherwise GStreamer will error out and playback will stop. Non-existing subtitle file is common on Flatpak when user tries to open/drop a file from a folder that container does not have access to.
2021-04-09 10:55:06 +02:00
Rafał Dzięgiel
a3f78432f8
Flatpak: update GTK4 to latest git
...
GTK 4.2.0 has some problems that were fixed recently. Update to post release git.
2021-04-08 20:56:50 +02:00
Rafał Dzięgiel
7a7a04554f
Flatpak: remove glib-networking dependency
...
Runtime has now up-to-date version
2021-04-08 20:54:46 +02:00
Rafał Dzięgiel
93de3dc056
Flatpak: update runtime to 40
2021-04-08 20:52:35 +02:00
Rafał Dzięgiel
eda80f314e
API: replace source-setup with element-setup callback
...
Otherwise user agent is only set for source elements and not for further pipeline elements (e.g. dashdemux => souphttpsrc)
2021-04-08 18:24:49 +02:00
Rafał Dzięgiel
b3e6890571
Flatpak: add dashdemux sdix range download patch
2021-04-08 17:19:22 +02:00