Commit graph

12 commits

Author SHA1 Message Date
norepro
b559de8fc5 Rename repeat options to Disabled, Track, and Playlist
Change track and playlist to repeat current track indefinitely.
2025-11-27 20:48:32 -08:00
norepro
de70009ed2 Add three-state repeat button
Add a new button to the controls that defines whether the media repeats
at the end of the stream. The states are:

- Disabled: Media does not repeat. This is existing behavior and the
default state.
- Always: Media always repeats.
- Once: Media repeats once. Flag is reset when loading new media.

Tested all three states with both audio and video.

Added a `rustfmt.toml` to avoid reordering imports. They keep moving
around in previous pull requests, best to just define what we want in
the repository.

Fixes: #39
2025-11-26 18:26:06 -08:00
Josh Megnauth
bb087578df
Prevent screen turning off during playback
Closes: #157

XDG portals expose a D-Bus interface allowing apps to prevent screen
idling, user switching, and other actions. That interface,
org.freedesktop.portal.Inhibit, does all of the heavy lifting here.

Idling = the screen dimming or shutting off.

Idling is inhibited when a video is actively playing.
Idling is NOT inhibited when videos aren't playing - this includes
paused or stopped videos.
2025-11-13 13:26:23 -05: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
9ab453a3bb
Update dependencies 2024-10-10 11:22:22 -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
94a1244c6d
Convert to libcosmic and parse audio 2024-01-24 14:31:39 -07:00