Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Script to Watch for a Disc in the Optical Drive and Auto Rip using DVDFab

License

Notifications You must be signed in to change notification settings

thecreativeone91/DVDFabAutoRip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DVDFabAutoRip

No Longer Maintained

This script is no longer maintained. You may keep using it however no changes will be made nor tested with newer versions of DVDFab. You may consider using the jlesage/makemkv docker container as an alternative.

Disclaimer

Note: I do not condone piracy, please use this only for backing up your own physical media you have bought. A lot of work goes into making a movie, make sure they get the support they need by buying your movies legally.

Versions Changelog

  • 2.3 is the current Stable release that includes a fix for script/service hang after first rip due to optical drive eject hanging. See Issue #6
  • 2.2 is the an old Stable release that includes a fix for the liveupdate issue and has been tested. See Issue #4
  • 2.1.1 is the Old Stable release

Why Use DVDFabAutoRip?

DVDFabAutoRip is a Powershell script that can be ran as a service to watch for a disc in the optical drive and Auto Rip them (Full ISO Clones) using DVDFab. This script could be used for other software supporting command line control or modified for other file formats besides full ISO rips, as some media players do not support ISO files. This has mainly been used to rip full uncompressed UHD Blu ray's as these have way better quality than streaming.

The idea is that you rip your movies straight to the local folder hosting the SMB File Share for your Zappiti, Infuse Pro etc. Media Players library. You put your optical media in and it Just automaticly rips, no user input needed. When it is done the optical media will eject automaticly.

PowerShell

powershell version DVDFab.ps1 has been created, the VBScript is depreciated. The Script can be installed as a service by using the -Install Parameter when running the script. Please note when running as a service you will need to use the mobile DVDFab Remote app to monitor progress, this is due to the interactive services desktop (session 0) is no longer being supported on modern versions of windows, so you will not see the GUI.

Installation

Copy DVDFab.ps1 to a location on your harddrive.

Edit the following lines for your enviroment:

#Set DVDFab Location
$DVDFab= "C:\Program Files\DVDFab\DVDFab 12\DVDFab64.exe"
#Set DVD Drive Letter
$DVD= "`"D:\`""

Only the D needs to be changed if your Optical Drive is a different letter

#Get DVD Label Name for ISO File Name, Set Optical Drive Letter
$DVDLabel= Get-Volume -DriveLetter D| % FileSystemLabel

Edit the Folder Path for your enviroment, leaving the $DVDLabel.iso

#Set Destination Folder 
$Dest="`"E:\Videos\Movies\$DVDLabel.iso`""

Save your changes.

Run PowerShell as an Administrator CD to the directory you saved the script. Type ".\DVDFab.ps1 -Install" DVDFabAutoRip will now be installed as a system service. You may want to change the service logon account to a local administrator account rather than the System account if you run into any issues.

DVDFab Remote

Use the DVDFab Remote on iOS (or M1 Mac) and Android to monitor your progress. Hopefully, in the future DVDFab adds the ability to monitor and control another session from the full app for full control and the possiblity of fixing errors without manually running DVDFab. For now the remote apps works for most use cases.

DVDFabRemote

Known Script Issues

Fixed in 2.3 Final - Some systems may hand after the first rip with the scrip this is due to the windows media player eject command that was used. Work around is to restart the service after each rip.

Fixed in 2.2 Final - Fix Possibly issued in 2.2 Beta. LiveUpdate.exe - LiveUpdate is a program that DVDFab is uses to check for and prompt you to install updates to the program. Currently there is no way to turn off update checks in DVDFab. When DVDFab is lauched it will check this, and leave liveupdate.exe open with a window for you to install until you confirm to install or manually close. The /CLOSE paramater for DVDFab.exe commandline does not pass thru to this update utility. So if there is an update the process will not continue as the script will be waiting for this to close. The old VBScript got around this by waiting for the Optical drive to be in a ready state, however this had more problems as it was a guessing game with delays as the drive is not in use when DVDFab first runs and if it as to pull decryption information from DVDFab Servers. I'm currently working on a process to watch for and close this when detected.

Errors, Prompts etc. - This one is not possible to fix and is just the nature of how DVDFab works. If a disc is not reading well you may or may not get a warning in DVDFab remote. If something seems off, just stop the script or DVDFabAuto Rip service in Services.msc and run it manually.

Sleep Issues

Some UDH Friendly Drives may have sleep issues where the drive will no longer respond. This is a known issue for LG WH14NS40 Drives with UHD Friendly firmware for example, the fix is to use LG_WH16NS60_1.00 firmware for most LG WH14NS40 Drives. Flashing firmware may brick your drive, use at your own risk.

Depreciated VBScript

Click Here if you are looking for the depreciated VBScript