xbmc / xbmc/metadata.themoviedb.org.python
Problem scraping file with { and } in filename
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 60
- Forks
- 50
- Avg merge
- 11h 38m
- Merged PRs (30d)
- 1
Description
Scraping a filename like this Blade.Trinity.2004.{edition-Unrated}.1080p.mkv, will result in a movie in the library without any information (actors, description etc).
Removing those two specific characters "{" and "}" from the filename, it works as expected with a fully populated movie in the library.
I'm guessing it's because "{" and "}" are used for special identifiers as per https://kodi.wiki/view/Add-on:The_Movie_Database_Python#Filename_identifiers
System information:
LibreELEC 12.0.1
Kodi 21-1-Omega
The Movie Database Python 3.0.1
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 by reproducing the scrape with Blade.Trinity.2004.{edition-Unrated}.1080p.mkv, then inspect the add-on's filename-identifier handling. No source file or test is named in the issue. Done means the filename is scraped into a fully populated movie entry, including actors and description, without removing the braces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100