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
Install FUSE and miniDLNA on your server:
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
sudo ./seaf-fuse.sh start -o allow_other /mnt/seafile-fuse
(you will find your Seafile libraries under
cd /mnt/seafile-fuse now)
/etc/minidlna.conf look for
media_dir=/var/lib/minidlna and adjust the lines to these ones:
service minidlna force-reload
service minidlna status
Firewall settings for miniDLNA
Open port 8200 in your firewall. If set up your Seafile server with the Seafile installer open the port 8200 with
sudo ufw allow 8200. In my case I use iptables like described in Debian WIKI:
-A INPUT -p tcp --dport 8200 -j ACCEPT
Activate the new iptables rule:
iptables-restore < /etc/iptables.test.rules
iptables-save > /etc/iptables.up.rules
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.
1. 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.
2. 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)