quarckster / kodi.kino.pub

Kodi add-on for kino.pub
BSD 3-Clause "New" or "Revised" License
87 stars 18 forks source link

Add context-menu item for opening inputstream-adaptive settings if hl… #289

Closed relictMarauder closed 1 year ago

relictMarauder commented 1 year ago

Add context-menu item for opening inputstream-adaptive settings if hls is enabled.

relictMarauder commented 1 year ago

I believe it's better to add this into the plugin settings into settings.xml:

<group id="2" label="32078">
  ...
  <setting id="inputstream_adaptive_settings" type="action" label="< the correct label number>" help="">
      <dependencies>
          <dependency type="enable" on="property" name="infobool">System.HasAddon(inputstream.adaptive)</dependency>
      </dependencies>
      <level>0</level>
      <data>RunPlugin(plugin://$ID/inputstream_adaptive_settings/)</data>
      <control type="button" format="action">
          <close>true</close>
      </control>
  </setting>
</group>

The main intension of this PR is a short-cut to fast switch inputsptream-behavior, as example for selecting the steams without jumps to another sections of Kody. Alternative can be adding the short-cut to addon-settings in context menu and then add short-cut to input-stream adaptive settings. This is needed because not all skin allowing open addon-settings from list-view.

quarckster commented 1 year ago

Superseded by #293.