benank / everyone.dance

A realtime score sharing system for Stepmania. ⚠️ NOTE: This service is deprecated and no longer works, but you can still self host it.
https://everyone.dance
GNU General Public License v3.0
15 stars 1 forks source link

Goto button does not always find the right song #8

Closed benank closed 3 years ago

benank commented 3 years ago

If there are multiple songs with the same name installed, it will find the first song by pack alphabetically. It should find the exact song that matches the artist and group/pack as well.

MrTwinkles47 commented 3 years ago

You might try using the SONG:GetSongDir() along with the SelectSong() lua functions to identify and "goto" the correct song. The SongDir string is how StepMania uniquely identifies every song. This assumes that every player has the song installed in the exact same pack folder and all names are identical.

benank commented 3 years ago

Thanks! Yeah people often rename song packs and have them in strange places, so I'll keep the original "Find by name" behavior as a fallback, but it seems to work well!