Skip to content

Commit

Permalink
Merge pull request #2 in VID/node-makemkv from hotfix/kill-buttons to…
Browse files Browse the repository at this point in the history
… master

* commit '67ef96b19ee0fcb9ddd78fac1565d58d4639182c':
  [IMP] ReadMe & Client * Remove unneeded buttons from UI * Update ReadMe for no buttons * Clarify install instructions
  • Loading branch information
lasley committed Jul 19, 2016
2 parents 3ac444c + 67ef96b commit a357d3b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,25 @@ Variable | Description

* Clone the repo - `git clone https://github.com/lasley/node-makemkv.git`

* Install apt dependencies (will need to adapt for RHEL/CentOS) - `sudo apt-get install nodejs-legacy npm libudev-dev`

* Install coffeescript interpreter - `sudo npm install -g coffee-script`

* Install dependencies with npm - `npm install ./node-makemkv`

* Copy the example settings file to the correct location - `cp ./node-makemkv/settings.example.json ./node-makemkv/settings.json`

* Copy the example profile to the correct location - `cp ./node-makemkv/conversion_profile_example.xml ./node-makemkv/conversion_profile.xml`

* Update the `conversion_profile` path in `settings.json`
* Update the `conversion_profile` and `output_dir` paths in `settings.json`

* Run the server – `coffee ./node-makemkv/server.coffee`_Note: you must run the server as a user that has permissions to read from optical media_

* Navigate to `SERVER_HOSTNAME:LISTEN_PORT` to view the GUI

![node-makemkv-gui-1.png](https://blog.dlasley.net/user-files/uploads/2014/04/node-makemkv-gui-1.png "node-makemkv-gui-1.png")

* Click the `Refresh Drives` button to scan available drives for discs

![node-makemkv-refresh-1.png](https://blog.dlasley.net/user-files/uploads/2014/04/node-makemkv-refresh-1.png "node-makemkv-refresh-1.png")

* Click any of the `Get Info` buttons to get disc level information for a specific drive. Panels with the header title `None` do not have a valid disc in the drive (or some other drive level error)

![node-makemkv-getinfo-1.png](https://blog.dlasley.net/user-files/uploads/2014/04/node-makemkv-getinfo-1.png "node-makemkv-getinfo-1.png")</div>
* Insert DVD or BluRay into server

* Once the disc has been scanned, track information will be displayed in the disc panel. Use the checkboxes in the rip column to select which tracks you would like to rip, and the `Rip Tracks` button to initiate ripping. The `Disc Name` field can be used to define the folder that MakeMKV will rip into for this disc (relative to the `Output Directory` defined earlier)

Expand Down
15 changes: 7 additions & 8 deletions static/client.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,16 @@
<form class='form-horizontal'>
<div class='form-group'>
<label for='output_dir' class='col-sm-2 control-label'>Output Dir:</label>
<div class='col-sm-8'>
<div class='col-sm-12'>
<input type='text' id='output_dir' class='form-control' />
</div>
<div class='col-sm-2'>
<button type='button' class='btn btn-default' id='send_out_dir'>Save</button>
</div>
</div>
</form>
</div>
<!--
<div class='col-md-6'>
<div class='col-sm-1'>
<!--
<button type='button' class='btn btn-default' id='selection_profile'>Selection Profile</button>
-->
</div>
<div class='col-sm-1 col-md-offset-4 col-sm-offset-4'>
<button type='button' class='btn btn-default' id='browse_fs'>Browse Filesystem</button>
Expand All @@ -43,6 +39,7 @@
<button type='button' class='btn btn-default disc-btn' id='refresh_all'>Refresh Drive(s)</button>
</div>
</div>
-->
</div>
<!-- MakeMKV Data Placeholder -->
<div id='main'> </div>
Expand All @@ -67,18 +64,20 @@ <h4 class='modal-title' id='modal_title'></h4>
</form>
</div>
</div>
<!--
<div class='modal-footer' id='modal_foot'>
<button type='button' class='btn btn-default' data-dismiss='modal'>Close</button>
<button type="button" class="btn btn-primary" id='modal_select'>Select</button>
</div>
</div>
-->
</div>
</div>
</div>

<!-- Scripts/CSS -->
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/css/bootstrap.min.css' />
<link rel='stylesheet' href='/css' />

<script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js'></script>
<script src='//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min.js'></script>
<script src='//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js'></script>
Expand Down

0 comments on commit a357d3b

Please sign in to comment.