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

Subtitles with an ampersand fail to work correctly

Open
#358 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

I noticed this before, but failed to report it. If subtitles contain an ampersand, the remainder of the line gets cut off. Example: Finale Campus Cup (episode 24) around 5:50 CD&V is mentioned, only CD is being printed.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Campus Cup Finale (episode 24)
  2. Forward to 5:50
  3. Watch CD&V being cut off
Expected behavior

It should show subtitles correctly.

Additional context
  • Operating system: LibreELEC 9.0.2
  • Kodi version: 18.2
  • Addon version: 2.0.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 from the subtitle handling used when playing Campus Cup Finale episode 24, around 5:50, and reproduce the truncated CD6V text. Trace how subtitle lines containing an ampersand are parsed or displayed; done means the complete subtitle text appears correctly without truncation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
content
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.