Difference between revisions of "DLNA"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(New)
(miniDLNA on Debian Squeeze)
 
Line 28: Line 28:
 
  nano /etc/minidlna.conf
 
  nano /etc/minidlna.conf
  
{{File|conf|content=
+
{{File|conf|<nowiki>
  
 
media_dir=A,/media/music
 
media_dir=A,/media/music
Line 38: Line 38:
  
 
bla (look at the links above for config questions)
 
bla (look at the links above for config questions)
 
+
</nowiki>
 
}}
 
}}
  
 
  /etc/init.d/minidlna start
 
  /etc/init.d/minidlna start
 
  
 
=New=
 
=New=

Latest revision as of 08:28, 16 June 2015

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