-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from JasonMillward/cleanup
Merging 1.6-dev into master
- Loading branch information
Showing
28 changed files
with
1,692 additions
and
877 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ pip-log.txt | |
settings.cfg | ||
|
||
# SQLite database | ||
*.db | ||
*.sqlite | ||
|
||
# Log files | ||
makeMKV-Autoripper.log | ||
*.log |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014 Jason Millward | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,15 @@ | ||
MakeMKV and HandBrake Automater | ||
=============================== | ||
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/00d3ea266eebd4aa375bb7d1019a9a0e "githalytics.com")](http://githalytics.com/JasonMillward/makeMKV-Autoripper) | ||
Autorippr | ||
========= | ||
|
||
This script uses [MakeMKV](http://makemkv.com/) to watch for DVDs or BDs that you own, grab the correct title from IMDb and rip it into your chosen movie directory and use [HandBrake](http://handbrake.fr/) to compress the video. All automagically. | ||
<br><br> | ||
**Important**: Updating to v1.3 will result in a loss of queue. Only update once your queue is empty. | ||
<br> | ||
*** | ||
|
||
### Prerequisites | ||
## Install | ||
|
||
Python | ||
* Created using 2.7.3 but should work with similar versions | ||
See the [docs](http://docs.jcode.me/autorippr) | ||
|
||
MakeMKV | ||
* http://makemkv.com/ | ||
## Issues? | ||
|
||
IMDbPy | ||
* http://imdbpy.sourceforge.net/ | ||
* At the time of writing, IMDbPy does not parse IMDb correctly because IMDb changed their HTML structure | ||
* sudo apt-get install python-imdbpy | ||
[Report them here](https://github.com/JasonMillward/Autorippr/issues) | ||
|
||
Handbrake - For converting and compressing | ||
* http://handbrake.fr/ | ||
* sudo add-apt-repository ppa:stebbins/handbrake-releases | ||
* sudo apt-get update && sudo apt-get install handbrake-cli | ||
|
||
|
||
### Installation | ||
|
||
1. Install the above prerequisites manually or if you're using Ubuntu (and possibly other Debian based distros) a nice [setup script](https://github.com/JasonMillward/makeMKV-Autoripper/blob/master/setup/install.sh) has been included in the *setup* folder. | ||
* Originally created by [mechevar](http://www.makemkv.com/forum2/viewtopic.php?f=3&t=5266) but modified by me for easy install of all the required components. | ||
|
||
|
||
2. Clone this repo into a directory of your chosing | ||
* ```git clone https://github.com/JasonMillward/makeMKV-Autoripper.git``` | ||
|
||
|
||
3. Check out a tagged *stable* release | ||
* To find available tags: ```git tag -l``` | ||
* eg: ```git checkout v1.3``` | ||
|
||
|
||
4. Copy settings.blank.cfg to settings.cfg | ||
|
||
|
||
5. Edit settings.cfg | ||
* You should only need to edit *save_path* unless you really want to play with the settings | ||
|
||
|
||
### Running | ||
1. Insert a DVD | ||
|
||
2. Test script | ||
1. ```python ~/makeMKV-Autoripper/src/rip.py``` | ||
2. ```python ~/makeMKV-Autoripper/src/compress.py``` | ||
|
||
|
||
3. Upon successful testing, set up a crontab and insert a new DVD | ||
* ```*/5 * * * * python ~/makeMKV-Autoripper/src/rip.py``` | ||
* ```0 * * * * python ~/makeMKV-Autoripper/src/compress.py``` | ||
|
||
|
||
4. Procceed with whatever else you wanted to do today while casually changing discs | ||
|
||
|
||
### Issues | ||
|
||
|
||
If you have any issues with the script, head over to the [issues page](https://github.com/JasonMillward/makeMKV-Autoripper/issues), create a new issue. | ||
|
||
Please try to supply as much detail as possible about the issue you are having, including but not limited to: | ||
* If you are ripping a DVD or Blu-ray | ||
* If you are using handbrake and/or makemkv | ||
* The error received | ||
* A copy (or relevant section) of autoripper.log | ||
* Your operating system | ||
|
||
An easy way to get some of the information required: | ||
```curl https://raw.github.com/KittyKatt/screenFetch/master/screenfetch-dev | bash``` | ||
## Copyright & License | ||
|
||
Copyright (c) 2012-2014 Jason Millward - Released under the [MIT license](LICENSE). |
Oops, something went wrong.