Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2010 11:39:15 -0400
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        ports@FreeBSD.org, multimedia@FreeBSD.org
Cc:        votdev@gmx.de, leo@mediatomb.cc
Subject:   minidlna: a new port needs testers, start-up script
Message-ID:  <4C222AA3.2060108@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
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:




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C222AA3.2060108>