asciidisco / asciidisco/plugin.video.netflix

Show only 40 films max in anything categories

Open
#609 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

*I'm submitting a ...*
- [X] bug report
- [ ] feature request
- [ ] support request

## General infomration

### Prerequisites

* [x] Are you running the latest version?
Yes

### Description

This plugin show only 40 films max in anything categories

### Steps to Reproduce

Go to the Comedy or Action category for example

## Context (Environment)

### Installation

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

### Operating System

* [X] Linux (x86/x64)
* [ ] OSX (x86/x64)
* [ ] Windows (x86/x64)
* [ ] Linux (ARM)
* [ ] Android

#### Additional informatin on the environment

I'm using Fedora 29 with official kodi for Fedora (rpmfusion repo)
I tried latest too kodi from xbmc repo from master branch

## Debug log
```
08:37:48.766 T:140048867514112 DEBUG: StartScript - calling plugin Netflix('plugin://plugin.video.netflix/','1','?action=video_list&video_list_id=e0e7358a-80c4-4646-858e-c078570413fb_31894637X28X6548X1547972462091','resume:false')
08:37:48.769 T:140047340795648 DEBUG: [Netflix] Started (Version 0.13.21)
08:37:48.769 T:140047340795648 DEBUG: [Netflix] "Navigation::router" called with arguments :paramstring = action=video_list&video_list_id=e0e7358a-80c4-4646-858e-c078570413fb_31894637X28X6548X1547972462091:
08:37:48.769 T:140047340795648 DEBUG: [Netflix] "Navigation::before_routing_action" called with arguments :params = {'action': 'video_list', 'video_list_id': 'e0e7358a-80c4-4646-858e-c078570413fb_31894637X28X6548X1547972462091'}:
08:37:48.770 T:140046829557504 DEBUG: [Netflix] Loading cookies from memory
08:37:49.203 T:140046829557504 DEBUG: [Netflix] [GET] Req. for "https://www.netflix.com/profiles/manage" took 0.432865858078 sec
08:37:49.203 T:140046829557504 DEBUG: [Netflix] Parsing inline data...
08:37:49.215 T:140046829557504 DEBUG: [Netflix] Parsing inline data parsing successfull
08:37:49.220 T:140047340795648 DEBUG: [Netflix] "Navigation::before_routing_action" returned: {}
08:37:49.263 T:140047340795648 DEBUG: [Netflix] Fetched item from cache: (cache_id=list_to=26&list_from=0&list_id=e0e7358a-80c4-4646-858e-c078570413fb_31894637X28X6548X1547972462091&guid=ER5RMRDXOVCAJNPYL2G45TGIKI&method=fetch_video_list)
08:37:49.304 T:140047340795648 DEBUG: [Netflix] Fetched item from cache: (cache_id=list_to=53&list_from=27&list_id=e0e7358a-80c4-4646-858e-c078570413fb_31894637X28X6548X1547972462091&guid=ER5RMRDXOVCAJNPYL2G45TGIKI&method=fetch_video_list)
08:37:49.464 T:140046829557504 DEBUG: [Netflix] [POST] Req. for "https://www.netflix.com/api/shakti/ve24f6569/pathEvaluator" took 0.0779500007629 sec
08:37:49.551 T:140047340795648 DEBUG: [Netflix] "Navigation::router" returned: True
08:37:52.658 T:140048540362496 DEBUG: StartScript - calling plugin Netflix('plugin://plugin.video.netflix/','1','?action=user-items&type=genres','resume:false')
08:37:52.661 T:140047340795648 DEBUG: [Netflix] Started (Version 0.13.21)
08:37:52.661 T:140047340795648 DEBUG: [Netflix] "Navigation::router" called with arguments :paramstring = action=user-items&type=genres:
08:37:52.661 T:140047340795648 DEBUG: [Netflix] "Navigation::before_routing_action" called with arguments :params = {'action': 'user-items', 'type': 'genres'}:
08:37:52.662 T:140046829557504 DEBUG: [Netflix] Loading cookies from memory
08:37:52.935 T:140046829557504 DEBUG: [Netflix] [GET] Req. for "https://www.netflix.com/profiles/manage" took 0.273143053055 sec
08:37:52.935 T:140046829557504 DEBUG: [Netflix] Parsing inline data...
08:37:52.943 T:140046829557504 DEBUG: [Netflix] Parsing inline data parsing successfull
08:37:52.946 T:140047340795648 DEBUG: [Netflix] "Navigation::before_routing_action" returned: {'main_menu_selection': 'genres'}
08:37:52.990 T:140047340795648 DEBUG: [Netflix] Fetched item from cache: (cache_id=guid=ER5RMRDXOVCAJNPYL2G45TGIKI&method=fetch_video_list_ids)
08:37:53.302 T:140047340795648 DEBUG: [Netflix] "Navigation::router" returned: True
```

### Screenshots

![capture d ecran_2019-01-20_09-29-06](https://user-images.githubusercontent.com/11542186/51436910-fb19fd00-1c95-11e9-979a-923d29c93d71.png)

* Other category

![capture d ecran_2019-01-20_09-22-31](https://user-images.githubusercontent.com/11542186/51436912-040ace80-1c96-11e9-812a-d4dae126af72.png)

Contributor guide

Open the contributing guide

Research direction

Trace the `user-items` genres route and the `video_list`/`fetch_video_list` pagination entries shown in the debug log. Reproduce the Comedy or Action category behavior and determine whether the list is capped at 40; done means category results display beyond that limit without breaking navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.