GNOME Bugzilla – Bug 790067
No Tab in gnome-music when launch with gnome-builder
Last modified: 2017-12-12 22:37:55 UTC
Created attachment 363227 [details] Screenchot of the gnome-music When I lauch gnome-music with the builder there is no TAB, gnome music is completely empty.
That is because XDG_MUSIC_DIR is not set while running through flatpak. This stops the music app from finding the files, hence there are no tabs.
Do you know how to set the XDG_MUSIC_DIR variable for flatpak when running gnome-music from builder? I've searched but found nothing on how to set it.
It appears that Query.MUSIC_URI is None, and Query.music_folder is None as well. I'm running flatpak 0.10.1, gnome-builder 3.26.1 and building gnome-music with the settings from the org.gnome.Music.json file. When building, I have the same screen as Florian Darfeuille. I guess the flatpak sandbox has no access to the ~/Music dir but I don't get how to grant this access from gnome-builder.
*** This bug has been marked as a duplicate of bug 791071 ***