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

Show label in listings with a SortMethod added

Open
#667 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the feature

Currently in some listings (e.g. Most recent, Soon offline or TV guide) we show episodes of multiple TV shows in a single listing. To make this somewhat useful, we prepend the TV show name (or start time) in the label. However as soon as a SortMethod is added to the listing, not the label, but the title (episode name) is being shown.

Because of this bug, we have to add the TV show title (ListItem.TvShowTitle) to the Episode title (ListItem.Title) so that the listing includes the TV show name (as a workaround). However, when we show the Video Info pane, shows the TV show title twice now. (There is no winning here)

Obviously this bug should be fixed in Kodi.

This is implemented in xbmc/xbmc#17200

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 reading the Kodi issue referenced as xbmc/xbmc#17200 and compare it with the listing workaround described here. Trace how SortMethod affects the label and title in the add-on's Kodi listings; done means the TV show name or start time remains the label without duplicating it in the Video Info pane.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.