Release -  SimplePlugin micro-framework for Kodi content plugins
Hi Roman,

I installed SimplePlugin version 2.20 from github (zip install).

This is my addon.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.service.bluray_iso_utils"
       name="Bluray iso utils"
        <import addon="xbmc.python" version="2.24.0"/>
        <import addon="script.module.web-pdb" version="1.0"/>
        <import addon="script.module.pyxbmct" version="1.2.0"/>
        <import addon="script.module.simpleplugin" version="2.2"/>
    <extension point="xbmc.service" library="" start="login"/>
    <extension point="xbmc.python.script" library="">
    <extension point="xbmc.python.pluginsource" library="">
    <extension point="xbmc.addon.metadata">
        <summary lang="en_GB">This addon will enhance Kodi to use bluray iso's fully. It does so by allowing you to make any .mpls file scrapeable and accessable to Kodi</summary>
        <summary lang="nl">Deze addon breidt Kodi uit zodat Kodi bluray iso files kan gebruiken alsof het .mkv files zijn.</summary>
        <description lang="en_GB">Use this addon to import bluray iso's of your favourite tv shows. Multiple episodes in an iso file are supported, scrape those as if they are individual files. Skip "Previously on ..." on your tv episodes. Get access to extras in the iso file, set audio and subtitle per episode. Use this addon so Kodi can access different cut's of a movie, properly scrape the movies on a multi-movie bluray iso file.</description>
        <description lang="nl">Gebruik deze addon om de afleveringen in een bluray iso van je tv show in Kodi te importeren. Meerdere afleveringen per iso file zijn ondersteund, importeer deze alsof het individuele files zijn. Spring over "Vorige keer in..." bij jouw tv afleveringen. Krijg toegang tot de extras in de iso file. Bepaal audio en ondertiteling per episode. Gebruik deze addon om verschillende versies in Kodi te importeren. Importeer de verschillende films op een iso file.</description>
        <disclaimer lang="en_GB">No warranty what so ever, use at own risc.</disclaimer>
        <disclaimer lang="nl">Geen garantie, gebruik op eigen risico.</disclaimer>
        <license>GNU GENERAL PUBLIC LICENSE. Version 2, June 1991</license>

The test1.strm contains:
plugin://script.service.bluray_iso_utils/?hello world

I access the stream file through 'videos' and then navigate to the file (file is not yet imported to Kodi library).

Pastebin with first example:
This version 'works', meaning I recieve data on my server. I just need to get rid of the notifiation dialog ('Can't find a next item to play').

Pastebin with second example (with my_play action):
This version does not work, I don't get any data on the server (the my_play action does not get excecuted). I do get the 'Can't find a next item to play' notifiation dialog.

I don't get the extended logging in the Kodi.log described at (or maybe no exceptions are encountered). Do I have to enable it somehow?

Endgoal is to use the plugin:// addon to send data to the service. The service would then play the video.
I'm doing it this way because using alone the plugin:// addon would be slower (need lots of settings/persistence data, prefer addon reacts fast on user choice), and I also need xbmc.player() and xbmc.monitor() (am not sure this is possible in a plugin:// addon).

If you need more info, please ask.

Add-on : Bluray iso utils Rewrite of BR_iso_enhancements
Add-on : BR_iso_Enhancements Give theatrical & directors cut from the same bluray iso each their own library entry, use bluray iso's of tv shows as if they are already ripped.

Quote:The test1.strm contains:
plugin://script.service.bluray_iso_utils/?hello world

Why such weird URL? You must not put anything after '?', other than a properly formed URL parameter (query) string.
Also, IIRC, Kodi expects that a .strm file always contains playable links, so I you can't call an arbitrary action from a .strm. It should play something.

Quote:I don't get the extended logging in the Kodi.log described at (or maybe no exceptions are encountered). Do I have to enable it somehow?

The diagnostic context manager re-raises a captured exception so you wouldn't have missed it, if there had been any.
Raspberry PI 2 + LibreELEC 8 (Kodi 17)
Samsung Galaxy Tab A 10.1 + Kodi 17 for Android
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
SimplePlugin micro-framework for Kodi content plugins00