1. Full Actor List
2. Title != Original Title ... its now showing the correct Title and not two times the same name
3. i didnt like the ending "," char in the actors list and genre and removed it
4. actors are with capitals now (was in before but didnt work right)
--- PluginMovieOFDb.py.svn 2006-12-04 18:49:55.000000000 +0100
+++ PluginMovieOFDb.py 2006-12-04 19:02:04.000000000 +0100
@@ -19,7 +19,7 @@ class Plugin(movie.Movie):
def __init__(self, id):
self.encode='iso-8859-1'
self.movie_id = id
- self.url = "
http://www.ofdb.de/view.php?page=film&fid=" + str(self.movie_id)
+ self.url = "
http://www.ofdb.de/view.php?page=film&fid=" + str(self.movie_id) + "&full=1"
def picture(self):
self.picture_url = "
http://www.ofdb.de/images/film/" + gutils.trim( self.page, "<img src=\"images/film/", "\"" )
@@ -34,7 +34,7 @@ class Plugin(movie.Movie):
<td width="99%"><font face="Arial,Helvetica,sans-serif" size="2" class="Daten"><b>""","<") )
def title(self):
- self.title = self.original_title
+ self.title = gutils.trim(self.page,"size=\"3\"><b>","<")
def director(self):
self.director = gutils.trim(self.page,"""Regie:
@@ -62,7 +62,8 @@ class Plugin(movie.Movie):
<td nowrap><font face="Arial,Helvetica,sans-serif" size="2" class="Daten"><b>""","</b></font></td>")
self.genre = string.replace( self.genre, "<br>", ", " )
self.genre = string.replace( self.genre, "/", ", " )
- self.genre = string.capwords(self.genre)
+ self.genre = self.genre[0:-2]
+ string.capwords(self.genre)
def with(self):
self.with = ""
@@ -72,6 +73,7 @@ class Plugin(movie.Movie):
<td><font face="Arial,Helvetica,sans-serif" size="2" class="Daten"><b>""","</b></font></td>")
self.with = string.replace(self.with,"</a><br>", ", ")
self.with = string.strip(gutils.strip_tags(self.with))
+ self.with = self.with[0:-1]
def classification(self):
self.classification = gutils.trim(self.page,"MPAA</a>:</b> ",".<br>")