UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStarâ„¢
https://usdx.eu
GNU General Public License v2.0
845 stars 161 forks source link

Song path in ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/config.ini not recognized when using flatpak #742

Open DerGitRob opened 1 year ago

DerGitRob commented 1 year ago

Actual behaviour

put songs in /media/USDB/songs/

add song dir in ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/config.ini

[Directories] SongDir1=/media/USDB/songs/

USDX tells that i cannot find any song

Expected behaviour

USDX loads songs

Steps to reproduce

install Ultrastar Deluxe flatpak edit ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/config.ini and add songs path

run Ultrastar Deluxe and try to start singing

Details

Use Debian bookworm and latest usdx flatpak (UltraStarDeluxe-v2023.6.0-0-x86_64.flatpak)

s09bQ5 commented 1 year ago

That's not how flatpaks work. By default applications running in a flatpak can't see any files outside the flatpak except ~/.var/app/eu.usdx.UltraStarDeluxe/*. That's why the description on Flathub says songs need to be placed in ~/.var/app/eu.usdx.UltraStarDeluxe/.ultrastardx/songs/.

DarDarDrinks commented 11 months ago

I have the same ask here. I wanted to put my songs on an SD card for my steam deck. I tried doing a symlink but that didn't work. Would I be better using appimage and if so, how do I point to the SD card?

Love the project btw. One feature request would be UI options (maybe like Kodi) for larger collections. I have over 1000 songs.

s09bQ5 commented 11 months ago

If you use the appimage, a symlink will work. For the flatpak you could use a bind mount.

DarDarDrinks commented 11 months ago

Great, thank you.

whatever4711 commented 9 months ago

For flatpak you can also override the path: flatpak override eu.usdx.UltaStarDeluxe --filesystem=<PATH_TO_songs_folder>