Originally Posted by
Bone Down
run this command and post up the results.
I am curious under what user miniDLNA is running as.
Also did you download and install putty for your convenience? Putty would run on your laptop so that you can SSH into your linux box from the comfort of your sofa.
It works, IT BEEEEEPing WORKS!!!
I did a search for all miniDNLA and put it all in the trash - knowing I could easily restore it.
Then I tried the new link and install
http://www.richtechnologies.com/?p=206
HTML Code:
This is what I did to share my MythTV media with the Sony BDP-S570:
Add the unofficial MiniDLNA Ubuntu PPA:
sudo add-apt-repository ppa:stedy6/stedy-minidna
Update the APT package index:
sudo apt-get update
Install MiniDLNA:
sudo apt-get install minidlna
Edit the /etc/minidlna.conf file:
sudo vi /etc/minidlna.conf
Ensure the following in the config
port=8200
[QUOTE]media_dir=A,"directory for music"
media_dir=P,"directory for Pictures"
media_dir=V,"directory for Videos"
media_dir=V,"directory for Recordings"[/QUOTE]
or
[QUOTE]media_dir="directory for all media"[/QUOTE]
friendly_name=DLNA Server [QUOTE]or whatever you want to call it[/QUOTE]
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
inotify=yes
enable_tivo=no
strict_dlna=no
notify_interval=900
serial=12345678
model_number=1
Restart the MiniDLNA server, removing the existing media list:
sudo /etc/init.d/minidlna stop
sudo rm -r /tmp/minidlna
sudo /etc/init.d/minidlna start:D:D:D:D
Then create the auto start script:
Code:
#!/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
Make executable. I just open the hosting folder/directory using "Open as Administrator" then seklect the file/scropt and do a left click for properties and tick the "Execute" tab.
The pain is all over!!!!
PS, no I did not install Putty.... How do I, please???
Bookmarks