{"id":284,"date":"2016-06-17T19:19:11","date_gmt":"2016-06-17T17:19:11","guid":{"rendered":"http:\/\/johann.langhofer.net\/?p=284"},"modified":"2016-06-17T19:19:11","modified_gmt":"2016-06-17T17:19:11","slug":"rpi2-tvheadend-recording-to-nas","status":"publish","type":"post","link":"https:\/\/langhofer.org\/?p=284","title":{"rendered":"Rpi2-TVHEADEND Recording to NAS"},"content":{"rendered":"<p>Synonyms:<\/p>\n<ul>\n<li>xx.xx.xx.xx (<em>IP address of your NAS)<\/em><\/li>\n<li>username_nas\u00a0 (<em>username of NAS)<\/em><\/li>\n<li>password_nas (<em>password of NAS)<\/em><\/li>\n<\/ul>\n<p>Tasks:<\/p>\n<ul>\n<li>define mounting dir<\/li>\n<li>automount: add entry to fstab and boot-wait for network<\/li>\n<li>configure tvheadend-recording<\/li>\n<\/ul>\n<p>Commands:<\/p>\n<ul>\n<li><code>sudo md \/mnt\/recordings<\/code><\/li>\n<li><code>sudo vi \/etc\/fstab <\/code><\/li>\n<li><code>add line: <\/code><code>\/\/xx.xx.xx.xx\/path\/to\/folder \/mnt\/recordings cifs username=username_nas,password=password_nas,uid=1000,gid=1000,iocharset=utf8 0 0<\/code><\/li>\n<li><code>sudo raspi-config<\/code>: Wait for Network at Boot -&gt; set to TRUE<\/li>\n<li>tvheadend -&gt; configuration -&gt; recording -&gt; Stream profile: select &#8220;pass&#8221; to minimize cpu load<\/li>\n<li>tvheadend -&gt; configuration -&gt; recording -&gt;Recording System Path: enter <code>\/mnt\/recordings<\/code><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Synonyms: xx.xx.xx.xx (IP address of your NAS) username_nas\u00a0 (username of NAS) password_nas (password of NAS) Tasks: define mounting dir automount: add entry to fstab and boot-wait for network configure tvheadend-recording Commands: sudo md \/mnt\/recordings sudo vi \/etc\/fstab add line: \/\/xx.xx.xx.xx\/path\/to\/folder \/mnt\/recordings cifs username=username_nas,password=password_nas,uid=1000,gid=1000,iocharset=utf8 0 0 sudo raspi-config: Wait for Network at Boot -&gt; set to &#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[8,11,16,21,44,52,54,56,68],"class_list":["post-284","post","type-post","status-publish","format-standard","hentry","category-allgemein","tag-automount","tag-boot","tag-dvb","tag-fstab","tag-nas","tag-raspi-config","tag-recording","tag-rpi2","tag-tvheadend"],"_links":{"self":[{"href":"https:\/\/langhofer.org\/index.php?rest_route=\/wp\/v2\/posts\/284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/langhofer.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/langhofer.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/langhofer.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/langhofer.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=284"}],"version-history":[{"count":0,"href":"https:\/\/langhofer.org\/index.php?rest_route=\/wp\/v2\/posts\/284\/revisions"}],"wp:attachment":[{"href":"https:\/\/langhofer.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/langhofer.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/langhofer.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}