Exemple #1
0
 def filename(self):
     torrent_path = policy.get_policy().get(policy.TORRENT_PATH)
     media_file = os.path.join(torrent_path,
                               asciiquote(self.title)+'.torrent')
     return media_file
Exemple #2
0
 def filename(self):
     torrent_path = policy.get_policy().get(policy.TORRENT_PATH)
     name = asciiquote('%s-%s' % (self.title,self.episode))
     media_file = os.path.join(torrent_path,name+'.torrent')
     return media_file