add-ons / add-ons/plugin.video.vrt.nu
Subtitles with an ampersand fail to work correctly
Nobody has claimed this yet.
- 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:
- Go to Campus Cup Finale (episode 24)
- Forward to 5:50
- Watch
CD&Vbeing 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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