On Thursday 08 January 2009 13:52:01 Paul Webster wrote: > isn’t it more about modelling writers, storylines and fictional > characters. Imagine a pvr that you could set to only record programmes > featuring the character Sarah Jane Smith (whether dr who or SJA)? Probably > quite a way off tho > > I expect it is possible on a Topfield device with an EPG TAP. > Feasible on a PC-based PVR - e.g. using DigiGuide or XMLTV as EPG source. > Clearly it depends on actor/role data being present but DigiGuide can do a > good job on enriching raw data from BBC and elsewhere.
http://www.kamaelia.org/Cookbook/DVB/PersonalVideoRecorder is something that could be extended slightly for this sort of thing. For those curious the full code is in the Kamaelia distribution here: * Examples/DVB_Systems/PersonalVideoRecorder.py Or alternatively on the web here: * http://tinyurl.com/a8kjnx As the name suggests it's an example rather than a fully fledged app - but it does do the job. That code fundamentally triggers based on the now & next information, specifically looking at the programme name. But you could do more interesting things trivially (looking for key words or phrases inside the description for example), and beyond that do lookups in various places. If this section is changed, as per this patch ... while not recording: if self.dataReady("inbox"): newNowEvent = self.recv("inbox") if newNowEvent['service'] == service_id: - recording = newNowEvent['name'].lower().strip() == self.programme_name + recording = self.programme_name in newNowEvent['name'].lower().strip() Then having this as the config... programmes_to_record = [ # Channel programme filename ( "BBC ONE", "Doctor Who", "/data/DoctorWho.ts" ), # ... ] ... would catch both Doctor Who & Doctor Who confidential, etc on BBC One :-) Naturally this sort of thing could be extended. (Oh, if anyone *does* by the way, I'd be happy to include the extensions in Kamaelia, obviously :-) Regards, Michael. -- http://yeoldeclue.com/blog http://www.kamaelia.org/GetKamaelia - Sent via the backstage.bbc.co.uk discussion group. To unsubscribe, please visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html. Unofficial list archive: http://www.mail-archive.com/backstage@lists.bbc.co.uk/