Ejemplo n.º 1
0
 def sync_filename(self, use_custom=False, custom_format=None):
     if use_custom:
         return util.object_string_formatter(custom_format,
                                             episode=self,
                                             podcast=self.channel)
     else:
         return self.title
Ejemplo n.º 2
0
 def sync_filename(self, use_custom=False, custom_format=None):
     if use_custom:
         return util.object_string_formatter(custom_format, episode=self, podcast=self.channel)
     else:
         return self.title
Ejemplo n.º 3
0
 def sync_filename( self):
     if gl.config.custom_sync_name_enabled:
         return util.object_string_formatter(gl.config.custom_sync_name, episode=self, channel=self.channel)
     else:
         return self.title