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.1k stars 237 forks source link

Use only iTunes library file #555

Closed roblan closed 6 years ago

roblan commented 6 years ago

Is there a way to use only iTunes library file as library info source for forked-daapd? When I pointed it in config on whole directory all other files (ringtones, etc) were also added to the library. And is there a way to ignore songs that are mark as "unchecked" in iTunes library?

I’m trying to use it as library where 1:1 iTunes backup is the source.

ejurgensen commented 6 years ago

No, but you can take a look at the "filepath_ignore"-option, perhaps that can help you.

roblan commented 6 years ago

So there is no way to ignore those unchecked ones? Bummer...

ejurgensen commented 6 years ago

Not exactly sure what you mean by "unchecked"?

roblan commented 6 years ago

screen shot 2018-07-09 at 20 02 52 those without this checkbox checked

ejurgensen commented 6 years ago

Can you check if this is a field in the xml? If so I think mapping it to disabled forked-daapd would be quite simple.

roblan commented 6 years ago

It have Disabled key set to true <key>Disabled</key><true/>

ejurgensen commented 6 years ago

Turns out it wasn't so easy to do as thought. The disabled flag in forked-daapd has some special uses which don't blend well with letting the iTunes XML decide its value.