Exemplo n.º 1
0
 def on_edit_meta(self, button):
     """GUI callback Pops up the  Metadata editor of the active Mediapackage"""
     self.dispatcher.emit("action-audio-disable-msg")
     if self.recorder.current_mediapackage and self.recorder.current_mediapackage.manual:
         Metadata(self.recorder.current_mediapackage, parent=self)
         self.dispatcher.emit("action-audio-enable-msg")
     return True
Exemplo n.º 2
0
 def on_edit_meta(self, button):
     """Pops up the  Metadata editor of the active Mediapackage"""
     #self.change_state(GC_BLOCKED)
     if not self.scheduled_recording:
         Metadata(self.mediapackage, parent=self)
         self.statusbar.SetVideo(
             None, self.mediapackage.metadata_episode['title'])
         self.statusbar.SetPresenter(None, self.mediapackage.creators)
     #self.change_state(self.previous)
     return True
Exemplo n.º 3
0
 def on_edit_meta(self,button):
     """Pops up the  Metadata editor of the active Mediapackage"""
     self.dispatcher.emit("disable-no-audio")
     #self.change_state(GC_BLOCKED)
     if not self.scheduled_recording:
         Metadata(self.mediapackage, series.get_series(), parent=self)
         mp = self.mediapackage
         self.dispatcher.emit("enable-no-audio")
     #self.change_state(self.previous)  
     return True 
Exemplo n.º 4
0
 def on_edit_meta(self, button):
     """Pops up the  Metadata editor of the active Mediapackage"""
     #self.change_state(GC_BLOCKED)
     if not self.scheduled_recording:
         Metadata(self.mediapackage, parent=self)
         mp = self.mediapackage
         self.statusbar.SetVideo(None, mp.getTitle())
         if self.mediapackage.getCreator() != None:
             self.statusbar.SetPresenter(
                 None,
                 mp.getCreator() if mp.getCreator() != None else '')
     #self.change_state(self.previous)
     return True
Exemplo n.º 5
0
 def on_edit_meta(self, button):
     """Pops up the  Metadata editor of the active Mediapackage"""
     self.dispatcher.emit("disable-no-audio")
     #self.change_state(GC_BLOCKED)
     if not self.scheduled_recording:
         Metadata(self.mediapackage, series.get_series(), parent=self)
         mp = self.mediapackage
         self.statusbar.SetVideo(None, mp.getTitle())
         if self.mediapackage.getCreator() != None:
             self.statusbar.SetPresenter(
                 None,
                 mp.getCreator() if mp.getCreator() != None else '')
         self.dispatcher.emit("enable-no-audio")
     #self.change_state(self.previous)
     return True
Exemplo n.º 6
0
 def edit(self, key):
     """Pop ups the Metadata Editor"""
     logger.info("Edit: " + str(key))
     selected_mp = self.repository.get(key)
     Metadata(selected_mp)
     self.repository.update(selected_mp)
Exemplo n.º 7
0
 def edit(self, key):
     """Pop ups the Metadata Editor"""
     logger.info("Edit: {0}".format(str(key)))
     selected_mp = self.repository.get(key)
     Metadata(selected_mp, series.get_series())
     self.repository.update(selected_mp)