Difference between revisions of "DLNA"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(New)
(New)
Line 54: Line 54:
 
Instead of
 
Instead of
 
  minidlna
 
  minidlna
 +
and
 +
user=whoever
 +
Has been added so
 +
useradd -r minidlna
 +
rm -rf /var/cache/minidlna/*
 +
rm /var/run/minidlna/minidlna.pid
 +
chmod minidlna:minidlna /var/cache/minidlna
 +
chmod minidlna:minidlna /var/run/minidlna

Revision as of 01:19, 28 October 2013

To stream to devices on the network like the Xbox 360.

miniDLNA on Debian Squeeze

and

aptitude install build-essential
aptitude install cvs libavcodec52 libavcodec-dev libavformat52 libavformat-dev libavutil49 libavutil-dev libflac8 libflac-dev libvorbis libogg0 libogg-dev libid3tag0 libid3tag0-dev libexif12 libexif-dev libjpeg62 libjpeg62-dev
aptitude install libsqlite3-dev libvorbis-dev

get the file (http://sourceforge.net/projects/minidlna/files/minidlna/) src.

tar zxvf file
cd filenowfolder
make
make install
cp /home/user/src/minidlna/linux/minidlna.init.d.script /etc/init.d/minidlna
chmod +x /etc/init.d/minidlna
aptitude install sysv-rc-conf
sysv-rc-conf
  • (check minidlna on 2,3,4,5)
  • q to quit
cp /home/user/src/minidlna/minidlna-1.0.25/minidlna.conf /etc
nano /etc/minidlna.conf
conf
Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.
/etc/init.d/minidlna start


New

  • t-da.gmo
aptitude install gettext
aptitude install cvs
  • The pid file is different /var/run/minidlna/minidlna.pid
  • The name is different:
minidlnad

Instead of

minidlna

and

user=whoever

Has been added so

useradd -r minidlna
rm -rf /var/cache/minidlna/*
rm /var/run/minidlna/minidlna.pid
chmod minidlna:minidlna /var/cache/minidlna
chmod minidlna:minidlna /var/run/minidlna