Skip to content

Commit

Permalink
Merge pull request #51 from JasonMillward/cleanup
Browse files Browse the repository at this point in the history
Merging 1.6-dev into master
  • Loading branch information
JasonMillward committed Jul 26, 2014
2 parents d380ddd + a4fe74d commit 78b8faf
Show file tree
Hide file tree
Showing 28 changed files with 1,692 additions and 877 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pip-log.txt
settings.cfg

# SQLite database
*.db
*.sqlite

# Log files
makeMKV-Autoripper.log
*.log
21 changes: 21 additions & 0 deletions LICENSE
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.
13 changes: 9 additions & 4 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Misc notes for future me / developers

## Single instance requires pip & tendo
sudo apt-get install python-pip
pip install tendo

## TV Shows (and maybe proper movie titles)

Disc info can be obtained, it returns a lot more information about each disc instead of just the 'is disc inserted'
Expand Down Expand Up @@ -84,3 +80,12 @@ T = Title info

CINFO:28,0,"eng"
CINFO:29,0,"English"

## Subtitles

2014-07-21 22:29:18 - Filebot - DEBUG - Get [English] subtitles for 1 files
2014-07-21 22:29:18 - Filebot - DEBUG - Looking up subtitles by hash via OpenSubtitles
2014-07-21 22:29:18 - Filebot - DEBUG - Looking up subtitles by name via OpenSubtitles
2014-07-21 22:29:18 - Filebot - DEBUG - Fetching [Smokin'.Aces.2006.720p.BRRiP.XViD.AC3-LEGi0N.srt]
2014-07-21 22:29:18 - Filebot - DEBUG - Export [Smokin'.Aces.2006.720p.BRRiP.XViD.AC3-LEGi0N.srt] as: SubRip / UTF-8
2014-07-21 22:29:18 - Filebot - DEBUG - Writing [Smokin'.Aces.2006.720p.BRRiP.XViD.AC3-LEGi0N.srt] to [Smokin' Aces (2006).eng.srt]
83 changes: 8 additions & 75 deletions README.md
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).
Loading

0 comments on commit 78b8faf

Please sign in to comment.