Release - Banners - (Display ad-banners over full screen video)

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DaLanik Offline
Posting Freak
Posts: 1,093
Joined: Apr 2016
Reputation: 38
Location: Prague, CZ
Post: #46
OK, I have it and it is working. Just how do you see the location of the image? Top/bottom, centered, same as normal banners?
find quote
DoubleT Offline
Fan
Posts: 308
Joined: Dec 2005
Reputation: 3
Post: #47
Amazing!
Could that be a configurable option? Would have use cases for centred and bottom.
find quote
DaLanik Offline
Posting Freak
Posts: 1,093
Joined: Apr 2016
Reputation: 38
Location: Prague, CZ
Post: #48
Yes, I'll try making top/center/bottom, but horizontally it will always be centered.
find quote
DoubleT Offline
Fan
Posts: 308
Joined: Dec 2005
Reputation: 3
Post: #49
Sounds great. Thanks for this!
find quote
DaLanik Offline
Posting Freak
Posts: 1,093
Joined: Apr 2016
Reputation: 38
Location: Prague, CZ
Post: #50
v1.6
- Display banner via http/json/API: i.e. from any browser send:
http://localhost:8080/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"service.banners","params":{"imageloc":"D:\\img.jpg","displaytime":"3000","position":"center"}},"id":1}
Where "imageloc" is full path to image, "displaytime" is how long it should be displayed (1000-60000 mS) and "position" is "top", "bottom" or "center"
find quote
DoubleT Offline
Fan
Posts: 308
Joined: Dec 2005
Reputation: 3
Post: #51
Thanks again, this is going to be a huge help around the office.
Quick bug report, looks like top & bottom in imageloc have been reversed.
find quote
DaLanik Offline
Posting Freak
Posts: 1,093
Joined: Apr 2016
Reputation: 38
Location: Prague, CZ
Post: #52
Smile OK, will fix
find quote
docwra Offline
Fan
Posts: 530
Joined: Nov 2014
Reputation: 20
Post: #53
Let us see a picture if you get this up and running in the office Smile

[Image: cook.png] Formally chef Zag
find quote
DoubleT Offline
Fan
Posts: 308
Joined: Dec 2005
Reputation: 3
Post: #54
http://olipassey.me.uk/using-kodi-for-of...ashboards/
http://olipassey.me.uk/kodi-as-office-da...ds-part-2/

http://github.com/OliPassey/kodikontroller

There will be a part 3 at some point, and will definetly post up some screenshots when we implement this.
Its likely we'll use the bottom banner display for notifying of website down-time,a webhook from other systems will trigger the API call.
find quote
docwra Offline
Fan
Posts: 530
Joined: Nov 2014
Reputation: 20
Post: #55
Quote:A couple of side projects from other devs are starting to find the dashboards as end-points – CoffeeBot is now able to show a "Coffee's Ready in the {location} kitchen" notification in the form of an image file or a video – depending how much we're showing off. Utterly ridiculous but it brings a smile.

This is AMAZING! Smile

[Image: cook.png] Formally chef Zag
find quote
DaLanik Offline
Posting Freak
Posts: 1,093
Joined: Apr 2016
Reputation: 38
Location: Prague, CZ
Post: #56
v1.7
- fixed small bug; reversed image location top-bottom for json/API call
- Other (really) small fixes
find quote
Post Reply