Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to load a folder silently fails #47

Open
BrodieRobertson opened this issue Jan 11, 2025 · 3 comments
Open

Attempting to load a folder silently fails #47

BrodieRobertson opened this issue Jan 11, 2025 · 3 comments

Comments

@BrodieRobertson
Copy link

I'm unsure if this is a bug in the file picker or the media player itself but if you try to select a folder and open that in the media player it silently fails, the file picker stays open and nothing happens.

@Zakadius123
Copy link

Also getting this. Running through the terminal I get these errors on Alpha 5.

cosmic-player version: 0.1.0173644834524.04~4667c03

zaka@Zaka:~/Documents/Buga$ cosmic-player Wowee.mp4
[2025-01-11T16:09:45Z WARN cosmic_player] failed to open file:///home/zaka/Documents/Buga/Wowee.mp4: Element failed to change its state
[2025-01-11T16:09:45Z WARN sctk_adwaita::buttons] Ignoring unknown button type:
[2025-01-11T16:09:45Z WARN wgpu_hal::gles::egl] No config found!
[2025-01-11T16:09:45Z WARN wgpu_hal::gles::egl] EGL says it can present to the window but not natively
[2025-01-11T16:10:42Z WARN cosmic_player] failed to open file:///home/zaka/Vid%C3%A9os/rtrtr07-rtrt36.mkv: Element failed to change its state

As a note I can open audio files such as .opus and .wav

@iamkartiknayak
Copy link
Contributor

It is expected that a media file must be selected to play media. Currently, COSMIC Player does not support queuing media files to load an entire directory.

If a file is selected, it plays without any issues

@BrodieRobertson
Copy link
Author

The issue isn't that COSMIC player doesn't support queuing a folder, the issue is if you try to open a folder absolutely nothing happens, it doesn't give you an error, it just silently fails.

joshuamegnauth54 added a commit to joshuamegnauth54/cosmic-player that referenced this issue Feb 11, 2025
Closes: pop-os#44, pop-os#47

I used pico-args over clap because the former only adds about 1KB of
binary bloat whereas clap adds almost 1MB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants