{"id":2253,"date":"2016-09-14T23:31:10","date_gmt":"2016-09-14T21:31:10","guid":{"rendered":"https:\/\/www.asafety.fr\/?page_id=2253"},"modified":"2017-02-20T15:57:54","modified_gmt":"2017-02-20T13:57:54","slug":"kodiwebportal","status":"publish","type":"page","link":"https:\/\/www.asafety.fr\/en\/projects\/kodiwebportal\/","title":{"rendered":"KodiWebPortal"},"content":{"rendered":"<p><\/p>\n<p style=\"text-align: center;\"><strong>The Web Portal for Kodi to display, search and download your personal multimedia content<\/strong><\/p>\n<h2><a id=\"user-content-demo\" class=\"anchor\" href=\"https:\/\/github.com\/yanncam\/KodiWebPortal#demo\"><\/a>Demonstration<\/h2>\n<p>You can try <strong>Kodi Web Portal<\/strong> <a href=\"http:\/\/kodi.asafety.fr\/\" target=\"_blank\">here<\/a> (<a href=\"http:\/\/kodi.asafety.fr\/\" target=\"_blank\">http:\/\/kodi.asafety.fr\/<\/a>)<\/p>\n<ul>\n<li>Login : <strong>kodi<\/strong><\/li>\n<li>Password : <strong>K0d1P4s5W0rD<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: center;\"><a href=\"https:\/\/github.com\/yanncam\/KodiWebPortal\" target=\"_blank\"><strong>Download KodiWebPortal<\/strong><\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/github.com\/yanncam\/KodiWebPortal\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2245\" src=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/githubbutton.png\" alt=\"githubbutton\" width=\"230\" height=\"70\" \/><\/a><\/p>\n<h2><a id=\"user-content-description\" class=\"anchor\" href=\"https:\/\/github.com\/yanncam\/KodiWebPortal#description\"><\/a>Description<\/h2>\n<p><strong>Kodi Web Portal<\/strong> is a web interface to browse, display, search and eventually download your Kodi multimedia content indexed. This web application is very light, without framework (except JQuery) and dependencies.<\/p>\n<p><strong>Kodi Web Portal<\/strong> needs to be deployed with a direct file access to your media content if the downloading feature is enabled. This web application requires an access to the MySQL&#8217;s Kodi database.<\/p>\n<p>You can use Kodi (XBMC) with a MySQL\/MariaDB database to centralized all your multimedia content. This dabatase contains all your movies references, tv shows, details about them (script writers, realisators, actors, studio, synopsis, original title and in your language, etc.), fanart and thumb URLs and file path to play the content.<\/p>\n<p><strong>Kodi Web Portal<\/strong> allows you to access your Kodi&#8217;s database through a simple web browser.<\/p>\n<div id=\"attachment_2255\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/002.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2255\" class=\"size-medium wp-image-2255\" src=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/002-300x159.jpg\" alt=\"KodiWebPortal movies displayed\" width=\"300\" height=\"159\" srcset=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/002-300x159.jpg 300w, https:\/\/www.asafety.fr\/wp-content\/uploads\/002-768x407.jpg 768w, https:\/\/www.asafety.fr\/wp-content\/uploads\/002-1024x542.jpg 1024w, https:\/\/www.asafety.fr\/wp-content\/uploads\/002.jpg 1848w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-2255\" class=\"wp-caption-text\">KodiWebPortal movies displayed<\/p><\/div>\n<div id=\"attachment_2257\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/014.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2257\" class=\"size-medium wp-image-2257\" src=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/014-300x159.jpg\" alt=\"KodiWebPortal tv-show details\" width=\"300\" height=\"159\" srcset=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/014-300x159.jpg 300w, https:\/\/www.asafety.fr\/wp-content\/uploads\/014-768x407.jpg 768w, https:\/\/www.asafety.fr\/wp-content\/uploads\/014-1024x542.jpg 1024w, https:\/\/www.asafety.fr\/wp-content\/uploads\/014.jpg 1848w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-2257\" class=\"wp-caption-text\">KodiWebPortal tv-show details<\/p><\/div>\n<div id=\"attachment_2256\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/005.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2256\" class=\"size-medium wp-image-2256\" src=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/005-300x159.jpg\" alt=\"KodiWebPortail trailer displayed\" width=\"300\" height=\"159\" srcset=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/005-300x159.jpg 300w, https:\/\/www.asafety.fr\/wp-content\/uploads\/005-768x407.jpg 768w, https:\/\/www.asafety.fr\/wp-content\/uploads\/005-1024x542.jpg 1024w, https:\/\/www.asafety.fr\/wp-content\/uploads\/005.jpg 1848w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-2256\" class=\"wp-caption-text\">KodiWebPortail trailer displayed<\/p><\/div>\n<p>Original idea of <strong>Kodi Web Portal<\/strong> came from my personal centralization of all backuped movies and tv shows into a Synology NAS. Through this excellent kind of NAS, you can deploy additionnal module in the DSM, like :<\/p>\n<ul>\n<li>Web Station : Apache and PHP server<\/li>\n<li>MariaDB : fork of MySQL database<\/li>\n<li>phpMyAdmin : to administrate the MariaDB database<\/li>\n<li>Directory Server : an LDAP server in the Synology for manage users and groups A Synology NAS acts as a complete web server to host my Kodi&#8217;s data and the <strong>Kodi Web Portal<\/strong>.<\/li>\n<\/ul>\n<p>I wanted to use my Synology NAS with these features to provide a private and personal web interface displaying all my Kodi&#8217;s movies and TV show scraped, and so, if I was outside home, I would have been able to browse and download my personal content with ease. <strong>Kodi Web Portal<\/strong> was born.<\/p>\n<p><strong>Kodi Web Portal<\/strong> interface is available in French (fr), English (en &#8211; default) and Spanish (es). Language is automatically choosen depending on your browser&#8217;s language.<\/p>\n<h2><a id=\"user-content-compatibility\" class=\"anchor\" href=\"https:\/\/github.com\/yanncam\/KodiWebPortal#compatibility\"><\/a>Compatibility<\/h2>\n<p><strong>Kodi&#8217;s versions :<\/strong><\/p>\n<ul>\n<li>Kodi Krypton 17.0\u00a0(database name &#8220;xmbc_video107&#8221;)<\/li>\n<li>Kodi Jarvis 16.1 (database name &#8220;xmbc_video99&#8221;)<\/li>\n<li>Kodi Jarvis 16.0 (database name &#8220;xmbc_video99&#8221;)<\/li>\n<li>Kodi Isengard 15.2 (database name &#8220;xbmc_video93&#8221;)<\/li>\n<\/ul>\n<p><strong>Kodi Web Portal<\/strong> is configured by default to choose the most recent Kodi&#8217;s database (xbmc_videoXX).<\/p>\n<p><strong>System :<\/strong><\/p>\n<ul>\n<li>Apache server with PHP (&gt;= 5.5) (Windows \/ Linux)<\/li>\n<li>Synology NAS (DSM 5, DSM 6)<\/li>\n<\/ul>\n<h2><a id=\"user-content-authentication\" class=\"anchor\" href=\"https:\/\/github.com\/yanncam\/KodiWebPortal#authentication\"><\/a>Authentication<\/h2>\n<p>Access to <strong>Kodi Web Portal<\/strong> can be :<\/p>\n<ul>\n<li>Anonymous : no login\/password required, <strong>Kodi Web Portal<\/strong> content is displayed to anyone<\/li>\n<li>Internal authentication : user accounts (login \/ password) are defined in the config.php file<\/li>\n<li>LDAP authentication : Kodi Web Portal delegate the authentication to an LDAP directory, with group membership check.<\/li>\n<li>Chaining authentication : check authentication with internal account, then LDAP.<\/li>\n<\/ul>\n<div id=\"attachment_2258\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/001.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2258\" class=\"size-medium wp-image-2258\" src=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/001-300x159.jpg\" alt=\"KodiWebPortal authentication\" width=\"300\" height=\"159\" srcset=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/001-300x159.jpg 300w, https:\/\/www.asafety.fr\/wp-content\/uploads\/001-768x407.jpg 768w, https:\/\/www.asafety.fr\/wp-content\/uploads\/001-1024x542.jpg 1024w, https:\/\/www.asafety.fr\/wp-content\/uploads\/001.jpg 1848w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-2258\" class=\"wp-caption-text\">KodiWebPortal authentication<\/p><\/div>\n<h2>How to install Kodi Web Portal ?<\/h2>\n<p>Just clone the Git repo source code and edit the &#8220;config.php&#8221; file. Apache server who host the <strong>Kodi Web Portal<\/strong> needs :<\/p>\n<ul>\n<li>mod_xsendfile : to be able to sent big file, like a movie, through HTTP\/HTTPS.<\/li>\n<li>PHP &gt;= 5.5, 6 or 7 : if you want to use internal authentication mecanism. Password are hashed with bcrypt.<\/li>\n<li>php-pdo_mysql module : to communicate with the Kodi&#8217;s database MySQL\/MariaDB<\/li>\n<li>php-ldap module : only if you want to authenticate your users on LDAP directory.<\/li>\n<li>access to your multimedia content through filesystem (with mounting point or stored locally)<\/li>\n<\/ul>\n<p>More information available on the GitHub page.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/github.com\/yanncam\/KodiWebPortal\" target=\"_blank\"><strong>Download KodiWebPortal<\/strong><\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/github.com\/yanncam\/KodiWebPortal\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2245\" src=\"https:\/\/www.asafety.fr\/wp-content\/uploads\/githubbutton.png\" alt=\"githubbutton\" width=\"230\" height=\"70\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>The Web Portal for Kodi to display, search and download your personal multimedia content Demonstration You can try Kodi Web [&hellip;]<\/p>\n","protected":false},"author":1337,"featured_media":0,"parent":13,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2253","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/pages\/2253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/users\/1337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/comments?post=2253"}],"version-history":[{"count":12,"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/pages\/2253\/revisions"}],"predecessor-version":[{"id":2306,"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/pages\/2253\/revisions\/2306"}],"up":[{"embeddable":true,"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/pages\/13"}],"wp:attachment":[{"href":"https:\/\/www.asafety.fr\/en\/wp-json\/wp\/v2\/media?parent=2253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}