コード例 #1
0
ファイル: model.py プロジェクト: wwweslei/gpodder
 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
コード例 #2
0
ファイル: model.py プロジェクト: gpodder/gpodder
 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
コード例 #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