This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Chops and NZB into episodes that has | |
1) had all of the file names mangled and | |
2) has been indexed as a single, whole-season NZB | |
""" | |
import copy | |
import os | |
import re | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import glob | |
import subprocess | |
import sys | |
import pprint | |
import os | |
mapping = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
nzbrename - A utility for renaming mangled NZBs. | |
Almost all of the NNTP and yenc stuff is taken from SabNZBd. | |
Requires: | |
* par2ools | |
* pynzb | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
par2rename - A utility for renaming mangled file names beloning to a par2 set. | |
""" | |
import hashlib | |
import glob | |
import os | |
import sys | |
from par2ools import par2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
nzbrename - A utility for renaming mangled NZBs. | |
Almost all of the NNTP and yenc stuff is taken from SabNZBd. | |
Requires: | |
* par2ools | |
* pynzb | |
""" |