KodiWebPortal

The Web Portal for Kodi to display, search and download your personal multimedia content

Demonstration

You can try Kodi Web Portal here (http://kodi.asafety.fr/)

  • Login : kodi
  • Password : K0d1P4s5W0rD

Download KodiWebPortal

githubbutton

Description

Kodi Web Portal 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.

Kodi Web Portal 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’s Kodi database.

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.

Kodi Web Portal allows you to access your Kodi’s database through a simple web browser.

KodiWebPortal movies displayed

KodiWebPortal movies displayed

KodiWebPortal tv-show details

KodiWebPortal tv-show details

KodiWebPortail trailer displayed

KodiWebPortail trailer displayed

Original idea of Kodi Web Portal 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 :

  • Web Station : Apache and PHP server
  • MariaDB : fork of MySQL database
  • phpMyAdmin : to administrate the MariaDB database
  • 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’s data and the Kodi Web Portal.

I wanted to use my Synology NAS with these features to provide a private and personal web interface displaying all my Kodi’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. Kodi Web Portal was born.

Kodi Web Portal interface is available in French (fr), English (en – default) and Spanish (es). Language is automatically choosen depending on your browser’s language.

Compatibility

Kodi’s versions :

  • Kodi Krypton 17.0 (database name “xmbc_video107”)
  • Kodi Jarvis 16.1 (database name “xmbc_video99”)
  • Kodi Jarvis 16.0 (database name “xmbc_video99”)
  • Kodi Isengard 15.2 (database name “xbmc_video93”)

Kodi Web Portal is configured by default to choose the most recent Kodi’s database (xbmc_videoXX).

System :

  • Apache server with PHP (>= 5.5) (Windows / Linux)
  • Synology NAS (DSM 5, DSM 6)

Authentication

Access to Kodi Web Portal can be :

  • Anonymous : no login/password required, Kodi Web Portal content is displayed to anyone
  • Internal authentication : user accounts (login / password) are defined in the config.php file
  • LDAP authentication : Kodi Web Portal delegate the authentication to an LDAP directory, with group membership check.
  • Chaining authentication : check authentication with internal account, then LDAP.
KodiWebPortal authentication

KodiWebPortal authentication

How to install Kodi Web Portal ?

Just clone the Git repo source code and edit the “config.php” file. Apache server who host the Kodi Web Portal needs :

  • mod_xsendfile : to be able to sent big file, like a movie, through HTTP/HTTPS.
  • PHP >= 5.5, 6 or 7 : if you want to use internal authentication mecanism. Password are hashed with bcrypt.
  • php-pdo_mysql module : to communicate with the Kodi’s database MySQL/MariaDB
  • php-ldap module : only if you want to authenticate your users on LDAP directory.
  • access to your multimedia content through filesystem (with mounting point or stored locally)

More information available on the GitHub page.

Download KodiWebPortal

githubbutton