Quantcast
Channel: Kodi Community Forum - Service Add-ons
Viewing all 218 articles
Browse latest View live

Kodi Joystick Library stops Logitech harmony from working

$
0
0
In this thread (https://forum.kodi.tv/showthread.php?tid=309401) I have described how I have experienced that the plugin "" stops my Logitech Harmony from working. This was not a problem in Kodi 16.

Does anyone know what to do? Do I report this somewhere else than here?

Event prevent default action

$
0
0
Hello folks,

I have made an addon that trigger event like : onPlayBackSeek, onPlayBackStarted etc ...
I would like to know if there is a solution to prevent default action, for example when onPlayBackSeek is triggered i would like to stop the default action of seeking to make an other action, is it possible ?

Thanks and best regards

boblight: address already in use

$
0
0
Hi,

I'm using Kodi boblight on a Kodibuntu system. When I start Kodi, the Kodi boblight add-on says "connected to boblightd", the adalight runs through red, green, and blue and nothing else happens. When I enter "boblightd" on Lubuntu shell, same behavior. The content of boblightd.log looks like this:
Code:
21:56:41.714563 (InitLog)                        start of log /home/sirthid/.boblight/boblightd.log
21:56:41.715043 (PrintFlags)                     starting boblightd
21:56:41.715228 (CConfig::LoadConfigFromFile)    opening /etc/boblight.conf
21:56:41.718420 (CConfig::CheckConfig)           checking config lines
21:56:41.722881 (CConfig::CheckConfig)           config lines valid
21:56:41.723032 (CConfig::BuildConfig)           building config
21:56:41.729878 (CConfig::BuildConfig)           built config successfully
21:56:41.730075 (main)                           starting devices
21:56:41.730373 (CClientsHandler::Process)       opening listening socket on 127.0.0.1:19333
21:56:41.731144 (CClientsHandler::Process)       ERROR: bind() 127.0.0.1:19333 Address already in use
21:56:41.731637 (CDevice::Process)               device1: starting with output "/dev/ttyACM0"
21:56:41.731805 (CDevice::Process)               device1: setting up
21:56:42.743241 (CDevice::Process)               device1: setup succeeded
21:56:48.716664 (SignalHandler)                  caught SIGINT
21:56:48.716858 (main)                           signaling devices to stop
21:56:48.716924 (CClientsHandler::Cleanup)       disconnecting clients
21:56:48.716968 (CClientsHandler::Cleanup)       closing listening socket
21:56:48.717011 (CClientsHandler::Cleanup)       clients handler stopped
21:56:48.717054 (main)                           waiting for devices to stop
21:56:48.748166 (CDevice::Process)               device1: closed
21:56:48.748289 (CDevice::Process)               device1: stopped
21:56:48.748455 (main)                           exiting
Any ideas highly appreciated, I'm stuck...

cheers!
sirthid

Database Indexes - IMDb and Trakt WatchList

$
0
0
I am not sure this right place to post. We have multiple installations of Kodi with same add-ons using Trakt and IMDb Watchlists that are different on each system using the same username. Today, I found trying to link Trakt in one addon it displays the name of another add-on. The main issue is that most of my Track and IMDb watch list programs have disappeared. I tried to manually add them back but that only partly works. TongueHuh

nVidia Shiled with Kodi 17.6 and Hue Ambilight addon

$
0
0
Hi,

I am using a Shield with Kodi 17.6 (not SPMC) and the hue ambilight addon, everything on the latest versions. I disable the Mediacodec Surface acceleration (I leave only the "simple" Mediacodec option on) in order for the hue lights to work. In my kodi userdata folder there wasn't an advancedsettings.xml file, so I created one using notepad and copied it to the folder using the following guide:

https://github.com/koying/SPMC/wiki/How-...Surface%3F

The lights start to operate at the beginning of the movie but don't change colors, they just stick the their first color. 2 questions:

1: Am I doing something wrong? Does this xml file work only with SPMC and not Kodi?
2: Since I don't really observe any problems with the playback on movies (even remux ones) with Mediacodec Surface off, do I really need this option on? Does it affect other kind of files like 4K ones?

Thanks in advance for your answers!

how to read kodi jsonrpc commands in my script?

$
0
0
hi, how to read kodi jsonrpc commands in my script?
not send methods. i want to read all jsonrpc data using python code.
maybe i need listener method, is it?

thanks.

(sorry, this post was moved development forum)

Skin Helper Service Error

$
0
0
Hello,

always when I start Kodi I become the Error from Skin Helper Service and i had to look to the Log.

Can anyone help me please?

Sorry for my bad english, im german

autostart of a channel at kodi boot

$
0
0
Hi, is it possible to start automatically to play a live video streaming at the start of kodi?

Release - Subtitles Mangler - A comprehensive subtitle companion

$
0
0
I started developing this addon mainly to get some practice in Python programming but also to improve movie watching experience for my family.
The main drive was to convert downloaded subtitles to display them with solid black background to improve subtitle readability.

The current list of implemented features include:

1) invoking subtitle search dialog at playback start taking into account local subtitle files availability:
- recognizes if there are subtitle files already downloaded or not (takes into account only .ass format - as format that is capable of displaying solid background)
- recognizes 'noautosubs' file (per directory) and '.noautosubs' extension (per file) whose presence prevents subtitle search dialog from opening
- tries to identify if video file includes internal forced subtitles matching preferred language, and if so, doesn't open subtitle search dialog
- recognizes if subtitle search dialog was open but no new subtitles were downloaded

2) detecting if subtitle file was downloaded locally and perform conversion
- gives ability to customize subtitle font color (foreground) and its background color and transparency, which makes subtitles more easy to read
- support subtitles input formats: microDVD, SubRip, MPL2 and TMP
- allows to filter subtitle contents based on various Regular Expression type criteria, which gives ability to remove unwanted texts, such as Hearing Impaired tags, advertisements, credits, etc.
- allows to increase subtitle display time to match at least minimum calculated time based on subtitle text length, taking into account start time of the next subtitle line

3) detecting if video was removed from local storage and removing any related subtitle files located within Kodi's video media paths (takes into account only subtitle files generated during conversion, no old existing subtitles should be affected). As I consider removing any files as potentially dangerous action, additional "simulation" option is enabled by default. Therefore it is possible to see in logs what files would be deleted.


Addon can be downloaded from by repo:
https://bkiziuk.github.io/kodi-repo/stable/repository.bkiziuk/repository.bkiziuk-1.0.1.zip

It works only in Kodi 17.

All logging can be directed to separate file. Debug level allows to log virtually every action the addon performs. Logs are rotated on daily basis. Two rotated copies are kept.

As a proper detection of file encoding seems to be a challenging task, I found out that texts encoded in CP1251 (Cyrillic - Russian and Bulgarian) are often read using CP1250 codec, which makes it unreadable. Fortunately new texts are mostly encoded in UTF-8. I'll try to find a better solution to this problem (actually, there is one, but doesn't support CP1250 at the moment) if this is proven to be a massive problem.

Any comments will be much appreciated. I already tested it briefly on Libreelec, Linux and Windows.

As current languages for UI and strings filtering include only English and Polish at the moment, help with other languages will also be greatly welcomed.

RTMP Input by spiff

$
0
0
Not sure if this belongs in the Service Add-ons category but here goes...

Does anyone know of an add-on that would install spiff's RTMP Input back into Kodi? I have an add-on that removes it for some reason and this breaks another add-on that relies on RTMP streams.

Thanks

Release - Time Change Monitor

$
0
0
Image

Here is quick add-on I created to monitor for a Time Change in KODI.
Once there is a Time Change, the add-on will run a defined function (default=Reboot)

The most common use case is for timezones that change during the year (eg. Daylight Savings).
When the time changes, the EPG times become in-correct in KODI.
The only way to fix this is by either clearing the guide data, or restarting KODI.

This add-on will poll for a time change every 60 seconds.
If it finds a time change, it will run the defined function.

Instructions to install can be found here:
https://www.matthuisman.nz/2018/04/time-...dd-on.html

Kodi plugin for ambibox not working?

$
0
0
I can choose any of my presets in ambibox and they will start when playing movie in kodi.
But with the ambibox plugin nothing happens. What's wrong?

nfo watched state updater

$
0
0
is there any working addon that marks the nfo files as watched?

selfsat ip36

$
0
0
Hi,
newbe: how can I connect kodi on a debian9 to a selfsat ip36.
Until now I install Simple-IPTV using apt-get. If I'm right I need now a URL but I can't find them.
Maybe I'm completle wrong and I need a other plugin or other staff.
Can somebody help me?
Regards Martin

Release - X11 Window Control pack

$
0
0
Hi all,

since i needed to maximize kodi again in my plugin i searched for possibilities to do so. In windows the powershell is actually quite powerfull when comes to this kind of tasks, so that was easy... linux not so much. While some plugins rely wmctrl or similar command line programs I didn't like that approach because the user has to install something by himself on his machine.
So i found this two libraries which are python only and did the job for me. However they are much more powerful. Things like manipulating an (external) window size or generating an input are possible with those two (e.g. start the browser, bring it to fullscreen and enter a few commands). Since ubuntu dropped wayland basically all the desktops should now use x11.

Here are the kodi modules
The first is python-xlib which gives you a python binding to the xlib
https://github.com/Takezo36/python-xlib/...e.xlib.zip
The second one is call pyewmh and is basically a wrapper for python-xlib with the some easy of use functions
https://github.com/Takezo36/pyewmh/relea...e.ewmh.zip

a little example from my side would be maximizing kodi after you started an external app from your plugin

from ewmh import EWMH ewmh = EWMH()
# get the active window which is kodi
win = ewmh.getActiveWindow()
#blocking call for external app
subprocess.call(command, args)
#when done set kodi as active window again
ewmh.setActiveWindow(win)
# flush request
ewmh.display.flush()

more examples on ewmh here
http://ewmh.readthedocs.io/en/latest/ewmh.html#examples


I'll try to push them to the repo ... When i understood how to do so.

Release - Graphlcd Addon for Kodi

$
0
0
The GraphLCD Addon runs as Kodi service and allows to drive an externally connected LCD module to show Kodi status information.

Features

- Navigate menus without having the TV turned on
- Playback infos like Title, Progress, ...
- Live-TV-View with EPG info

Installation

You can find the Addon here:
https://github.com/M-Reimer/script.service.graphlcd

You also need the "graphlcd-base" library.
For further info on how to compile the binary part, have a look at the project page.

Important note: Both, the Addon and especially the graphlcd-base driver library are Linux only! I only test on x86 hardware, but ARM (Raspberry Pi) should work.

Hardware

The "graphlcd-base" backend library has builtin drivers for many LCD chipsets, but mostly for connecting them via (legacy) parallel port, which is missing on most mainboards.

If you are interested in making your own USB LCD, you can find my USBserLCD project here:
https://github.com/M-Reimer/usbserlcd

Example LCD renderings

Main Menu
Image

TV channel list (as an example for list rendering)
Image

Live TV
Image

Web-radio
Image

Youtube
Image

Please help me get ambilight WS2811 working on my Minix u9-h Neo Hypercon/Boblight

$
0
0
Hardware used:
Nano V3.0 ATmega328P controller arduino nano CH340 USB driver with CABLE NANO 328P NANO 3.0 Ws2811 Led Strip
Minix neo u9-h @ Libre Elec 8.2.2.3
OLED55C7 OLED TV
Marantz SR 6011

Software:
Windows 10 latest updates
Hypercon V1.03.3 Now using: Config AdalightAPA102, /dev/ttyUSB0, baudrate 115,200

So I tried following the guide, setting all the zones and options and I connect through SSH and send the config through. and start/stop and read the log. But from what I can see nothing is working.
The lights are on, and I can controll the leds via the laptop eventhough colours seem way off.
However the leds don't respond to the video that is being played on the box!!! Why is this? 

Am I missing something? Interal frame grabber should do the job?
Any tips on making it to work? I feel im close. Since I think I have setup the rest pretty well.

The I tried Boblight Addon setup the t4a_boblight.ino file:
"Boblight Team LibreELEC - 8.2.100"
"Kodi Boblight Bobo101, Memphiz - 2.0.18

And I can set a static LED colour and that works correct.
Then I try some video's anime, 1080p movie, 4k hdr movie. ETC.
Now for some video's it does seem to work. But no logic as to which videos.
So far all 4khdr and 1080p movies don't seem to trigger boblight/ambilight.
Only some anime trigger boblight/ambilight... 

4kHDRand 1080P = movie section in kodi
anime= tv show section in kodi

service.log 
https://pastebin.com/KHupLVxf

API for setting view mode?

$
0
0
I set my default for 4:3 content to wide zoom.  I like that setting, the balance of not-too-stretched but also no pillar bars is pleasant to my eye.

But I've got one TV series that's lots of 4:3 content, with (hard) subtitles, which are cut off if I (wide) zoom them.  So right now, every time I start one of these episodes, it's: Select, up, right, select (now I'm in video settings), down, down down, select (now I'm in view mode), down, down, down, down, down, select (now I'm in 4:3 mode).  And quite a few more presses to do just a bit of zoom and pixel ratio stretch.

I finally took the time to write a service addon to automate this for me.  I got detection working, so I can see that this series is playing but then ... How do I set the view mode to 4:3?  I looked through all the docs I could find of the addon system plus the jsonrpc API.  The closest I could find was the jsonrpc "method":"Input.ExecuteAction","params":{"action":"aspectratio"} -- but this just toggles through the view modes, I can't (guarantee) that I end up at the right one.  (If I stop and later resume the same episode, Kodi remembers the view mode settings from last time!)

Solved - Trouble installing Common plugin cache

$
0
0
Hello,

I am very new to Kodi but I'm learning how to use it well. One issue though that plagues me is installing Common Plugin Cache 2.5.10. I'm running Windows 10 with a fresh install of Kodi 17.6 and have tried installing Common Plugin Cache from the Kodi Add-on Repository as well as a local zip file. Every time I've tried to install it I receive "Failed to start "commoncache'

I've searched the forums but cannot find a post similar to mine so I'm hoping someone here can give me some help or direction. I've posted below the link to my error log and I hope it helps.

Thank you and if anything else is required to help me, I'll make sure to get it

https://paste.kodi.tv/abulobunis

PVR IPTV Simple Client

$
0
0
Last week, IPTV was working. (W10 PC)  Now I get no channels listed.  Uninstalled Kodi, re-installed and added IPTV Simple client.  No error message and no tv channels listed in TV section.  I entered the m3u URL correctly and the XMLTV URL correctly, clicked on Enable.  I go to the TV /Channels and no channels.
What does the RUN button in PVR add-ons configuration do?  It is grayed out.
Viewing all 218 articles
Browse latest View live