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

Auxio crashes when trying to export or import a playlist #781

Closed
4 tasks done
eylenburg opened this issue May 31, 2024 · 11 comments
Closed
4 tasks done

Auxio crashes when trying to export or import a playlist #781

eylenburg opened this issue May 31, 2024 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@eylenburg
Copy link

Describe the Bug/Crash

Tried to export a playlist. Auxio crashes, the playlist file is created but empty (0 bytes).

Tried to import a playlist (.m3u, created by Strawberry on PC), Auxio crashes and playlist is not found in app afterwards.

Describe the intended behavior

Should work without crashing

What android version do you use?

Android 14

What device model do you use?

Pixel 8, GrapheneOS

Provide a sample file

(m3u files not supported but anyway Auxio just creates an empty file!)

Bug report

n/a

Duplicates

@eylenburg eylenburg added the bug Something isn't working label May 31, 2024
@OxygenCobalt
Copy link
Owner

Can you please make a bug report @eylenburg? Go to here for guidance on how to take one.

@eylenburg
Copy link
Author

@min7-i
Copy link
Contributor

min7-i commented Jun 1, 2024

@eylenburg Do you have storage scopes enabled for Auxio?

I couldn't reproduce this with the current releases 3.4.3 and 3.5.0-dev, but in previous versions I had to specify the export/import folder(s) for playlists in storage scopes.

@eylenburg
Copy link
Author

I don't think so, in fact in only has "music and audio" permissions. So perhaps it's not allowed to save/open files from the storage? I'm not sure how to fix it as Auxio doesn't ask for storage permission when I want to export/import the playlist...

@georgepestell
Copy link

I reproduced this bug when using a third party file manager (simple file manager). It works when going through the default file selection menu.

@eylenburg
Copy link
Author

I'm using the default file manager of GrapheneOS

@OxygenCobalt
Copy link
Owner

markup_1000002661.png

Does the file manager look like this @eylenburg?

@eylenburg
Copy link
Author

Yes that's the one

@min7-i
Copy link
Contributor

min7-i commented Jun 5, 2024

I don't think so, in fact in only has "music and audio" permissions.

@eylenburg Storage scopes is also available for apps requesting access to media files (audio, images or videos). In the permissions view for Auxio tap on the "music and audio" permission:

music and audio permission storage scopes
permissions storage scopes

In storage scopes you could add the music and download folder and try to import/export playlists from/to those folders.

@eylenburg
Copy link
Author

Thank you! That actually solves the problem and I can export the playlist now. It's a strange workaround though, having to forbid access to music at first.

@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Jun 5, 2024

Great, thanks for figuring it out @min7-i!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants