BlitterStudio / MB_SubSonic

MusicBee SubSonic plugin
GNU General Public License v3.0
110 stars 14 forks source link

Support for ownCloud Music #66

Closed rstefko closed 2 years ago

rstefko commented 2 years ago

ownCloud Music does not provide path, but this plugin seems to rely on it. So when path is not available there is additional code that builds the path. I am not sure how it works with other Subsonic servers, so maybe the code changes are note appropriate. Also playlists still does not work.

paulijar commented 2 years ago

Note that according to the Subsonic XML schema http://www.subsonic.org/pages/inc/api/schema/subsonic-rest-api-1.16.1.xsd, the attribute path is optional. Hence, the clients should not assume that it would always exist.

It would be trivial to make the ownCloud Music include the path attribute in its responses so that it would contain only the file name. But including the full path would be much more difficult and could introduce performance issues; this is due the underlying design of the ownCloud file system.

midwan commented 2 years ago

Thanks!