namidaco / namida

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

can't import my music library #18

Closed Joeeeeb5 closed 1 year ago

Joeeeeb5 commented 1 year ago

Instead of the junk you get hit with when opening the app, you should be able to select a folder and the app scans just that folder quickly. Other music player apps like Poweramp and Oto music were able to import all 400 of my songs in a couple of seconds but this was able to find half of them in over a minute and stopped after that

MSOB7YY commented 1 year ago

what are you expecting from a music player other than scanning ur music files? i cant let the initial folders empty and ppl open it and find it empty, but good suggestion i may add a welcome screen with initial folders

the jank u are talking about is normal with "indexing", poweramp and oto doesn't really "index", they just read them from Media Store, so obviously it will be fast/instant and not laggy, while Namida extracts info from the files themselves, there are some info can't be provided by Media Store so we use the actual files and actual extraction process, u dont spend ur time extracting ur library so scan once enjoy later

and what do you mean by "cant add my music library?" there are list of folders to scan from, if ur music exists in a folder that is not default music folder, just simply add that folder from Indexer :/

Joeeeeb5 commented 1 year ago

and what do you mean by "cant add my music library?" there are list of folders to scan from, if ur music exists in a folder that is not default music folder, just simply add that folder from Indexer :/

Like, I have 400 songs and around 250 lrc files in my music folder but namida couldn't index all music for some reason

Joeeeeb5 commented 1 year ago

the jank u are talking about is normal with "indexing", poweramp and oto doesn't really "index", they just read them from Media Store, so obviously it will be fast/instant and not laggy, while Namida extracts info from the files themselves, there are some info can't be provided by Media Store so we use the actual files and actual extraction process, u dont spend ur time extracting ur library so scan once enjoy later

Hmmm, interesting. What positive things does indexing have over just reading the files? I find that my artists and albums are organized and searching is instant either way

MSOB7YY commented 1 year ago

@Joeeeeb5

MSOB7YY commented 1 year ago

Media Store doesnt provide some of the main fields that Namida relies on and considered critical, for example comment tag, which should have a youtube link to the music which allows u to

  1. fetch that video and automatically and play it along with music
  2. import youtube history, which later be useful for all other functionalities (like recommended tracks) if u just started using the app

u will also lose lyrics tag (which should be used to display lyrics), mood tag, along with other tag fields which might or might not be useful for u

also, by using media store, you will be bounded to their other api thingys, like albums, artist, genres, playlists, etc.. even all these sorting u see in namida, most of them wont be availabe

also there is artwork, u can

add, respect.nomedia option will have no effect, since media store automatically ignores folders with .nomedia

thats what i remember for now, i chose this way bcz its felixible and opens the door for any feature without limitation, hope u understand

Joeeeeb5 commented 1 year ago

@Joeeeeb5

  • as for lrc: im working on lrc support with animated synced screen, its almost done (check #6)
  • as for indexing: try the latest snapshot in Telegram chat, some people reported and got fixed with that version, if you made sure u added your library folders, tried the snapshot, and it indicates that it was indexing (400) track in Indexer settings, then share logs on the chat
  • i also worked on a minimal algorithm which speeds up indexing by 250%, will be available in next release

Thanks for your responses! I'll try the next version and give feedback on it too :)