Awescript - SRR/SRS + Directory Creation + Moving + Extraction + more

Come up with a useful post-processing script? Share it here!
Post Reply
gooober
Newbie
Newbie
Posts: 1
Joined: August 27th, 2009, 12:19 am

Awescript - SRR/SRS + Directory Creation + Moving + Extraction + more

Post by gooober »

Needed for this script to work:
http://www.mediafire.com/download.php?gjgizmznzmh - awescript.rar that contains all needed files + python 3.1.1 download links
python 3.1.1 (SCRIPT COMPILED FOR 3.1.1 - WILL COMPILE FOR 2.6.2 AND UPDATE LATER)
mono installed (for linux usage)
srr.exe, srs.exe, unrar.exe all in path (/usr/local/bin in linux for now, anywhere in PATH on windows) -- note: if you add the path you'll probably have to log off/on for winblows to work properly.


awescript.sh (linux):

Code: Select all

#!/bin/sh

/usr/bin/python3 /usr/local/bin/awescript.pyc "$1"
add your command line options before "$1" if any - by default this will move all files to CD1/CD2+ Sample VobSample Subs VobSubs Extras etc folders, create srs/srr (srr will contain nfo, sfv, srs), and will not extract/delete anything.  nfo will stay in main directory as will any excess files.


command line options:

Code: Select all

Usage: awescript.pyc -<option 1> -<option N> <@listdirs...>

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  --altbinz             Alt.Binz mode: exit if par2 exists in directory.
                        Fixes multiple execution issues.
  -R                    Recursively walk through directories looking for
                        releases and processing each.
  --no-srr              Do not create Re-Scene (SRR) files for RAR sets.
  --no-srs              Do not create Re-Sample (SRS) files for AVI/MKV
                        Samples.
  --separate-srs-srr    Do not include SRS files in SRR.  This implies --keep-
                        srs.
  --keep-srs            Do not delete SRS files that are stored in the SRR.
  --srs-namep           Rename SRS after release name instead of sample name.
  --srs-dir=DIR         Directory to move SRS files to in case you keep them
                        all in one directory.
  --srr-dir=DIR         Directory to move SRR files to in case you keep them
                        all in one directory.
  -f FILTERS, --filter=FILTERS
                        List of filters for input directory.  If it doesn't
                        match it will skip.  DOES NOT CURRENTLY WORK!
  --ignore-cds          Do not move rar sets to CD1-N folders.
  --move-extracted-cds  Move already extracted video files to CD1-N folders.
  --ignore-extras       Do not move EXTRAS to Extras folder.
  --ignore-subs         Do not move subs to Subs directory.
  -i, --ignore-sample   Do not move sample(s) to Sample directory.
  -d, --delete-sample   Delete samples.  Recommended to keep SRS creation
                        enabled (on by default).
  -e, --extract         Extract RAR sets.  Specify directory with -u "dir" or
                        -m for main directory.
  -u "DIRECTORY", --unrar-dir="DIRECTORY"
                        Directory to UnRAR files.  Will unRAR in place if not
                        specified.
  -m, --extract-to-main-dir
                        UnRAR to input directory if RAR files are in separate
                        folders within (i.e. CD1/CD2).
  -r, --delete-rars     Delete RAR files after successful UnRAR.  You should
                        probably enable SFV deletion with this.
  -s, --delete-sfv      Delete SFV files when done.  Will not delete if UnRAR
                        fails.
  -p, --delete-par2     Delete PAR2 files when done.  Will not delete if UnRAR
                        fails.
  -z, --keep-nzb        Do not delete NZB files.
  --debug               Only list what the program would do.  Will not move,
                        unrar, etc.

Info:
In the middle of a move, so I can't post too much on this right now, but I will update this early next week.
Last edited by gooober on August 27th, 2009, 9:54 am, edited 1 time in total.
sweetie
Full Member
Full Member
Posts: 117
Joined: May 10th, 2009, 10:47 am

Re: Awescript - SRR/SRS + Directory Creation + Moving + Extraction + more

Post by sweetie »

edit: 09/12/2009

Here is the official (updated) page.

http://bit.ly/8VIDyV
Last edited by sweetie on December 9th, 2009, 4:46 pm, edited 1 time in total.
Shady
Newbie
Newbie
Posts: 24
Joined: June 20th, 2009, 9:00 pm

Re: Awescript - SRR/SRS + Directory Creation + Moving + Extraction + more

Post by Shady »

Hi, great script! I intend to use it, however the download link doesn't work, can you fix it?
sweetie
Full Member
Full Member
Posts: 117
Joined: May 10th, 2009, 10:47 am

Re: Awescript - SRR/SRS + Directory Creation + Moving + Extraction + more

Post by sweetie »

Any news/chance of an update?

Couple of points:

ReScene 1.0 was released Oct. 14th. (Support for path recreation - super handy.)

WMV releases seem to be omitted. - I realise only MKV and AVIs are SRSable, but WMV releases use m0 also.


Also, I'd really appreciate the source (reference to learn Python), if you're willing to share of course. :D

Thanks.
Last edited by sweetie on October 15th, 2009, 3:53 pm, edited 1 time in total.
sweetie
Full Member
Full Member
Posts: 117
Joined: May 10th, 2009, 10:47 am

Re: Awescript - SRR/SRS + Directory Creation + Moving + Extraction + more

Post by sweetie »

Here is a 'mirror' (not original archive, missing SRR/SRS joiner.) for those that are missing it.

http://dl.getdropbox.com/u/2542369/awescript.rar


Python3.1.1 :

Windows (x86) : http://www.python.org/ftp/python/3.1.1/python-3.1.1.msi
Windows (x64) : http://www.python.org/ftp/python/3.1.1/ ... .amd64.msi

Linux : It's in all major distro. repos.

OSX. : http://www.python.org/ftp/python/3.1.1/python-3.1.1.dmg

Code: Select all

Antivirus  	Version  	Last Update  	Result
a-squared	4.5.0.41	2009.10.16	-
AhnLab-V3	5.0.0.2	2009.10.16	-
AntiVir	7.9.1.35	2009.10.16	-
Antiy-AVL	2.0.3.7	2009.10.16	-
Authentium	5.1.2.4	2009.10.16	-
Avast	4.8.1351.0	2009.10.17	-
AVG	8.5.0.420	2009.10.16	-
BitDefender	7.2	2009.10.17	-
CAT-QuickHeal	10.00	2009.10.16	-
ClamAV	0.94.1	2009.10.16	-
Comodo	2624	2009.10.16	-
DrWeb	5.0.0.12182	2009.10.16	-
eSafe	7.0.17.0	2009.10.15	-
eTrust-Vet	None	2009.10.16	-
F-Prot	4.5.1.85	2009.10.16	-
F-Secure	9.0.15300.0	2009.10.16	-
Fortinet	3.120.0.0	2009.10.16	-
GData	19	2009.10.17	-
Ikarus	T3.1.1.72.0	2009.10.16	-
Jiangmin	11.0.800	2009.10.16	-
K7AntiVirus	7.10.872	2009.10.16	-
Kaspersky	7.0.0.125	2009.10.17	-
McAfee	5773	2009.10.16	-
McAfee+Artemis	5773	2009.10.16	-
McAfee-GW-Edition	6.8.5	2009.10.16	-
Microsoft	1.5101	2009.10.16	-
NOD32	4516	2009.10.17	-
Norman	6.03.02	2009.10.16	-
nProtect	2009.1.8.0	2009.10.15	-
Panda	10.0.2.2	2009.10.16	-
PCTools	4.4.2.0	2009.10.16	-
Prevx	3.0	2009.10.17	-
Rising	21.51.44.00	2009.10.16	-
Sophos	4.46.0	2009.10.16	-
Sunbelt	3.2.1858.2	2009.10.16	-
Symantec	1.4.4.12	2009.10.17	-
TheHacker	6.5.0.2.043	2009.10.15	-
TrendMicro	8.950.0.1094	2009.10.16	-
VBA32	3.12.10.11	2009.10.16	-
ViRobot	2009.10.16.1988	2009.10.16	-
VirusBuster	4.6.5.0	2009.10.16	-
Additional information
File size: 144509 bytes
MD5...: f9bddaf0859bb63fef6e0ed190834267
SHA1..: a7b31270457fc5084cf52258c53af450dfc18652
SHA256: 4d3e14a7b1669beb4950881cc20e137c2e1708db029b6f07988fa3de0e7f6bdb
Last edited by sweetie on October 16th, 2009, 6:38 pm, edited 1 time in total.
Gfy
Newbie
Newbie
Posts: 13
Joined: July 10th, 2010, 9:03 am
Location: Belgium
Contact:

Re: Awescript - SRR/SRS + Directory Creation + Moving + Extr

Post by Gfy »

The source can be found here:
http://x264.rescene.info/awescript/
Gfy
Newbie
Newbie
Posts: 13
Joined: July 10th, 2010, 9:03 am
Location: Belgium
Contact:

Re: Awescript - SRR/SRS + Directory Creation + Moving + Extr

Post by Gfy »

The latest version of the script can be found in the pyReScene repository:
https://bitbucket.org/Gfy/pyrescene/src ... at=default
kr0ll0
Newbie
Newbie
Posts: 13
Joined: July 23rd, 2012, 3:51 pm

Re: Awescript - SRR/SRS + Directory Creation + Moving + Extr

Post by kr0ll0 »

Gfy wrote:The source can be found here:
http://x264.rescene.info/awescript/
ReScene's site (and the Awescript instructions and examples) have moved.

The current link is http://rescene.wikidot.com/downloads#toc10
Post Reply