swingmx / swingmusic

Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music.
https://swingmx.com
MIT License
755 stars 41 forks source link

Add language field for tracks #182

Open sortedcord opened 7 months ago

sortedcord commented 7 months ago

Currently, as it stands the track model does not have a property to store the language of a track. Language (by default) is supported by ID3 so I don't see why it should not be added. Instrumental songs can be left blank as is.

There are 2 main benefits to this: 1) Some tracks are released in their native language but their "Romanized" English titles end up becoming more popular. So sometimes there can be two duplicate songs that just differ by the language of the track. This can be managed by adding alternate-titles property to the track, sometime in the future.

2) Can help in support for multi-lingual lyric files. Can be useful for lyric translations similar to that in spotify:

image psd