def history(criteria, what_to_show): """Show a list of downloaded episodes. CRITERIA can be days, a date or a show title. If its days, it will show results from now to X days ago. If it is a date, it will show downloads for that date, and if its a title or partial title, it will show all downloads for that show. \b what-to-show can be any of these: date, title, season, episode, magnet, oneoff, complete, filename, destination eg. --what-to-show 'title,filename,magnet' """ if not criteria: criteria = 1 criteria = parse_history(criteria) hist = History(criteria) hist.show(what_to_show)
def history(criteria, what_to_show): """Show a list of downloaded episodes. CRITERIA can be days, a date or a show title. If its days, it will show results from now to X days ago. If it is a date, it will show downloads for that date, and if its a title or partial title, it will show all downloads for that show. \b what-to-show can be any of these: date, title, season, episode, magnet, oneoff, complete, filename, destination eg. --what-to-show 'title,filename,magnet' """ send(te, v) if not criteria: criteria = 1 criteria = parse_history(criteria) hist = History(criteria) hist.show(what_to_show)