Black-Pixel A geeks world
  • Home
  • About me
    • My Projects
    • My PCs
    • BOINC
  • Private
  • Disclaimer
  • Imprint
  • Contact
  • RSS Feed
  • Twitter
  • Facebook

DLNA via MiniDLNA

By
Pixel
– July 29, 2010Posted in: Computer technology

I had some issues with Mediatomb:

  • I had to tweek the configuration to make it work with my Samsung TV
  • Adding Truecrypt devices was very laborious
  • My media folders weren’t updated on new files
  • Fast-forward and wind back did not work on most of the videos

So I decided to search for an alternative.

After a little search, I found MiniDLNA. The only thing I had to configure to make it work, was to set the path for the media files. Unlike Mediatomb, there was no extra configuration needed to make it work with my TV.

I found the following init-script, it works well:

#!/bin/sh

# chkconfig: 345 99 10
# description: Startup/shutdown script for MiniDLNA daemon
#
# $Id: minidlna.init.d.script,v 1.2 2009/07/02 00:33:15 jmaggard Exp $
# MiniUPnP project
# author: Thomas Bernard
# website: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/

MINIDLNA=/usr/sbin/minidlna
ARGS=’-f /etc/minidlna.conf’

test -f $MINIDLNA || exit 0

. /lib/lsb/init-functions

case ”$1″ in
start)  log_daemon_msg ”Starting minidlna” ”minidlna”
start-stop-daemon –start –quiet –pidfile /var/run/minidlna.pid –startas $MINIDLNA – $ARGS $LSBNAMES
log_end_msg $?
;;
stop)   log_daemon_msg ”Stopping minidlna” ”minidlna”
start-stop-daemon –stop –quiet –pidfile /var/run/minidlna.pid
log_end_msg $?
;;
restart|reload|force-reload)
log_daemon_msg ”Restarting minidlna” ”minidlna”
start-stop-daemon –stop –retry 5 –quiet –pidfile /var/run/minidlna.pid
start-stop-daemon –start –quiet –pidfile /var/run/minidlna.pid –startas $MINIDLNA – $ARGS $LSBNAMES
log_end_msg $?
;;
*)      log_action_msg ”Usage: /etc/init.d/minidlna {start|stop|restart|reload|force-reload}”
exit 2
;;
esac
exit 0

Source: http://www.hifi-forum.de/viewthread-151-11576.html

In summary:

  • Works with Samsung TV without any additional tweaks
  • Adding devices is very easy, just enter a line in the configuration file
  • The media folders are updated on the fly, as soon as there is a new file, you can watch it
  • Fast-forward and wind back works on most of the videos

The only thing I could complain about is the missing web UI, but I don’t really need it.

This software is really great, especially if you want to use it with a Samsung TV.

Share on FacebookShare on Facebook

This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Tags: DLNA, Fileserver, Linux, Mediatomb, MiniDLNA, Samsung PC Share Manager, Truecrypt

About the Author

No Comments

Start the ball rolling by posting a comment on this article!

Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Cancel Reply

  • Recent Posts
    • My first C++ application
    • ALC892/Realtek ID 892 on Mint Linux/Ubuntu
    • Linux vs ACPI APIC support
    • New hardware
    • DLNA via MiniDLNA
  • Categories
    • Astronomy (1)
    • Computer technology (8)
    • Graphics design (1)
  • Archives
    • August 2010 (4)
    • July 2010 (6)
  • Blogroll
    • BlogmacFLy
    • blogXtreme
    • Thinkpixel
  • Tag Cloud
    3D ALC892 alsa application Ashoka Astronomy C++ caesar cypher Clone Wars Computer Deviantart DLNA Encryption Fileserver Hardware Linux Mars Mediatomb MiniDLNA Mint Linux programming Realtek ID 892 Samba Samsung PC Share Manager Signature Software sound Star Wars Truecrypt Ubuntu WoldWide Telescope Yoda

About Arras Theme

Copyright Black-Pixel. All Rights Reserved.