minidlna: a new port needs testers, start-up script

Mikhail T. mi+thun at
Wed Jun 23 15:39:17 UTC 2010


"Digital Life Network Alliance <>" is a 
standard newer than UPnP -- some devices on the market are not satisfied 
with plain UPnP-servers like mediatomb 
<>... As far as I understand, the 
only DLNA-capable server ported to FreeBSD right now is 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 
<> (which uses SQLite3 database to store 
the collection data between restarts), but I need help with the start-up 
-- 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/

The port can be downloaded from:

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 
<>). 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.



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 @@

More information about the freebsd-ports mailing list