owncloud / music

:notes: Music app for ownCloud
GNU Affero General Public License v3.0
557 stars 199 forks source link

DLNA server application #293

Open lseabra opened 9 years ago

lseabra commented 9 years ago

I use ownCloud with MiniDLNA so I can play music stored in my ownCloud server at home on other devices - such as smart phones.

It makes perfect sense for me to have a built in DLNA server in ownCloud and I believe it would be a useful feature for many other ownCloud users.

Original feature request on http://github.com/owncloud/core/issues/11223

MorrisJobke commented 9 years ago

@DeepDiver1975 Same issue with the bot. I guess Enhancement is written lowercase in the bots setting.

DeepDiver1975 commented 9 years ago

Same issue with the bot. I guess Enhancement is written lowercase in the bots setting.

yes - fixed

radoeka commented 9 years ago

I think it is perfectly fine to use minidlna to prevent duplication. The only thing that is missing is the integration between the two (owncloud/music + minidnla). If minidnla is installed at the owncloud server (can OC-music check for this?); in OC it should be possible to mark folders to be included in minidnla and what type of media is stored in the folder (V for video, A for Audio and P for Picture in minidnla terms).

Could this be done via: A configuration folder for minidnla in owncloud environment:

/data/music/minidnla.d Storing user data per folder (or is that to be stored in the database) /data/music/minidnla.d/user001.conf /data/music/minidnla.d/user002.conf /data/music/minidnla.d/user003.conf General minidnla data stored in: /data/music/minidnla.d/owncloud.conf After the minidnla config data has changed by an owncloud user the overall config file is to be rewrittten, for example with: cat /data/music/minidnla.d/*conf > /data/music/minidnla.conf minidnla can read the overall config with: minidnla -f /data/music/minidnla.conf The biggest challenge may be to have minidnla reread the configuration data. But can that be solved with the cron task? For completeness include the reference to update https://github.com/owncloud/core/issues/11223#issuecomment-56381139 of the earlier issue: https://github.com/ttyridal/phpdlna.