Release -  Now Playing - (Displays what you're playing in Kodi on your web site!)
#1
Photo 
http://projects.lanik.org/KodiProject_NowPlaying.htm

Kodi Now Playing plugin


This is a KODI plugin I wrote for myself but I thought it might be useful to somebody else, so here it is.

On my old HTPC (Xlobby), I had a script that displayed what was playing on my web page. So when my HTPC died and I switched to KODI, I tried doing the same. Here is the result Smile This probably won't be interesting to many people, but I had this idea that my web pages would display what was playing on my HTPC. So the way I did it (since I couln't allow some script inside my LAN) is to monitor what was playing and create XML file, which then I would send via FTP to my web-server and render it on a web-page to display the "Now Playing" info.

Here is what it looks like (probably now won't be playing anything) Smile : Lanik.org Now Playing

And this is what this plugin does. It monitors what is playing, creates XML file, uploads it to chosen FTP server, to a chosen FTP folder (along with the coverart, if it can't be linked from the web), and then there's web page part in JavaScript, which reads XML file and displays the info on the HTML page.

Since there could be a content that is not for "advertizing", I also made it possible to exclude certain plugins, i.e. Whitecream and what have you. So I took advantage of the "PinSentry" plugin. If you don't want something you're watching to show online, you'd probably want it pin-protected localy as well Smile So my plugin supports pin-sentry on the level of plugins. It reads PinSentry database and gets locked plugins. If something is locked in PinSentry, it won't show on "Now Playing". Ofcourse, you can trun this option on/off.

HTML/Javascript example included.

In order to install it, first install my REPO: Lanik Repo

Then install add-on, and configure it.

This should work on all platforms. Any comments wellcome. Please don't be harsh, this is my first add on, and my first in Python Smile

D.

Image




Donate Here

Image
Kodi addons: Lanik repo
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
Now Playing - (Displays what you're playing in Kodi on your web site!) - by DaLanik - 2016-06-24, 14:14
RE: Kodi Now Playing plugin - by DaLanik - 2016-07-08, 16:10
RE: Kodi Now Playing plugin - by Atreyu - 2016-07-20, 23:34
RE: Kodi Now Playing plugin - by DaLanik - 2016-07-21, 09:58
RE: Kodi Now Playing plugin - by DaLanik - 2016-09-24, 12:44
RE: Kodi Now Playing plugin - by DaLanik - 2016-10-05, 14:49
RE: Kodi Now Playing plugin - by DaLanik - 2016-10-24, 23:11
RE: Kodi Now Playing plugin - by DaLanik - 2016-11-25, 19:13
RE: Kodi Now Playing plugin - by Ruckus - 2016-11-28, 22:42
RE: Kodi Now Playing plugin - by DaLanik - 2016-11-28, 22:45
RE: Kodi Now Playing plugin - by Ruckus - 2016-11-28, 22:57
RE: Kodi Now Playing plugin - by DaLanik - 2016-11-29, 12:43
RE: Kodi Now Playing plugin - by Ruckus - 2016-11-29, 14:00
RE: Kodi Now Playing plugin - by DaLanik - 2016-12-12, 00:20
RE: Kodi Now Playing plugin - by DaLanik - 2016-12-13, 12:14


Logout Mark Read Team Forum Stats Members Help
Now Playing - (Displays what you're playing in Kodi on your web site!)00