{"id":193,"date":"2014-12-20T14:02:18","date_gmt":"2014-12-20T13:02:18","guid":{"rendered":"http:\/\/www.sarbyn.com\/tech\/?p=193"},"modified":"2014-12-20T14:08:03","modified_gmt":"2014-12-20T13:08:03","slug":"diy-home-nas-add-minidlna-support","status":"publish","type":"post","link":"https:\/\/www.sarbyn.com\/blog\/2014\/12\/20\/diy-home-nas-add-minidlna-support\/","title":{"rendered":"DIY Home NAS: add MiniDLNA support"},"content":{"rendered":"<p>A little addendum about the <a href=\"http:\/\/www.sarbyn.com\/tech\/2014\/10\/15\/alix-2d-voyage-linux-a-diy-home-nas\/\">Alix + Voyage linux guide<\/a>. I forget to add a little service on my NAS, useful with my Samsung smart TV: a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Digital_Living_Network_Alliance\">DLNA<\/a> server.<\/p>\n<h6>Install MiniDLNA<\/h6>\n<pre class=\"brush: bash; collapse: false; title: ; notranslate\" title=\"\">\r\n# sudo apt-get install minidlna\r\n# sudo apt-get clean\r\n<\/pre>\n<h6>Configure MiniDLNA<\/h6>\n<p>Now we need to configure the MUSIC and FILM folders and let MiniDLNA scans and populates its database. Minidlna config file is <em>\/etc\/minidlna.conf<\/em>. Stop MiniDLNA with <em># service minidlna stop<\/em> and edit the config file. Remember to change <em>db_dir <\/em> and <em>log_dir<\/em> options (because Voyage filesystem is in read-only mode, you need to put the MiniDLNA database on your external USB drive. For example<\/p>\n<pre class=\"brush: bash; collapse: false; title: ; notranslate\" title=\"\">\r\n# Path to the directory that should hold the database and album art cache.\r\ndb_dir=\/mnt\/MUSIC\/minidlna\r\n\r\n# Path to the directory that should hold the log file.\r\nlog_dir=\/mnt\/MUSIC\/minidlna\/logs\r\n<\/pre>\n<p>You need also to define the video and audio folders, for example<\/p>\n<pre class=\"brush: bash; collapse: false; title: ; notranslate\" title=\"\">\r\nmedia_dir=V,\/mnt\/MUSIC\/SERIE_TV\r\nmedia_dir=V,\/mnt\/MUSIC\/FILM\r\nmedia_dir=A,\/mnt\/MUSIC\/mp3\r\n<\/pre>\n<h6>Some others minor configurations<\/h6>\n<p>You can also change the <em>friendly_name<\/em> option and <em>model_name<\/em> if you want to rename your MiniDLNA server name.<\/p>\n<p>Now you can <em>remountro<\/em> your filesystem and start <em>MiniDLNA<\/em> server. The server will scan all your media folder and will be ready for sharing your media files with any DLNA client.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A little addendum about the Alix + Voyage linux guide. I forget to add a little service on my NAS, useful with my Samsung smart TV: a DLNA server. Install MiniDLNA # sudo apt-get install minidlna # sudo apt-get clean Configure MiniDLNA Now we need to configure the MUSIC and FILM folders and let MiniDLNA <a class=\"read-more\" href=\"https:\/\/www.sarbyn.com\/blog\/2014\/12\/20\/diy-home-nas-add-minidlna-support\/\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"DIY Home NAS: add MiniDLNA support http:\/\/wp.me\/p3JApm-37","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[43],"tags":[44,53,46,54],"class_list":["post-193","post","type-post","status-publish","format-standard","hentry","category-diy-2","tag-alix","tag-minidln","tag-nas","tag-voyage"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3JApm-37","jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/posts\/193"}],"collection":[{"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":3,"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/posts\/193\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sarbyn.com\/blog\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}