cosmic-player/src
Cristian Dinu 59cd966a30 fix(args): Eliminate the binary from arguments
For an executable the first argument is always the binary itself.
Because of this we have to skip it.

If we don't skip it, then it will be treated as another URL, therefore
`cosmic-player` will end up opening two URLs, one for the binary and one
for the actual file we want to play.

When opening multiple files `cosmic-player` will show the side panel /
playlist with the list of files.

The regression this commit fixed was introduced by `01be9152`.

Closes #96.
2025-03-27 08:49:09 +01:00
..
argparse.rs fix(args): Eliminate the binary from arguments 2025-03-27 08:49:09 +01:00
config.rs Add tree view, fixes #52, fixes #53 2025-01-24 14:05:50 -07:00
key_bind.rs Add file menu, improve naming of subtitles 2024-12-05 12:20:37 -07:00
localize.rs Add tree view, fixes #52, fixes #53 2025-01-24 14:05:50 -07:00
main.rs feat: add help and version flags to argument parser 2025-03-26 16:42:39 +01:00
menu.rs Add tree view, fixes #52, fixes #53 2025-01-24 14:05:50 -07:00
mpris.rs Implement MPRIS and album art, fixes #57, fixes #59, part of #56 2025-01-18 08:47:47 -07:00
project.rs Add tree view, fixes #52, fixes #53 2025-01-24 14:05:50 -07:00