{"id":134,"date":"2024-02-16T15:25:10","date_gmt":"2024-02-16T12:25:10","guid":{"rendered":"http:\/\/rantivi.ru\/?p=134"},"modified":"2024-05-27T18:14:01","modified_gmt":"2024-05-27T15:14:01","slug":"%d1%81%d0%be%d0%b7%d0%b4%d0%b0%d0%b5%d0%bc-%d1%82%d0%b2-%d0%bf%d1%80%d0%b8%d1%81%d1%82%d0%b0%d0%b2%d0%ba%d1%83-%d0%b8%d0%b7-raspberry-pi-3-%d1%81-%d0%bf%d0%be%d0%bc%d0%be%d1%89%d1%8c%d1%8e-kodi","status":"publish","type":"post","link":"https:\/\/rantivi.ru\/?p=134","title":{"rendered":"\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0422\u0412 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0443 \u0438\u0437 Raspberry Pi 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Kodi"},"content":{"rendered":"\n<p class=\"has-text-align-left\">\u0412\u0441\u0435\u043c \u041f\u0440\u0438\u0432\u0435\u0442, \u043d\u0430\u0447\u043d\u0435\u043c \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 RaspiOS <\/p>\n\n\n\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f <a href=\"http:\/\/rantivi.ru\/?p=699\" data-type=\"link\" data-id=\"http:\/\/rantivi.ru\/?p=699\"><strong>NOOBS<\/strong><\/a> , \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0430\u043f\u043a\u0438 \u043d\u0430 \u043d\u0430\u0448\u0443 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e MicroSD \u0444\u043b\u0435\u0448\u043a\u0443 \u0432 FAT32.<\/p>\n\n\n\n<p>\u041a\u0430\u043a \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f , \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u043b\u0435\u0448\u043a\u0443 \u0432 \u043d\u0430\u0448\u0443 Raspberry ,\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c<\/p>\n\n\n\n<p><strong>\u043e\u0431\u043d\u043e\u0432\u0438\u043c \u043f\u0430\u043a\u0435\u0442\u044b <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo apt update<\/strong>\n<strong>sudo apt upgrade<\/strong><\/code><\/pre>\n\n\n\n<p>\u0417\u0430\u0439\u0434\u0435\u043c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 RaspiOS \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo raspi-config<\/strong><\/code><\/pre>\n\n\n\n<p>\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u043c SSH server<\/p>\n\n\n\n<p><strong>\u0432\u044b\u0431\u0435\u0440\u0430\u0435\u043c 3 \u043f\u0443\u043d\u043a\u0442 <\/strong><strong>interface options<\/strong><\/p>\n\n\n\n<p><strong>\u0434\u0430\u043b\u0435\u0435 \u043f\u0443\u043d\u043a\u0442 2 <\/strong><strong>SSH , <\/strong><strong>\u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c <\/strong><strong>ENTER <\/strong><strong>\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c <\/strong><strong>SSH server<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Kodi<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo apt install kodi<\/strong><\/code><\/pre>\n\n\n\n<p><strong>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 PVR client : <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo apt install kodi-pvr-iptvsimple<\/strong><\/code><\/pre>\n\n\n\n<p>\u0427\u0442\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c Kodi \u043f\u0440\u0438  \u0432\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441 \u0438 \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 crontab<\/p>\n\n\n\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441 <\/strong><strong>kodi.service<\/strong><\/p>\n\n\n\n<p><strong>\u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/usr\/lib\/systemd\/system\/ \u0441\u043e\u0437\u0434\u0430\u0435\u043c <\/strong>kodi.service<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Unit]\n\nDescription=Kodi standalone (GBM)\n\nAfter=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service lircd.service\n\nWants=network-online.target polkit.service upower.service\n\nConflicts=getty@tty1.service\n\n&#91;Service]\n\nUser=kodi\n\nGroup=kodi\n\nEnvironmentFile=-\/etc\/conf.d\/kodi-standalone\n\nPAMName=login\n\nTTYPath=\/dev\/tty1\n\nExecStart=\/usr\/bin\/kodi-standalone\n\nExecStop=\/usr\/bin\/killall --exact --wait kodi.bin\n\nRestart=on-abort\n\nStandardInput=tty\n\nStandardOutput=journal\n\n&#91;Install]\n\nAlias=display-manager.service<\/code><\/pre>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043c systemd \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo systemctl daemon-reload<\/strong><\/code><\/pre>\n\n\n\n<p>\u0434\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c kodi (<strong>kodi.sh<\/strong>)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n\nsudo systemctl start kodi.server<\/code><\/pre>\n\n\n\n<p>\u0434\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u0438 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u0430<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>chmode 777 kodi.sh<\/strong><\/code><\/pre>\n\n\n\n<p>\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 cron<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Cron -e<\/strong><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>@reboot \/home\/\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\/kodi.sh<\/strong><\/code><\/pre>\n\n\n\n<p>\u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f kodi :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>useradd -G sudo kodi<\/strong><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0441\u0435\u043c \u041f\u0440\u0438\u0432\u0435\u0442, \u043d\u0430\u0447\u043d\u0435\u043c \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 RaspiOS \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f NOOBS , \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0430\u043f\u043a\u0438 \u043d\u0430 \u043d\u0430\u0448\u0443 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e MicroSD \u0444\u043b\u0435\u0448\u043a\u0443 \u0432 FAT32. \u041a\u0430\u043a \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f , \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u043b\u0435\u0448\u043a\u0443 \u0432 \u043d\u0430\u0448\u0443 Raspberry ,\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043e\u0431\u043d\u043e\u0432\u0438\u043c \u043f\u0430\u043a\u0435\u0442\u044b \u0417\u0430\u0439\u0434\u0435\u043c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 RaspiOS \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u043c SSH server \u0432\u044b\u0431\u0435\u0440\u0430\u0435\u043c 3 \u043f\u0443\u043d\u043a\u0442 interface options \u0434\u0430\u043b\u0435\u0435 \u043f\u0443\u043d\u043a\u0442 2 SSH , \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c ENTER [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-1","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[10,9,11],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-hobbi","tag-iptv-kodi","tag--kodi","tag-11"],"_links":{"self":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=134"}],"version-history":[{"count":6,"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":731,"href":"https:\/\/rantivi.ru\/index.php?rest_route=\/wp\/v2\/posts\/134\/revisions\/731"}],"wp:attachment":[{"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rantivi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}