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
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