DLNA

From Hack Sphere Labs Wiki
Revision as of 07:28, 16 June 2015 by Webdawg (talk | contribs) (miniDLNA on Debian Squeeze)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

media_dir=A,/media/music
media_dir=V,/media/music

notify_interval=300
enable_tivo=no
strict_dlna=no

bla (look at the links above for config questions)

/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