Prev: scamp-5.2i
Next: (NONE)
From: "Mikhail T." on
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:

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On 06/23/10 08:39, Mikhail T. wrote:
> I need help with the start-up script
> <http://www.freebsd.org/doc/en/books/porters-handbook/book.html#RC-SCRIPTS>

The way things usually work in an open source project is that you try it
yourself first, then you send a message to the effect of, "I tried to do
X, but I ran into problem Y which resulted in Z" and then ask for help
to get you back on the right path. If your expectation is that someone
else is going to write the startup script for you, that's probably not
realistic.

The web page you referred to has the basics to get you started. Since
your port has slightly more complex requirements you probably want to
read the other web page referenced in the first paragraph, as well as
the man pages that are also referenced.


hope this helps,

Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

 | 
Pages: 1
Prev: scamp-5.2i
Next: (NONE)