add-ons / add-ons/plugin.video.vrt.nu

Returning from "Go to program" fails, ends up in Videos

Open
#435 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug kodi merged
Dominant language
Python
Stars
125
Forks
27
Avg merge
3h 46m
Merged PRs (30d)
12

Description

Describe the bug

When going back after selecting "Go to program" from the context menu, Kodi doesn't go back to the recent/offline listing but ends up in Kodi's Videos window.

This appears to be a bug in Kodi rather than an add-on issue.

We use the ActivateWindow(window,dir,return) call which should bring you back to the originating listing when you go back.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Recent items or Soon offline listing
  2. Select an episode and right-click, then choose Go to program
  3. In the program episode listing, go back
  4. Notice you end up in Kodi's Videos window
Expected behavior

Kodi should go back to the originating Recent items or Soon offline listing.

Additional context
  • Operating system: LibreELEC v9.0.2
  • Kodi version: v18.2
  • Addon version: v2.2.0
  • Using a VPN: no
  • Country you are using the addon from: BE

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the add-on code that invokes Kodi's ActivateWindow(window,dir,return) call for “Go to program,” then reproduce the navigation from the Recent items or Soon offline listing. Trace the return behavior and verify that going back from the program episode listing returns to the originating listing rather than Kodi's Videos window.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.