asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.23k stars 225 forks source link

Mapping Export To Library to a KeyMap #690

Open AmandaBeuno opened 5 years ago

AmandaBeuno commented 5 years ago

I'm submitting a ...

General infomration

Prerequisites

Description

I am trying to map "export to library" from the context menu to a key on my remote. The problem is that the plugin requires two variables ('plugin://plugin.video.netflix/','-1','?action=export&id=[id]&title=[title]','resume:false')

The [id] and [title] to be passed to the plugin to execute the export to library option. However in KeyMaps, it is impossible to know beforehand both variables.

Is it possible to get the plugin to generate both variables in the code, so that all is needed from the KeyMap is to call action=export ?

Steps to Reproduce

  1. Open Netflix plugin
  2. Browse to a category
  3. Choose a movie/show
  4. Invoke the Context Menu
  5. Choose "Export to Library"

Expected behavior: Clicking on the remote key would automatically add the show to the library

Actual behavior: One has to show the context menu and then select the export to library option.

Context (Environment)

All Environments

Installation

Operating System

Additional informatin on the environment

Windows 10

AmandaBeuno commented 5 years ago

@asciidisco @caphm I could provide further code information to save you some time, that is of course if this feature request is accepted.