This tutorial is licensed under CC-BY-SA - feel free to share and modify it (but keep information free)!
This tutorial was originally written for the first Seafile forum of Seafile GmbH. Since the announcement to fork Seafile by Seafile GmbH I’ve decided to move my tutorials to the new Seafile forum of the original developers of Seafile (so this one).
This tutorial version is the maintained one.
Tutorial for streaming video/audo with your Seafile server via miniDLNA and FUSE
(This tutorial is an add-on for Tutorial for Seafile CE + Nginx + dynamic DNS (on ARM / Cubietruck / RaspberryPi))
A feature I was missing using Seafile was streaming the content of a library to a media pc (KODI in my case). Yes, you can open a library using WebDAV but this won’t work for videos. So with (a lot of) help from @jobenvil I figured out how to stream from my Seafile server via FUSE and miniDLNA.
Tutorial for streaming video/audo with your Seafile server via minidlna and FUSE
Install FUSE and miniDLNA
sudo apt-get update && sudo apt-get install fuse miniDLNA
FUSE system group, mount point, start FUSE
Add a system group for FUSE, create a mount point where you mount your (only unencrypted!) seafile libraries and start FUSE:
sudo addgroup fuse sudo mkdir -p /mnt/seafile-fuse cd /path/to/seafile-server-latest sudo ./seaf-fuse.sh start -o allow_other /mnt/seafile-fuse
(you will find your Seafile libraries under
cd /mnt/seafile-fuse now)
and enable (by removing
# in front of the line:
service minidlna force-reload && service minidlna status
Optional: firewall settings for miniDLNA and UPnP
If using a firewall open port
8200 (for miniDLNA, TCP) and
1900 (for UPnP, UDP is enough here).
miniDLNA connection test
Check the connection to miniDLNA on your client:
Now you can access the Seafile libraries (for example) using KODI by adding your Seafile server as an UPnP media source.
- If you have a large media library (several hundred videos for example) your media center pc may take a while to index all the media files. It may take some hours.
- Everytime you add new media to the Seafile library you are streaming you have to restart miniDLNA with
sudo service minidlna force-reload(otherwise miniDLNA doesn’t recognize the new added media files).
Thanks again to @jobenvil !
- report any bugs in this thread
- report if it works and if some sentences/comments are confusing (and why).
- ask all questions in this thread and not via PM (there are no stupid questions for me)