Commit graph

40 commits

Author SHA1 Message Date
Hugo
07ed2615d0 Add daemon mode support 2025-03-22 19:22:22 +00:00
Josh Megnauth
701fc818f7 Playlist with multiple, mixed items
Prior to this commit, projects/playlists were limited to folders even if
file URLs were passed as arguments. With this commit both files and
folders are added to projects from the command line.

This doesn't affect opening a file from the GUI yet, but this patch
implements the required plumbing for that as well.
2025-03-13 12:17:54 -06:00
Josh Megnauth
3fd8641df2 Parse multiple URLs via command line
Closes: #44, #47

I used pico-args over clap because the former only adds about 1KB of
binary bloat whereas clap adds almost 1MB.
2025-03-13 12:17:54 -06:00
Josh Megnauth
011c633a8a Open folder passed as command line arg
Allows opening a folder on the command line rather than only a single
file. This is useful for Freedesktop compliant file managers as they
pass files URLs to media players.

This currently only handles one URL whereas the spec allows multiple.
2025-02-03 08:19:00 -07:00
Jeremy Soller
3466b064e9
Support missing metadata, fixes #56 2025-01-31 16:13:56 -07:00
Jeremy Soller
fe143a689f
Adjust text color 2025-01-31 16:09:17 -07:00
Jeremy Soller
d65acd4979
Use bg_component_color as background for audio 2025-01-31 15:34:32 -07:00
Jeremy Soller
67caa89151
Show metadata for audio files, part of #56 2025-01-31 15:19:01 -07:00
Jeremy Soller
841816e8d1
Add tree view, fixes #52, fixes #53 2025-01-24 14:05:50 -07:00
Jeremy Soller
0169cccfa2
Add recent media, part of #53 2025-01-24 12:49:02 -07:00
Jeremy Soller
fd1df4f098
Fix deadlocks when opening files while another file is playing 2025-01-24 12:23:57 -07:00
Jeremy Soller
4fee3f84fa
Scale down album art image 2025-01-19 10:25:46 -07:00
Jeremy Soller
22c7a76f41
Show open with button when no media loaded, fixes #55 2025-01-19 10:19:47 -07:00
Jeremy Soller
5c6163eed7
Move seek to second line when condensed, fixes #54 2025-01-19 10:08:24 -07:00
Jeremy Soller
0ad6d5e3e0 Improve argument handling 2025-01-18 10:09:08 -07:00
Jeremy Soller
73f524c95e
Implement MPRIS and album art, fixes #57, fixes #59, part of #56 2025-01-18 08:47:47 -07:00
Jeremy Soller
e76ea68bfc
Improve plugin install logic 2024-12-30 13:38:54 -07:00
Jeremy Soller
93db103a0c
Update iced_video_player 2024-12-30 12:57:03 -07:00
Jeremy Soller
b26005d780
Move language selection to bottom bar, implement volume 2024-12-05 13:41:58 -07:00
Jeremy Soller
7f9d56ae0c
Add file menu, improve naming of subtitles 2024-12-05 12:20:37 -07:00
Jeremy Soller
d8ee67cc7f
Improve argument handling 2024-10-14 07:08:35 -06:00
Jeremy Soller
f10350c7ec
Remove ffmpeg implementation 2024-10-09 11:15:04 -06:00
Jeremy Soller
17ce907f28 Split into ffmpeg and gstreamer implementations 2024-10-05 10:05:18 -06:00
Josh Megnauth
e078fe05dd
Pass HW decoder choice to player 2024-02-16 03:15:23 -05:00
Josh Megnauth
028fd83296
Allow config to be updated with CLI args 2024-02-15 23:38:23 -05:00
Josh Megnauth
99595eeeed
Wrap FFmpeg's AVHWDeviceType and av_hwdevice_iterate_types 2024-02-14 03:09:44 -05:00
Jeremy Soller
9406fecd30 Update dependencies, enable CSDs on redox, set min size 2024-02-10 20:39:50 -07:00
Jeremy Soller
ccee108243
Rebase on new libcosmic 2024-02-09 09:15:29 -07:00
Jeremy Soller
2fa67bd58d
Fix video/audio sync 2024-01-26 14:43:16 -07:00
Jeremy Soller
04e1c60189 Skip frames in application again 2024-01-25 22:08:50 -07:00
Jeremy Soller
da8c1f3df9 Improve frame skipping 2024-01-25 22:03:26 -07:00
Jeremy Soller
c726fca224 Allow more skipping if video is behind 2024-01-25 21:31:12 -07:00
Jeremy Soller
8eface2200 Show frames at correct time 2024-01-25 21:21:47 -07:00
Jeremy Soller
b3689dd693
Calculate video drift all the way in application update 2024-01-25 15:47:37 -07:00
Jeremy Soller
56e3939861
Calculate video drift 2024-01-25 15:34:23 -07:00
Jeremy Soller
1a43bf805e
Hacky hardware decoding 2024-01-25 15:08:59 -07:00
Jeremy Soller
d39c10b946
Add seek forwards/backwards 2024-01-24 21:06:07 -07:00
Jeremy Soller
8867b6ff4c
Improve debugging 2024-01-24 16:35:17 -07:00
Jeremy Soller
94a1244c6d
Convert to libcosmic and parse audio 2024-01-24 14:31:39 -07:00
Jeremy Soller
31a352c524 init 2024-01-23 21:55:34 -07:00