namidaco / namida

A Beautiful and Feature-rich Music & Video Player with Youtube Support, Built in Flutter
Other
2.02k stars 128 forks source link

Add language categorization #53

Open VerySweetBread opened 10 months ago

VerySweetBread commented 10 months ago

Add language categorization to search tracks by language of lyrics. Optionaly, add multiple language choice

MSOB7YY commented 10 months ago

are you talking about language in lyrics or the language tag inside metadata tags?

VerySweetBread commented 10 months ago

the language tag inside metadata tags

I guess, there's no language tag and you can't put any tag you want

language in lyrics

Y...yes... On which language(s) lyrics were written. Make it so, that user can define language for a track manually, because I think, auto recognition will be difficult

MSOB7YY commented 10 months ago

hmmmm im afraid this might be impossible, lrc files doesn't necessarily have language indentifier, but lets suppose it does, finding the track for the lrc file is not possible, u can find an lrc file for a track but not the other way around.

there is a specific language metadata tag available to read/edit, not sure if it's only ID3v2 but its there (won't be available in Media Store), anyways this tag is the only possible thing to do, but even that, the tag is usually a shorthand language identifier (en, ja, ru) etc.. so idk the whole thing seeems not possible to me

VerySweetBread commented 10 months ago

App already has indexer and databases. Why not just create db for languages and store in it by file's hash?