mazi-project / portal

This is the portal of the MAZI toolkit
http://www.mazizone.eu/toolkit/
MIT License
18 stars 6 forks source link

access to Nextcloud media storage #30

Closed deckspace closed 7 years ago

deckspace commented 7 years ago

How can we access audio media stored in nextcloud so it can be used in a playlist?

We have added forked-daapd to our mazizone so we can offer a network playlists of audio files. If our audio files are stored inside of Nextcloud repository can we target this directory as the default media resource in the forked-daapd config.. (just needs a path) ?

thanks

panosnethood commented 7 years ago

did you try using the "shared URL" produced inside nextCloud when you share a folder?

deckspace commented 7 years ago

Hi, the forked-dappd needs a local directory path /home/pi/nextcloud/media or whatever to where the media files are stored. Other applications could benefit from similar shared file storage.

panosnethood commented 7 years ago

Did you try to transform the public shared URL produced by nextCloud to a path? I guess it could be something like /var/www/html/nextcloud/.....

haniavis commented 7 years ago

The directory path of the files stored in Nextcloud is /var/www/html/nextcloud/data/$user$/files/

So for the user "mazi" and the folder audio/ the path should be: /var/www/html/nextcloud/data/mazi/files/audio/

panosnethood commented 7 years ago

Nice, I added this in the "Application" guidelines including a screenshot of how to create editable shared files: https://github.com/mazi-project/guides/wiki/Applications (see Nextcloud administrator tips)

deckspace commented 7 years ago

Hi Harris,

thanks, I guess this will change if there was another nextcloud user.. is mazi the user in your example ?

thanks

James

On 27/05/2017 15:55, haniavis wrote:

The directory path of the files stored in Nextcloud is /var/www/html/nextcloud/data/$user$/files/

So for the user "mazi" and the folder audio/ the path should be: /var/www/html/nextcloud/data/mazi/files/audio/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mazi-project/portal/issues/30#issuecomment-304457163, or mute the thread https://github.com/notifications/unsubscribe-auth/AFhK22bXsqJOs_EZ8i9QkGlo82vW5FVJks5r-DlXgaJpZM4NmFBn.

-- James Stevens +447973318881 http://spc.org http://slacktivist.co.uk

haniavis commented 7 years ago

Yes mazi is the user in my example, as I explained.