Updated all templates to use instance variables

This commit is contained in:
Ossi Salmi 2013-05-05 00:07:55 +03:00
parent a0c854d3c0
commit dc51af1ca2
113 changed files with 527 additions and 522 deletions

View file

@ -11,12 +11,12 @@ port=8200
# + "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)
<% if videodir != '' %>media_dir=V,<%= videodir %><% end %>
<% if audiodir != '' %>media_dir=A,<%= audiodir %><% end %>
<% if photodir != '' %>media_dir=P,<%= photodir %><% end %>
<% if @videodir != '' %>media_dir=V,<%= @videodir %><% end %>
<% if @audiodir != '' %>media_dir=A,<%= @audiodir %><% end %>
<% if @photodir != '' %>media_dir=P,<%= @photodir %><% end %>
# set this if you want to customize the name that shows up on your clients
friendly_name=<% if name == '' %>MiniDLNA<% else %><%= name %><% end %>
friendly_name=<% if @name == '' %>MiniDLNA<% else %><%= @name %><% end %>
# 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