Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature-rquest: ignore prefix #212

Open
dacook8 opened this issue Mar 10, 2024 · 1 comment
Open

feature-rquest: ignore prefix #212

dacook8 opened this issue Mar 10, 2024 · 1 comment

Comments

@dacook8
Copy link

dacook8 commented Mar 10, 2024

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
@KarellenX
Copy link
Member

It's not the scraper that can solve this.
Kodi trims the filename before passing it onto the scraper. So the scraper has already received the trimmed search string.

If you know regex, you can add your own cleanstrings ... https://kodi.wiki/view/Advancedsettings.xml#cleanstrings

Also, maybe consider this new feature... #205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants