Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

regular expression question

$
0
0
Hi all,

Have a question about this feature as it seems like it doesn't work at all (or just for me). Some movies in my videolibrary has a prefix in this format xx - movie name.mkv where xx is a number. When scrapper is trying to find movie name in the database it tries to do exact search and with removed dash, finding nothing it would just skip it. Thinking that with clean string I can easily remove prfix I've created an regexp and add it to my advancedsettings.xml in this way:

<video>
<cleanstrings append="yes">
<regexp>(^[0-9]+)(\ \-\ )</regexp>
</cleanstrings>
</video>

I actually tried a lot of different expressions and nothing works, actually log file suggests that all of them just simply ignored.

Can somebody suggest if this functionality even works, I'm doing something wrong or something else?

Log is available here:
http://pastebin.com/HpwVgQJU

Any help is appreciated!! Thanks!

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>