Well, as said in an earlier post, i am working on a new, nice and fuzzy class to implement fxd file creation/imdb searching. I couldn't resist to post my progress, so here it is. Most of the code is done, only the <movie> code lacks and the code to update existing fxd files. To give an example; this code (simple as hell, docs will be made when the class is finished):
from imdbnew import Fxd_Imdb fxd = Fxd_Imdb() imdblist = fxd.search_Imdb('Reservoir dogs') fxd.setImdb_id(imdblist[0][0]) fxd.setDVCD('/dev/dvd', '-alang=en') #second option optional fxd.setDVCD_opts(("-alang=de","dvd://1"),("-alang=nl","dvd://2")) #optional fxd.writeFxd() Generates this nice fxd, with the largest images it was able to find (bigger is better ;) <?xml version="1.0" ?> <freevo> <copyright> The information in this file are from the Internet Movie Database (IMDb). Please visit http://www.imdb.com for more informations. <source url="http://www.imdb.com/Title?0105236"/> </copyright> <disc-set title="Reservoir Dogs"> <disc media-id="2001051517535000LEUKSTE_EEUW" mplayer-options="-alang=en"> <file-opt mplayer-options="-alang=de">dvd://1</file-opt> <file-opt mplayer-options="-alang=nl">dvd://2</file-opt> </disc> <cover-img source="http://www.impawards.com/1992/posters/reservoir_dogs_ver1.jpg">/home/rdc/projects/movie-data/2001051517535000LEUKSTE_EEUW.jpg</cover-img> <info> <rating>8.2/10 (42,258 votes)</rating> <plot>They were perfect strangers, assembled to pull off the perfect crime. Their simple robbery explodes into a bloody ambush, and the ruthless killers realise one of them is a police informer. But which one?</plot> <genre>Crime / Thriller / Action / Crime / Thriller / Action</genre> <tagline>Five Total Strangers Team Up For The Perfect Crime. They Don't Know Each Other's Name. But They've Got Each Other's Number</tagline> <runtime>99 min</runtime> <year>1992</year> </info> </disc-set> </freevo> I do have 2 questions - could somebody give me an idea how fxd's for livestreams are structured, and how i get config imported from /helpers/imdbclass.py ? (setting sys.path didn't help) grtz den_RDC ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel