tvshow scraper problem

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
swedgin Offline
Junior Member
Posts: 1
Joined: Apr 2017
Reputation: 0
Question  tvshow scraper problem
Post: #1
Hello

To circumvent the problem that the default scraper doesn't support scene and p2p file naming convention, -I do not want to change filenames, nor change their directory. I've added my own regexp that I found on the internet. This is my advancedsettings.xml file:

Code:
<advancedsettings>
    <loglevel>2</loglevel>
    <tvshowmatching action="prepend">
        <regexp>(.*?)\.S?(\d{1,2})E?(\d{2})\.(.*)</regexp>
    </tvshowmatching>
</advancedsettings>

The logfile shows it's loading the file which is good. I rescan my files, and it can seperate the filenames:
American.Dad.S13E02.HDTV.x264-FLEET.mkv -> American Dad S13E02

However, it calls the api with the whole string, instead of just the shows name.
http://thetvdb.com/api/GetSeries.php?ser...anguage=en
when it should be:
http://thetvdb.com/api/GetSeries.php?ser...anguage=en
and then an additional call to get season and episode info.

How can I fix this? I guess it's something with parsing the season number and episode number to different strings, for other api calls. I don't know how kodi works on that.
Any help is appreciated. Thanks

screenshot of the log:
http://imgur.com/a/iIccO
(This post was last modified: 2017-04-21 19:47 by swedgin.)
find quote