minidlna setup (abandoned)

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

minidlna setup (abandoned)

Postby ChrisAJ on Sun Dec 08, 2013 11:14 am

Hello everyone.

I've built a friend a mint 13 kde laptop and he wants to share/view his videos, music and pictures via his panasonic bluray player. The panasonic requires a media server (unlike my LG, which is much simpler!). To cut a very long story short I have finally installed minidlna as the weapon of choice.

My problem is that I don't understand how to change the config file so that it is looking at the required folders. I know how to use nautilus and where the file is but I need help with the syntax etc.

The data is all stored on a second hard drive called HD2. The user/computer name is bobby and the folders I want to direct to are Linux Movies, Linux Music and Linux Pictures (all on the second hard drive). I have posted the information currently in the config file and would greatly appreciate it if someone could alter it to my specs so that I can replace the existing one.

You will be forever ten men. Here goes! And thanks in advance.

# 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=/opt

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

# 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://www.mylan/index.php

# 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=.
Last edited by ChrisAJ on Thu Dec 12, 2013 4:22 pm, edited 1 time in total.
ChrisAJ
Level 3
Level 3
 
Posts: 105
Joined: Sun Sep 11, 2011 1:51 pm

Linux Mint is funded by ads and donations.
 

Re: minidlna setup

Postby ChrisAJ on Thu Dec 12, 2013 4:22 pm

Decided to abandon minidlna in favour of mediatomb. The web interface makes it much easier to setup.
ChrisAJ
Level 3
Level 3
 
Posts: 105
Joined: Sun Sep 11, 2011 1:51 pm

Re: minidlna setup (abandoned)

Postby eanfrid on Thu Dec 12, 2013 5:07 pm

:shock:
What did not you understand there?
Code: Select all
# 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=/opt

All you had to do was to write instead:
Code: Select all
# media_dir=/opt
media_dir=A,/<path_to>/Linux Music
media_dir=V,/<path-to>/Linux Movies
media_dir=P,/<path_to>/Linux Pictures
No, Linux is not a Windows clone for free - Before asking any question here...
"Never attribute to malice that which is adequately explained by stupidity." (Hanlon's razor)

Debian GNU/Linux Wheezy 64bit w/custom 3.12 kernel - MATE 1.8
User avatar
eanfrid
Level 6
Level 6
 
Posts: 1195
Joined: Mon Apr 30, 2012 2:49 am
Location: France


Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 4 guests