Ejemplo n.º 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
Ejemplo n.º 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