Commit Graph

1200 Commits

Author SHA1 Message Date
Rafostar
932849af92 Add desktop file, icon and "application/claps" mime type 2020-09-17 18:57:40 +02:00
Rafostar
2225aa2343 Fix playlist file relative path handling 2020-09-17 13:00:45 +02:00
Rafostar
ae766298a8 Lower CPU usage when OSD is visible 2020-09-16 18:24:31 +02:00
Rafostar
1c2a8a476e Move revealers logic to separate file 2020-09-16 13:26:30 +02:00
Rafostar
1918b30bea Cover whole video screen with top revealer
Previously top revealer was set to fixed size, which caused a noticable video tearing along the revealer edge during its animation. This commit removes fixed revealer size, which in turn casues the revealer to cover whole video screen (default behavior), thus eliminates the tearing. Since overlay now becomes the top widget, all player notify signals were reconnected to it.
2020-09-16 11:54:01 +02:00
Rafostar
73e7f1e2a0 Add top overlay with title and current hour
This adds Kodi-like semi-transparent overlay with current media title, hour and estimated time when video will end. The overlay is visible only on fullscreen mode.
2020-09-15 21:08:46 +02:00
Rafostar
779796c2c3 Fix GUI look when video track is disabled 2020-09-14 22:25:42 +02:00
Rafostar
234c49221e Enable scroll on volume button 2020-09-14 16:10:09 +02:00
Rafostar
71659491c0 Support changing rank of codecs
The used GStreamer codecs are picked using rank hierarchy. When there are 2 or more decoders available that can handle the same stream type, the one with higher rank is always picked. This commit adds a function for the codec rank manipulation that can be used for e.g. force disable/enable VAAPI. Should be a neat feature once we have a settings dialog where it can be used.
2020-09-13 20:21:46 +02:00
Rafostar
c34df72f96 Drop all player signals on destroy 2020-09-13 17:20:07 +02:00
Rafostar
5a94ea445b Consistent with Readme packages description 2020-09-13 17:17:17 +02:00
Rafostar
75d4f26b78 Add gstreamer installation info to readme 2020-09-13 15:44:14 +02:00
Rafostar
940a828c46 Merge pull request #4 from sp1ritCS/master
Add prebuild packages links in readme
2020-09-13 13:46:01 +02:00
SpiritCS
e1fceecfac added prebuild packages in readme 2020-09-13 13:08:20 +02:00
Rafostar
1860114b7c Trim playlist from whitespaces 2020-09-13 11:23:55 +02:00
Rafostar
059ee932fe Skip non-existing files in playlist 2020-09-13 11:13:04 +02:00
Rafostar
9c37002925 Update README.md 2020-09-13 10:55:57 +02:00
Rafostar
2951157956 Merge pull request #3 from sp1ritCS/master
Add package files
2020-09-13 10:28:11 +02:00
SpiritCS
404b0f1200 cleaned up comments 2020-09-13 01:29:10 +02:00
Rafostar
5e6b0b9c48 Load playlist from text file
With this change Clapper can open and load a playlist inside a text file. The text file should have a ".claps" extension and include one media file path per line (path can be either absolute, relative or even a HTTP link).
2020-09-12 22:59:10 +02:00
Rafostar
043fe9f75e Move Popover button creation to buttons.js 2020-09-12 21:10:44 +02:00
Rafostar
71c5454547 Fix invisible unfullscreen button 2020-09-12 19:28:17 +02:00
SpiritCS
cb3058dc6f added libav arch optdepend 2020-09-12 17:48:14 +02:00
SpiritCS
c2856d6146 fixed gstreamer1 on RHEL, added libav to suse builds 2020-09-12 15:17:19 +02:00
SpiritCS
c7be556e6e added all codecs from totem, only using gst-libav for now tho; added gst-vaapi, further research required 2020-09-12 14:06:08 +02:00
SpiritCS
f973f15444 fixed my vim so its on par with githubs tab policy 2020-09-12 12:41:17 +02:00
SpiritCS
d37a025500 fixed stuff @Rafostar requested 2020-09-12 12:37:05 +02:00
Spirit
4abca4bd42 fixed x86_64 dep issue 2020-09-11 23:43:54 +00:00
Spirit
2ea19aa769 added potentially missing deps 2020-09-11 20:53:58 +00:00
Rafostar
6938f01433 Add "BoxedIconButton" class 2020-09-11 21:28:00 +02:00
SpiritCS
1267614450 fixed arch build 2020-09-11 20:59:40 +02:00
Florian Singer
4116d3bbe3 Added Arch, Flatpak & RPM package files 2020-09-11 20:51:37 +02:00
Rafostar
5afe5149aa Add music visualizations 2020-09-11 20:33:06 +02:00
Rafostar
a01cc058cd Do not display video FPS when unavailable
Do not try to display video FPS inside video tracks selection popover button. The FPS value can be zero for example when viewing pictures.
2020-09-10 21:41:58 +02:00
Rafostar
1fdbf09cbd Display shorter names for all audio codecs 2020-09-10 21:32:12 +02:00
Rafostar
b446fb943e Hide track selection buttons without contents 2020-09-10 21:21:35 +02:00
Rafostar
ed5d449142 Support for multiple media files
This enables support for starting media player with more than one file path specified. When a file playback finishes, next is loaded automatically.
2020-09-10 19:53:04 +02:00
Rafostar
b8ed6b32dc Reuse old redio buttons
When a media is changed, normally one would expect to create new radio buttons with video/audio/subtitle tracks names corresponding to current video, but this is inefficient. Destroying objects just to create similiar ones again does take a long time and might lead to memory leaks. That is why a better and faster approach is to simply edit already available objects to match our expectations instead. This commit does just that for tracks radio buttons.
2020-09-10 19:50:41 +02:00
Rafostar
e9ec155e7b Move fullscreen and menu buttons to header bar
Follow other GNOME apps designs by having fullscreen button on the right side of window header bar. The control panel had too many buttons already and we still need to make some space for playlist. This way "fullscreen" button will be on top bar while windowed and "unfullscreen" button will appear on the bottom right only when player entered fullscreen mode.
2020-09-10 14:24:02 +02:00
Rafostar
557cbc11e2 Use filename as title when media info doesn't have one 2020-09-10 11:34:50 +02:00
Rafostar
3fb370e1d0 Fix not updated volume icon on startup 2020-09-10 10:41:37 +02:00
Rafostar
06914db0da Add header bar with media title and path 2020-09-10 10:26:20 +02:00
Rafostar
a9ac872c98 Do not hide controls in fullscreen while navigating it 2020-09-09 22:56:11 +02:00
Rafostar
0c5278e844 Make button popovers appear above the controls bar 2020-09-09 21:40:16 +02:00
Rafostar
ab11d52a68 Recreate volume button from scratch
Create volume button with popover instead of using GTK provided volume button.

Creating new button with only needed elements is more efficient then removing unneeded items from pre-made volume button. This should also increase performance a little when changing volume, because now we generate new icon only when a change is needed. In pre-made button icon is regenerated on each volume change.
2020-09-09 21:34:32 +02:00
Rafostar
22e8e44316 Create TODO.md
Note all collected ideas from reddit comments.
2020-09-09 10:28:47 +02:00
Spirit
b65666d4be Clean up meson warnings (#2)
Co-authored-by: Florian Singer <florian@spiritXPS.localdomain>
2020-09-09 09:26:34 +02:00
Rafostar
edcc7b71b9 Add meson build system (#1)
Initial meson build system support. We do not create .desktop file yet, but we need an option to open media files from GUI first anyway.
2020-09-08 19:55:59 +02:00
Rafostar
fd22457857 Reduce fullscreen position scale height a little bit 2020-09-08 10:31:22 +02:00
Rafostar
1c5759af88 Remove "Performace Comparison" from readme
Looks like nowadays VA-API is force disabled in Totem, in which case this comparison does not seem fair.
2020-09-08 09:45:22 +02:00