{"action":"created","issue":{"url":"https://api.github.com/repos/Flexget/Flexget/issues/1516","repository_url":"https://api.github.com/repos/Flexget/Flexget","labels_url":"https://api.github.com/repos/Flexget/Flexget/issues/1516/labels{/name}","comments_url":"https://api.github.com/repos/Flexget/Flexget/issues/1516/comments","events_url":"https://api.github.com/repos/Flexget/Flexget/issues/1516/events","html_url":"https://github.com/Flexget/Flexget/issues/1516","id":191401368,"number":1516,"title":"\"tvrage_id\" not handed to discover/search plugins.","user":{"login":"Andy2244","id":5340247,"avatar_url":"https://avatars.githubusercontent.com/u/5340247?v=3","gravatar_id":"","url":"https://api.github.com/users/Andy2244","html_url":"https://github.com/Andy2244","followers_url":"https://api.github.com/users/Andy2244/followers","following_url":"https://api.github.com/users/Andy2244/following{/other_user}","gists_url":"https://api.github.com/users/Andy2244/gists{/gist_id}","starred_url":"https://api.github.com/users/Andy2244/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andy2244/subscriptions","organizations_url":"https://api.github.com/users/Andy2244/orgs","repos_url":"https://api.github.com/users/Andy2244/repos","events_url":"https://api.github.com/users/Andy2244/events{/privacy}","received_events_url":"https://api.github.com/users/Andy2244/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-23T23:22:47Z","updated_at":"2016-11-24T08:21:56Z","closed_at":null,"body":"### Expected behaviour:\r\nIf a \"tvrage_id\" was found/set via metadata, the next_series_episodes/next_trakt_episodes plugins should be able to route this information to the discover->search plugins, so those can use the id instead of the title if supported.\r\n\r\n### Actual behaviour:\r\nThe \"tvrage_id\" is never handed to the search plugins.\r\n\r\n### Steps to reproduce:\r\nUse newznab as search plugin, the relevant code is never hit and the correct query is not build.\r\n```\r\n        if arg_entry.get('tvrage_id'):\r\n            lookup = '&rid=%s' % arg_entry.get('tvrage_id')\r\n        else:\r\n            lookup = '&q=%s' % quote(arg_entry['series_name'])\r\n```\r\nPS: I also had to use/setup NZBhydra locally, since i could not get any external nzb indexer to work on there SSL request api's?\r\n#### Config:\r\n```\r\ntasks:\r\n  discover-nzb:\r\n    tvmaze_lookup: yes\r\n  \r\n    series:\r\n      - westworld:\r\n          begin: S01E07\r\n\r\n    discover:\r\n      interval: 1 seconds\r\n      what:\r\n        - next_series_episodes: yes\r\n      from:\r\n        - newznab:\r\n            website: '{{ secrets.newznab.url }}'\r\n            apikey: '{{ secrets.newznab.key-api }}'\r\n            category: tv\r\n    accept_all: yes\r\n```\r\n  \r\n#### Log:\r\nVERBOSE  discover      discover-nzb    Discovering 1 titles ...\r\nVERBOSE  discover      discover-nzb    Searching for `westworld S01E08` with plugin `newznab` (1 of 1)\r\nINFO     newznab       discover-nzb    Searching for westworld S01E08\r\nVERBOSE  newznab       discover-nzb    Fetching http://127.0.0.1:5075/api?apikey=%7B%7B+secrets.newznab.key-api+%7D%7D&t=tvsearch&extended=1&q=westworld&season=1&ep=8\r\n\r\n### Additional information:\r\n\r\n- Flexget Version: 2.6.3\r\n- Python Version: 3.5.2\r\n- Installation method: PiP\r\n- OS and version: Windows 10\r\n"},"comment":{"url":"https://api.github.com/repos/Flexget/Flexget/issues/comments/262716145","html_url":"https://github.com/Flexget/Flexget/issues/1516#issuecomment-262716145","issue_url":"https://api.github.com/repos/Flexget/Flexget/issues/1516","id":262716145,"user":{"login":"Andy2244","id":5340247,"avatar_url":"https://avatars.githubusercontent.com/u/5340247?v=3","gravatar_id":"","url":"https://api.github.com/users/Andy2244","html_url":"https://github.com/Andy2244","followers_url":"https://api.github.com/users/Andy2244/followers","following_url":"https://api.github.com/users/Andy2244/following{/other_user}","gists_url":"https://api.github.com/users/Andy2244/gists{/gist_id}","starred_url":"https://api.github.com/users/Andy2244/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andy2244/subscriptions","organizations_url":"https://api.github.com/users/Andy2244/orgs","repos_url":"https://api.github.com/users/Andy2244/repos","events_url":"https://api.github.com/users/Andy2244/events{/privacy}","received_events_url":"https://api.github.com/users/Andy2244/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T08:21:56Z","updated_at":"2016-11-24T08:21:56Z","body":"I see, is there a working example of how to generate \"next\" episode entries in a custom list based on a trakt config? As far as i can tell there is no easy way to generate valid (aired) next_ enties out of the series plugin, without it? I guess its possible with a lot of manual filtering and rejecting?"}}
{"actor":{"display_login":"Andy2244"}}