* Translated using Weblate (Arabic)
Currently translated at 100.0% (22 of 22 strings)
Translation: Pop OS/COSMIC Player
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-player/ar/
* Translated using Weblate (Bulgarian)
Currently translated at 100.0% (22 of 22 strings)
Translation: Pop OS/COSMIC Player
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-player/bg/
* Added translation using Weblate (Czech)
---------
Co-authored-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Co-authored-by: twlvnn kraftwerk <kraft_werk@tutanota.com>
Co-authored-by: lorduskordus <lorduskordus@gmail.com>
We hide the title bar similarly on how we hide the controls bar.
The difference between the header bar and the controls bar is that in
`Fullscreen` mode we don't display the header bar even if we have mouse
movement.
If a menu or sub-menu is open, but then the user makes no mouse
movement, then the menus will be hidden when the header bar is hidden.
I'm not sure how to handle the side panel, the `nav_bar`, what I call
"the playlist". I decided to not handle it's hiding based on mouse
movement because it is still displayed when we put the window in
`Fullscreen` mode.
Closes#37
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.
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.