"Virtual Dirnames"

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sabone Offline
Aeon Group
Posts: 27
Joined: Jan 2007
Post: #1
How would it be to give the option to define words wich are not and replace them with ""
i want this beacouse some scrapers doesn't support dirname search and if u have a releasename like

moviename.2007.dvdrip.xvid.language-group

fullscan doesn't find any movie
maybe there can be an option in the AdvancedSettings.xml like

<videodirnames>
<regexp>[.] "replace with" [ ]</regexp>
<regexp>[dvdrip] []</regexp>
<regexp>[xvid] []</regexp>
</videodirnames>
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #2
I believe there is a set of rules used to filter names during the scan. Whether or not they're customisable or not I don't know. It'd be any easy enough thing to add - check IMDb.cpp - you'll find the filtering rules there.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
sabone Offline
Aeon Group
Posts: 27
Joined: Jan 2007
Post: #3
where do i find IMDb.cpp u mean imdb.xml ?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #4
In the source code. It's in xbmc/utils

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote