2012-12-04, 21:40
Ok kyrios hope this is enough lol
Code:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: AutoRipDVD is brought to you by Spinalcracker
:: Modified by Akevit
:: Modified again by Jason Hurley :) :
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@Echo on
Setlocal enableextensions
:: Enable Delayed Expansion allows for loops to iterate through each variable by using ! instead of % when calling variable
Setlocal enabledelayedexpansion
:: ScriptPath is now dynamically hardcoded to wherever the AutoRipDVD.bat file is, script will break If you move location of this file
Set ScriptPath=%~dp0
Set ScriptPath=%ScriptPath:~0,-1%
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Change the following variables to match your setup
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: DriveLetter=The drive letter of your DVD or Blu-Ray drive ie. D: or G: etc
Set DriveLetter=D:
:: RipDir=Where you want your DVD ripped to ie. your xbmc movie folder
Set RipDir=E:\UncompressedMovies
:: Encoded Directory of where it saves
Set EncodeDir=E:\movies\
:: IntDir=Where you installed MakeMKV to
Set IntDir=C:\Program Files (x86)\MakeMKV
:: RipMinSeconds=Minimum time In seconds that should be ripped off disk to avoid getting previews etc. Default is 3600 seconds or 1 hour
Set RipMinSeconds=3600
:: Eject Disc after ripping?
Set EjectDisc=No
:: Show splash screens
Set ShowSplash=Yes
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::: Media Companion
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::Open MediaCompanion. Since there was no installation, you just run the downloaded executable. Select the “Movies” tab in the first row, and then the
::“Folders” tab in the second row. Click “Add Movie Folder Browser” and navigate to wherever you’re storing your movies. Click OK, and then click
::“Save & Quick Refresh”. MC will search the folder(s) you specified for media items. Note that it hasn’t scraped anything yet.
::On the second tab row (still in Movies) select “Movie Preferences”. These settings are all optional, except that “Use Folder Names for Scraping”
::(near the bottom left) MUST be checked.
:: Sets Media Companion Directory ( For those that use this setting make sure you look at XMBC Set Scan of media Companion
:: http://mediacompanion.codeplex.com/ (requires .net 4.0)
Set MediaDir=i:\MediaCompanion3.500
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: HANDBRAKE SETTINGS
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Sets the install path to handbrake
Set Handbrakepath=C:\Program Files (x86)\HandBrake CLI\
:: Log Handbrake?
Set Handbrakelog=Yes
Set HandbrakelogDirectory=%scriptpath%
:: Experimental procedure to only encode the largest extracted MKV and append .delete to the others and delete
Set encodeLargestOnly=Yes
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::: HANDBRAKE SETTINGS PART 2 - Below Settings do not matter if Advanced mode is on
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Using Handbrake to compress - Yes or No?
Set Handbrake=Yes
:: Keep backup of original file after compression? (Otherwise original full quality video will be deleted from Hard Drive -- They're quite large)
Set KeepHDVersion=Yes
:: Enter profile For handbrake settings to use (see end of this file)
Set HBsettings=720pMedium
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: XBMC Settings For Library Update
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Media Companion Folders need to be Set in Media Companion Prior To Running this Scan.
::Sets Scan of Media Companion
Set MediaComp=Yes
:: Update XBMC Library Upon completion?
:: NOTE: CURL For Windows MUST BE INSTALLED: http://curl.haxx.se/download.html
Set UpdateXBMC=Yes
:: Add arbitrary NFO.txt file For file If wanted
:: Will need to manually add URL to NFO file For scraper to work
Set AddNFO=No
::*** Which version of XBMC are you using? Enter FroDo or Eden
Set XBMCversion=Frodo
:: Set logIn details For XBMC HTTP access (settings found In XBMC Network settings)
Set XBMCuser=xbmc
Set XBMCpass=xbmc
Set XBMCurl=127.0.0.1
Set XBMCport=8082
Set cURLpath=I:\curl\curl.exe