xbmc / xbmc/metadata.themoviedb.org.python

feature-rquest: ignore prefix

Open
#212 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Kodi enhancement
Dominant language
HTML
Stars
60
Forks
50
Avg merge
11h 38m
Merged PRs (30d)
1

Description

https://forum.kodi.tv/showthread.php?tid=344580&pid=3187421#pid3187421

Hi,
I spent quite some time looking for a solution to have a prefix in the movie-directory-name, but havn´t found a solution yet.
Would you please be so kind to assist?
Is it possible to ignore a index-prefix (specified by a character, e.g. "_") in scraping?
something like:
https://forum.kodi.tv/showthread.php?tid=187569
https://forum.kodi.tv/showthread.php?tid=264251
https://forum.kodi.tv/showthread.php?tid=370722

example 1 numeric index:
Star.Trek.Collection

01_Star.Trek.The.Motion.Picture.1979
    movie.mkv
    movie.nfo
02_Star.Trek.The.Wrath.of.Khan.1982
    movie.mkv
    movie.nfo
03_Star.Trek.The.Search.for.Spock.1984
    movie.mkv
    movie.nfo

example 2 date index:
Dustin.Hoffman.Collection

1967_Die.Reifeprüfung
    movie.mkv
    movie.nfo
1969_Asphalt.Cowboy
    movie.mkv
    movie.nfo
1970_Little.Big.Man
    movie.mkv
    movie.nfo

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 linked forum discussions and comparing them with the numbered and date-prefixed directory examples in the issue. Locate the movie-directory name parsing path, then verify that the requested prefix behavior is covered without changing existing scraping cases.

Written by the indexing model from the issue text.

Assessment

Domain
backend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.