minidlna: a new port needs testers, start-up script
Mikhail T.
mi+thun at aldan.algebra.com
Wed Jun 23 15:39:17 UTC 2010
Hello!
"Digital Life Network Alliance <http://en.wikipedia.org/wiki/DLNA>" is a
standard newer than UPnP -- some devices on the market are not satisfied
with plain UPnP-servers like mediatomb
<http://www.freshports.org/net/mediatomb>... As far as I understand, the
only DLNA-capable server ported to FreeBSD right now is ushare
<http://www.freshports.org/net/ushare>, but it seems to require a full
rescan of one's media-collection upon every startup...
I (almost) ported a promising little DLNA-server
<http://minidlna.sourceforge.net/> (which uses SQLite3 database to store
the collection data between restarts), but I need help with the start-up
script
<http://www.freebsd.org/doc/en/books/porters-handbook/book.html#RC-SCRIPTS>
-- the server should run as its own unprivileged user:group (dlna:dlna),
send stderr/stdout to /var/log/minidlna.log (I may later patch it to use
syslog instead), and maintain PID-file in /var/run/minidlna.pid.
The port can be downloaded from:
http://aldan.algebra.com/~mi/minidlna-port.shar
Both my Bravia TV and Onkyo receiver are able to play MP3 files served
by it (although Onkyo can't decode the Cyrillics in the titles)... The
TV can also show pictures (except for /progressive/ JPEGs, which Sony's
JPEG implementation infamously rejects
<http://www.amazon.com/review/R2U4XPXENWU9BC/ref=cm_cr_rdp_perm>). I'm
yet to figure out, what video-file format the TV would accept --
minidlna does not offer on-the-fly transcoding... Also, some bug in
avformat breaks it for certain .m2ts files I have (both ushare and
ffplay suffer from the same).
Please, report any problems by private e-mail. As soon as the start-up
script is contributed, I'll commit the port.
Thanks!
-mi
P.S. Before installing the port, remember to add the dlna user and group
to /usr/ports/UIDs and /usr/ports/GIDs:
--- UIDs 12 Jun 2010 17:43:50 -0000 1.115
+++ UIDs 23 Jun 2010 15:07:54 -0000
@@ -173,2 +173,3 @@
nslcd:*:928:928::0:0:nslcd daemon:/nonexistent:/usr/sbin/nologin
activemq:*:929:929::0:0:ActiveMQ Daemon:/nonexistent:/sbin/nologin
+dlna:*:930:930::0:0:DLNA server:/nonexistent:/sbin/nologin
--- GIDs 12 Jun 2010 01:05:53 -0000 1.99
+++ GIDs 23 Jun 2010 15:07:54 -0000
@@ -163,2 +163,3 @@
nslcd:*:928:
activemq:*:929:
+dlna:*:930:
More information about the freebsd-ports
mailing list