dny238 Wrote:I'm finding that the Sublight application is successful at returning subtitles from there site when the OpenSubtitles_OSD isn't.
This seems like a bug to me. Has anyone else experienced the same result? I can get OpenSubtitles to work about 50% of the time, and the sublight application about 90%.
If I can help make the OpenSubtitles work better, it'd be nice as I'm not always on my windows laptop.
Rob
I discovered part of the problem. I have a crappy windows xp 'home' machine acting like a NAS. It gets connection limits, so I switched to using FTP as a way of accessing it while I find a way to migrate to another OS. It seems like XBMC doesn't do a good job of collecting file details from an FTP server. Not sure if I'm surprised.
Since all it has to use for lookups is the file name, it fails all the time. Sublight searches don't succeed when searching for "The Scrubs S01E01".
I wrote this block to catch standard s##e## notication in the file name, and to fix up the season and episode. (The first two, and last two lines were already there)
gui.py
Code:
search_string1 = unicode(movie_title, 'utf-8')
movie_title1 = unicodedata.normalize('NFKD', unicode(search_string1)).encode('ascii','ignore')
if (re.search(r"s\d{1,2}e\d{1,2}",movie_title1, re.I ) ) != None :
m = re.search(r"(.*)s(\d{1,2})e(\d{1,2})(.*)",movie_title1, re.I)
season = m.group(2)
episode = m.group(3)
movie_title1 = m.group(1) + m.group(4)
movie_title1 = movie_title1.strip()
LOG (LOG_INFO, "Title fixed: [%s],[%s],[%s]", season, episode, movie_title1 )
if self.year == 0:
year = ""
Once i made those edits, the lookups on Sublight.si started working again. However, it seems for some reason that the system can't FTP these subtitles back down to the server. I don't even see a connection attempt in the FTP log. Should I stop trying to make this work? Is an FTP server a 2nd class citizen in the XBMC storage world?
Help!
Rob