Author Topic: Installing the MiniDLNA media streaming server in Ubuntu  (Read 35817 times)

0 Members and 1 Guest are viewing this topic.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1662
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Installing the MiniDLNA media streaming server in Ubuntu
« Reply #45 on: August 03, 2012, 09:57:21 pm »
Rivalry? :P
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13984
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Installing the MiniDLNA media streaming server in Ubuntu
« Reply #46 on: August 03, 2012, 10:02:51 pm »
Hahaha .. don't suppose it really matters how you get there .. :)

and as I said .. I wouldn't have noticed that VLC had the same dependencies ???
« Last Edit: August 03, 2012, 10:10:27 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline fragment137

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Installing the MiniDLNA media streaming server in Ubuntu
« Reply #47 on: August 12, 2012, 04:08:49 am »
Hey there,

I am currently running Ubuntu Server 11.1 and am trying to set up minidlna to act as an all-around media server for my entire house... streaming to XBMC/mobile devices/Windows PC's, etc. etc...

I've followed the instructions in this thread and for the life of me I can't seem to find the minidlna server ANYWHERE on my network... I've checked that the service is running, and my other services (pure-ftpd, samba, minecraft-server) all work totally fine. I've even tried disabling UbuntuFireWall and trying to access it, and to no avail.

this is my minidlna.conf... anything else you guys need please let me know!

Code: [Select]
# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
network_interface=eth0

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=A,/media/Music
media_dir=V,/media/TV Shows
media_dir=V,/media/Movies

# set this if you want to customize the name that shows up on your clients
friendly_name=Sentinel DLNA

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
db_dir=/var/cache/minidlna

# set this if you would like to specify the directory where you want MiniDLNA to store its log file
log_dir=/var/log

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
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

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
#   which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://192.168.1.132:8200/
# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

# use different container as root of the tree
# possible values:
#   + "." - use standard container (this is the default)
#   + "B" - "Browse Directory"
#   + "M" - "Music"
#   + "V" - "Video"
#   + "P" - "Pictures"
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.

any and all help is greatly appreciated! :)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13984
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Installing the MiniDLNA media streaming server in Ubuntu
« Reply #48 on: August 13, 2012, 12:46:37 am »
Hello fragment137, and welcome to the forum :)

Has the server got a static IP address ? .. what is it ?

Can you send the contents of:
Code: [Select]
gedit /etc/default/minidlna

and the output from:
Code: [Select]
echo $USER
and
Code: [Select]
ls -l /var/cache
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline atomictty

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
    • View Profile
    • Awards
Re: Installing the MiniDLNA media streaming server in Ubuntu
« Reply #49 on: November 24, 2012, 09:48:38 pm »
I've been having trouble getting the standard init script to work on boot.
Running Ubuntu 11.10 Oneric with the minidlna package in the standard repositories.

After modifying the /etc/init.d/minidlna script, changing the redirection of standard output from /dev/null to a logfile owned by the minidlna user:group in an attempt to get some information about what could be going wrong, the service suddenly started working  :-\

Lines 92 through 98 of /etc/init.d/minidlna:
Code: [Select]
	start-stop-daemon --start --quiet --pidfile $PIDFILE \
--chuid $USER:$GROUP --exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--chuid $USER:$GROUP --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2

Unfortunately, the log file never got any data for me to use so I'm none the wiser as to what's happening. In the end I just removed the
> /dev/null portion entirely and it still works.

That section now looks like:
Code: [Select]
	start-stop-daemon --start --quiet --pidfile $PIDFILE \
--chuid $USER:$GROUP --exec $DAEMON --test \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--chuid $USER:$GROUP --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2

Anybody have an idea as to why this could be?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13984
  • Karma: 347
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Installing the MiniDLNA media streaming server in Ubuntu
« Reply #50 on: November 28, 2012, 07:53:02 pm »
Hi atomictty, and welcome to the forum :)

I haven't got a clue, and it doesn't seem to make sense .. but if it's working now, you know what they say about fixing things that are not broken ;)
« Last Edit: November 28, 2012, 07:56:51 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal