owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD audio server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
https://owntone.github.io/owntone-server
GNU General Public License v2.0
2.07k stars 236 forks source link

Library Scanned but no music in Web or iTunes (Music.app) #1462

Closed SteffanCline closed 2 years ago

SteffanCline commented 2 years ago

On Ubuntu 22, I downloaded the latest version of OwnTone via git pull (28.3 per the log), compiled and installed per the directions exactly with no errors. When I look in the web admin, there is nothing listed under the music tab. Under the files tab, I can see the filesystem just fine. In Apple Music.app (formerly iTunes) I can see my server but there's no music listed under there.

I checked the log file and it shows that it scanned my library without any issues. I can see the client connect and disconnect, just no results.

Suggestions of what to check?

I have attached a debug log for your review. owntone.log

ejurgensen commented 2 years ago

I had a look at the log, but I can't figure out the cause. As you say, it looks like the files are found alright, but when the clients ask for song lists it is just "Done with song list, 0 songs". Can you send me your /var/cache/owntone/songs3.db? Maybe I can then see what the issue is. My email is espenjurgensen@gmail.com.

SteffanCline commented 2 years ago

FWIW, I had daapd installed earlier in the day and that worked fine but I removed all the components before building and installing your version. I just sent you the db via gmail.

ejurgensen commented 2 years ago

Got the db. The problem is that all your music is registered as audiobooks. You should check how audiobooks is set in your config file.

SteffanCline commented 2 years ago

I only have the one directory for music. Should I create dummy directories or just set them to ‘’ or null?

ejurgensen commented 2 years ago

The default should be fine. Or you can comment out the line.