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

Can't access local mp3 files #64

Open
abompard opened this issue Nov 20, 2018 · 4 comments
Open

Can't access local mp3 files #64

abompard opened this issue Nov 20, 2018 · 4 comments

Comments

@abompard
Copy link

When I go to the settings page and click "Add a source", the file picker opens but my home directory appears empty.

@TingPing
Copy link
Member

If you just have a weird music dir just run: xdg-user-dirs-update --set MUSIC /path/to/music

If you have multiple music dirs run flatpak override --user --filesystem=/path/to/more/music com.spotify.Client.

Then start the app and the folders should appear.

@abompard
Copy link
Author

abompard commented Nov 21, 2018

I didn't change the default music dir:

$ xdg-user-dir MUSIC
/home/abompard/Musique

The second command worked though, thanks. Is there a reason why it's necessary? Maybe something related to my fr_FR locale?

@TingPing
Copy link
Member

Hmm, locale really shouldn't matter. If you can confirm that flatpak run --command=ls --filesystem=xdg-music org.freedesktop.Platform//18.08 ~ does not show Musique then its a bug to report to https://github.com/flatpak/flatpak

@abompard
Copy link
Author

It does show Musique. If I remove the override from Spotify with flatpak override --user --reset com.spotify.Client, then flatpak run --command=ls --filesystem=xdg-music com.spotify.Client ~ does show Musique, but the Spotify app doesn't see it when I try to add a local source. Not sure that helps.

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

2 participants