Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Itasa: year bug fixed #68

Merged
merged 1 commit into from over 2 years ago

2 participants

cagnulein Zeljko Ametovic
cagnulein

Sometimes, using sickbeard with xbmc, it downloads shows with year information in the title.
E.g. Castle (2009)

Itasa hasn't year information in titles.

So, if searching for "Castle (2009)" the scripts find nothing, i added the ability to search for "Castle" automatically.

Roberto Cagnulein Viola Itasa: year bug fixed dee5345
Zeljko Ametovic amet merged commit 766d835 into from
Zeljko Ametovic amet closed this
Zeljko Ametovic
Owner

commited, but not sure if you wanted this in eden rather than dharma

cagnulein

For me is the same :) I would like only to fix a itasa issue. It's up to you choosing version :)

Zeljko Ametovic
Owner

you only asked for it to go into Dharma.. if you use Eden XBMC you will not get the fix

cagnulein

How can i ask to fix in Eden? Have you got another repo for it?

cagnulein

sorry, i'm newbie about git stuffs :) Done anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 11, 2012
Roberto Cagnulein Viola Itasa: year bug fixed dee5345
This page is out of date. Refresh to see the latest.
4 script.xbmc.subtitles/resources/lib/services/Itasa/service.py
@@ -83,6 +83,10 @@ def search_subtitles( file_original_path, title, tvshow, year, season, episode,
83 83 content= geturl(main_url + 'index.php?option=com_remository&Itemid=6')
84 84 if content is not None:
85 85 match = re.search(show_pattern % tvshow, content, re.IGNORECASE | re.DOTALL)
  86 + if match is None and tvshow[-1] == ")":
  87 + log( __name__ ," Year Bug? '%s'" % tvshow)
  88 + tvshow = tvshow[:-7]
  89 + match = re.search(show_pattern % tvshow, content, re.IGNORECASE | re.DOTALL)
86 90 if match:
87 91 log( __name__ ," Tv show '%s' found" % tvshow)
88 92 content= geturl(main_url + match.group(1))

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.