plugin.video.netflix icon indicating copy to clipboard operation
plugin.video.netflix copied to clipboard

Mapping Export To Library to a KeyMap

Open AmandaBeuno opened this issue 5 years ago • 1 comments

I'm submitting a ...

  • [ ] bug report
  • [x] feature request
  • [ ] support request

General infomration

Prerequisites

  • [x] Are you running the latest version?

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

  • [x] I installed the plugin via zip from the Releases page
  • [ ] I´m using the Netflix Repo
  • [ ] I´m using a different source (Please tell which)

Operating System

  • [ ] Linux (x86/x64)
  • [ ] OSX (x86/x64)
  • [x] Windows (x86/x64)
  • [ ] Linux (ARM)
  • [ ] Android

Additional informatin on the environment

Windows 10

AmandaBeuno avatar Jul 02 '19 10:07 AmandaBeuno

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

AmandaBeuno avatar Jul 14 '19 09:07 AmandaBeuno