music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.33k stars 49 forks source link

Local files not found #105

Closed schoeyuk10 closed 2 years ago

schoeyuk10 commented 2 years ago

Hi, i have my music, properly tagged in /config/media yet its not found in MA any ideas what i'm doing wrong ? Thanks in advance

marcelveldt commented 2 years ago

Can you please send me your homeassistant.log ?

schoeyuk10 commented 2 years ago

There are no errors relating to this in the logs

schoeyuk10 commented 2 years ago

Here are some screenshots of my configuration. I can only assume my file path is wrong as the mp3s play fine in the HA media browser.

Screenshot 2022-05-10 at 08 27 13

Screenshot 2022-05-10 at 08 29 01

Screenshot 2022-05-10 at 08 33 29

antonyslater commented 2 years ago

Don't think you need the "config", mine is set to "/media/Diskstation" as I have a mounted folder with my music in, seems to be doing something (There are 3 background jobs running) but then I do have a lot of music for it to search/catalogue.

schoeyuk10 commented 2 years ago

Don't think you need the "config", mine is set to "/media/Diskstation" as I have a mounted folder with my music in, seems to be doing something (There are 3 background jobs running) but then I do have a lot of music for it to search/catalogue.

Thanks for that.....i tried the way you said, but still no joy Weird thing is, there is nothing in the logs anywhere

Appreciate your help though

antonyslater commented 2 years ago

My "jobs" took a long time to run (probs over an hour), but I do now have some files in the Music Assistant available to "cast", I suspect it is still cataloguing in the background given the number of files I have though so bear with it. Marcel is actively working on this new project so updates are coming quite regularly too.

schoeyuk10 commented 2 years ago

Yeah, he is working hard, and it is appreciated.

I only have 2 files, just to test things out, but they are not showing. I'm pretty sure it's something that i have done that's wrong.....i just don't know what lol

marcelveldt commented 2 years ago

@antonyslater just for my reference how large is your collection ? I have limited the background processing to make sure that it doesn't take too much of system performance. Maybe I have limited it too much.

marcelveldt commented 2 years ago

Yeah, he is working hard, and it is appreciated.

I only have 2 files, just to test things out, but they are not showing. I'm pretty sure it's something that i have done that's wrong.....i just don't know what lol

Later today I will have another good look at the code for the files provider and make improvements. I think I have now only tested the "happy flow" with music files already containing proper tags and such . Will let you guys know later today when I have a new version to test.

antonyslater commented 2 years ago

@antonyslater just for my reference how large is your collection ? I have limited the background processing to make sure that it doesn't take too much of system performance. Maybe I have limited it too much.

Erm.... well...... image

Mixture of MP3 and FLAC files (Mainly FLAC).

K3str3l commented 2 years ago

@antonyslater I also have a mounted folder from a Synology NAS - have set it up in the integration as /media/music/ The integration seems to sync - I see the icon circling for a couple of hrs., but no media is ever shown :-( Can you share how you have mounted your folder? I can access the mounted folder & files with no issues in HA itself