Paul Sijben wrote:
> All,
> 
> I tried getting the recording server to work, but I get no items in the
> menu. OK so I look at the source code for dvdbackup.py. I see this
> 
>  if item.type == 'video' and item.mode == 'dvd' and hasattr(item,
> 'info_type'):
>             if item.info_type == "track": #and item.media and
> item.media.devicename:
>                 #for dvd on disc
>                 self.dvdsource = item.filename
>                 self.title = int(split(item.url)[-1])
>                
>                 if hasattr(item, 'media') and hasattr(item.media,
> 'devicename'):
>                     #we have a "real" dvd disc
>                     self.dvdsource = item.media.devicename
>                     self.title = int(item.url[6:])
> 
>                 self.item = item
>                 return [ (self.encoding_profile_menu, _('Backup this dvd
> title...')) ]
>         return []
> 
> Now there must be at least something wrong with this indentation because
> a real DVD does not have a info_type.

You're not backing up a DVD but a title and titles have info_type.

Duncan

> So I hacked the code around a little to make sure that we got to the bit
> that has the comment on the real dvd disc in it. Next issue: the url ==
> dvd:// according to the log, which int should be put here in self.title?????
> 
> At this point I am stumped. How can this code work? Am I missing something?
> I have looked at both the plugin for 1.5.x as well as the version in
> 1.7.0rc1.
> Input is greatly appreciated.
> 
> Paul
> 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to