67 Commits

Author SHA1 Message Date
Benjamin Bryan
1376566d48 Merge pull request #52 from ahnooie/pushover
Pushover notify support
2017-03-12 22:11:00 -07:00
Benjamin Bryan
f7d96c204f add pushover support 2017-03-12 22:06:33 -07:00
Benjamin Bryan
f2f4413e28 Merge pull request #48 from ahnooie/multiple-drives-data-rip
eject correct drive
2017-02-23 20:42:33 -08:00
Benjamin Bryan
635aa556dd eject correct drive 2017-02-23 19:34:23 -08:00
Benjamin Bryan
067c7785c0 Fix blank mkv args (#41)
* MKV_ARGS shouldn't be quoted
2017-01-15 13:25:04 -08:00
Benjamin Bryan
a986bb450d Merge pull request #40 from ahnooie/readme
region info, git url
2017-01-15 08:12:03 -08:00
Benjamin Bryan
61a944f322 region info, git url 2017-01-15 08:08:37 -08:00
RandomNinjaAtk
4e0a5c4321 Added MakeMKV Profile, Plex and Main movie Support (#38)
* MakeMKV Args for Profiles

* Updating extra Folders to support Plex

Going to add a system wide variable that can be turned on to create the folder needed for Plex Extras Support. If it is not enabled, it will default to how Emby wants it, but add a ".plexignore" file to the extras folder. This will allow you to use both Plex and Emby at the same time. Same thing if you enable Plex Support, an ".ignore" file will be added to the Plex Featurettes folder to tell Emby to ignore those files since it does not match its naming convention..

* Added Plex Support Configuration 

This will enable the new modifications that I made to the "video_transcode.sh" script to enable Plex support, the other minor changes I made to the default Directories make it more Generic for support of Plex, Emby or Kodi use.

* Updating extra Folders to support Plex

Going to add a system wide variable that can be turned on to create the folder needed for Plex Extras Support. If it is not enabled, it will default to how Emby wants it, but add a ".plexignore" file to the extras folder. This will allow you to use both Plex and Emby at the same time. Same thing if you enable Plex Support, an ".ignore" file will be added to the Plex Featurettes folder to tell Emby to ignore those files since it does not match its naming convention..

* Detect and Move Main Movie File in Extras to Root Movie Folder

This addition detects the largest file in the "Extras/Featurettes" folder and assumes it is the main movie, which it will then move it to the root folder for detection in Plex/Emby/Kodi...

* Add Replaygain, Change Output/Various Artists Folder

Changed the default output directory to make it more Plex/Emby/Kodi friendly. Added Replaygain support as a default setting so applications that can utilize it will have the necessary tags. Updated the Various Artists folder path to actually group the ablums into a "Various Artists" folder for proper use with Plex/Emby/Kodi.

* Updated File Output for Various Artists Albums

Plex/Emby/Kodi prefer to have a separate folder for Various Artists, previously each artist had their own folder, but Various Artists albums did not get sorted that way. This is rectifying that.

* Changed Default Destination File Path

This is to enhance functionality and make it more Plex/Emby/Kodi friendly.

* Add Replaygain Tags For Albums & Songs

This adds replaygain tags to converted files so that media players that utilize those tags will be able to take advantage of it.

* Updated Install Process

Updated the Install Process to account for necessary folders for Sorting of media. This also enables it to be used in a standalone setup without the need for a NAS/File Server.

* Add Git and Regionset to Install Process

For new installs of Ubuntu, Git and Region Set for the disc drive is not installed. This adds that and helps the user to set the proper region for their disc drive for ripping media.

* Adding "-p" arguments to mkdir commands

This will simply the install setup by not requiring users to create those directories, previously the script would fail to move files unless one had manually created those directories. But now the script will automatically create them if they don't exist with the addition of this change!

* New Settings, File Permissions

This is to enable the script to change the file permissions of outputted files for enable the user to read/write/modify the files as desired. Currently this is not possible if storing the data locally because the data is locked to the sudo/root user.

* Enabled New File Permission Config Setting

Enabled the use of the new configuration setting to set file permission

* Added CHMOD_VALUE settings

This settings allows one to adjust the default file permissions if they desire.
2017-01-15 07:59:10 -08:00
muckngrind4
58cba08405 Added HB_ARGS (#39)
* Try to handle incorrect year coming from metaservices
* Added HB_ARGS for user configurable HandBrake arguments
* Changed default hb_args to match old hardcoded arguments
2017-01-14 15:12:39 -08:00
muckngrind4
1d5c60bd3f Yearmismatch (#33)
* Try to handle incorrect year coming from metaservices
2016-12-29 21:59:39 -08:00
muckngrind4
32ebce8d89 Move files to media directory for "all files" on bluray (#32)
* Added Emby processes to more scenarios
* Comment editiing
* Fix mv command
* Disable some shecllcheck errors
2016-12-20 19:20:55 -08:00
muckngrind4
40bfb99eff List parameters at beginning of log file (#31)
* List all parameters in log file
2016-12-16 18:14:18 -08:00
muckngrind4
6dedbf2f72 Option to skip transcoding (#30)
* Option to skip transcoding
2016-12-16 18:09:53 -08:00
muckngrind4
e70bf17a70 Added ability to do MakeMKV backup with main feature = false. (#29) 2016-12-14 22:11:16 -08:00
muckngrind4
1478264a00 Option to automatically scan Emby library after main feature transcoding (#26)
* Options to automatically scan Emby library after main feature transcoding.
* Clean up config.sample
2016-12-12 18:08:56 -08:00
Benjamin Bryan
ffcfb2220d Merge pull request #25 from ahnooie/tvdetection
Handle failed calls to omdbapi better.
2016-12-06 21:55:06 -08:00
Derek Christensen
7a5cfb5306 Handle failed calls to omdbapi better. 2016-12-06 21:17:07 -08:00
Benjamin Bryan
b0be50c291 default ripmethod to mkv (#23) v1.3.0 2016-12-03 21:54:36 -08:00
Benjamin Bryan
7264409de4 fix rmdir command (#21) 2016-12-03 20:32:05 -08:00
Benjamin Bryan
56ab1c8c99 libdvdcss requirement (#20) 2016-12-03 20:31:53 -08:00
Benjamin Bryan
5cffb7a527 fix version (#19) 2016-12-03 15:35:00 -08:00
Benjamin Bryan
575e0e36b4 Makemkv readme (#18)
Note on installing MakeMKV license
2016-12-02 20:51:05 -08:00
Benjamin Bryan
032b461e84 Python requirements (#17)
Python Requirements
Changelog
Readme
Change GET_VIDEO_TITLE to true in config sample
2016-12-02 20:40:30 -08:00
Benjamin Bryan
8a4318885a Clean bash (#16)
Clean up bash for shellcheck
2016-11-30 20:57:37 -08:00
Benjamin Bryan
698cae773a Autofilename (#15)
* Implemented call to OMDbapi.org to identify if the dvd is a movie or tv series.  If a movie, automaticlaly
the transcoded video to the final media directory.

* Added MEDIA_DIR parameter to config file.  Cleaned up comments.

* Some calls to the service return extra characters in the title such as [P&S] (pan and scan) and
[WS] (widescreen).  Added code to clean these to the clean_for_filename function.

* Added call to getvideotyp.py.

* Added code to auto move transcoded file to media directory.  Addition of double quotes to account for spaces
in filenames.
2016-11-28 20:21:13 -08:00
Benjamin Bryan
1c4ddb9a87 More merge fixes (#14)
* cleanup after my horrible merge
2016-11-25 19:55:07 -08:00
Benjamin Bryan
4105c5bb85 Update readme (#12)
* add ci

* add ci

* add build status

* update readme
2016-11-23 23:19:39 -08:00
Benjamin Bryan
2bd9ef3375 Update readme md (#13)
* add ci

* add ci

* add build status

* update readme
2016-11-23 23:19:27 -08:00
Benjamin Bryan
88d9e83c1c Squashed commit of the following:
commit 3651c39b1f8eab5c51248f84eee7d2ee749b122c
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 23:06:31 2016 -0800

    update readme

commit 2bd873123b14da69a4df94aa2751c107c2d89d0c
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 22:46:14 2016 -0800

    add build status

commit 1b60de53a6f0d889f970f42b701d0c0e4f7c7d6b
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 22:33:40 2016 -0800

    add ci

commit 4a669745a3b7a8c31cba8d644bd46ec87d9b20ba
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 22:33:12 2016 -0800

    add ci

# Conflicts:
#	README.md
2016-11-23 23:18:57 -08:00
Benjamin Bryan
9898c33818 Continuous Integration (#11)
* add ci

* add ci

* add build status
2016-11-23 22:49:40 -08:00
Benjamin Bryan
d52d872665 quotes and move mkdir up (#10)
Fix merge errors

* I'm terrible at merging...
2016-11-23 22:31:23 -08:00
Benjamin Bryan
5e8b35fc17 Squashed commit of the following:
commit 2986b3cfdc487f71aa7808501da0196c93679596
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 21:53:22 2016 -0800

    merge changes

commit c2a5d54f2edbe16ebb4df67c62cce97b2f1e3c4c
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 21:18:43 2016 -0800

    fix bad var

commit a96af91a2ab0d8c87dd3dc06466203c7efdf2cef
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 21:05:00 2016 -0800

    logging comment

commit 4e2ce38520dee4221bf99070083b740a07947115
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 21:04:00 2016 -0800

    add timestamp in raw folder

commit bb4f003fc44a117edadb178594ffbadd20edc81c
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 20:49:22 2016 -0800

    check to see if title exists, if so no timestamp

commit 1cbea6a4df7993f4d6cdc2714b9689e2666e2fc7
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 20:01:32 2016 -0800

    open in binary mode

commit 8362d893af625043e6e0429c68065efddc9dd46c
Author: Benjamin Bryan <ben@b3n.org>
Date:   Wed Nov 23 20:00:54 2016 -0800

    quote path

commit 9ff73d21e2f24238fb8de83ccc2def9c64612dca
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 22:42:33 2016 -0800

    esc quotes

commit c55ce810f6f9c7a4b3276e0dc801bd51d0f172a4
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 22:40:27 2016 -0800

    debug

commit 6b9eecba196a4a80e234ebf5fb1c1106986a5f4a
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 22:19:23 2016 -0800

    this probably shouldn't be different

commit 6ca6b73636703ce06d6f0088ad77dddc7443fef6
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 22:15:56 2016 -0800

    spaces....

commit 9eda76899194d9a49168926195d85319ac8991a5
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 21:54:40 2016 -0800

    quotes

commit 39a658582d12a1fbe61c69b1ad9be30591facfe0
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 21:36:03 2016 -0800

    more debugging

commit 9593c43cc28330876d63530127f650bdeb3cb0de
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 21:30:16 2016 -0800

    cleanup string

commit 5caf6e7c19be47aa9bd0ead476680296305a6cd0
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 21:01:19 2016 -0800

    debug

commit 42faee7ff9cbf3ac23eda55b37cd1d986e9ceff4
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 20:56:39 2016 -0800

    spaces

commit d04a114e7e509538b3aff660a380a72b5c1bc88f
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 20:50:27 2016 -0800

    video title

commit cdb955f8af9d330e2b61494c41c5378929153684
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 20:25:00 2016 -0800

    fix bash errors

commit 7b36271630b15175b9d3bee2a145f9ce7d01f766
Author: Benjamin Bryan <ben@b3n.org>
Date:   Tue Nov 22 20:05:12 2016 -0800

    fix transcoding call

commit f674c812fc417f217fc5c46102b499371cf622df
Merge: c428b57 462e766
Author: Benjamin Bryan <ben@b3n.org>
Date:   Mon Nov 21 22:54:15 2016 -0800

    Merge branch 'identifydvdbluraytitle' of github.com:ahnooie/automatic-ripping-machine into identifydvdbluraytitle

commit c428b57d66f1ef4d55d36677fb23f30e71a1cfc6
Author: Benjamin Bryan <ben@b3n.org>
Date:   Mon Nov 21 22:53:59 2016 -0800

    force python3 for now

commit 462e766c6fbf2d962eeb922c83285f4e8528939d
Author: Benjamin Bryan <ben@b3n.org>
Date:   Mon Nov 21 22:53:41 2016 -0800

    fix path

commit 797f32bf500ac62af0ab928001b543cd5ec891d0
Author: Benjamin Bryan <ben@b3n.org>
Date:   Mon Nov 21 22:39:11 2016 -0800

    param devname

commit 91f90d707cb01671da9fffe9e3a740ae6e783d26
Author: Benjamin Bryan <ben@b3n.org>
Date:   Mon Nov 21 22:38:29 2016 -0800

    get video title

commit 51cdb4085980669ae46b41378f579c434165d32e
Author: Benjamin Bryan <ben@b3n.org>
Date:   Mon Nov 21 21:45:36 2016 -0800

    fix bluray replace and fix type error for python3

commit 3e214abe2ec72e497d97ed896de3f307dc83d3e6
Author: Benjamin Bryan <ben@b3n.org>
Date:   Mon Nov 21 21:19:59 2016 -0800

    Rip option using backup method in MakeMKV and main-feature in HandBrake (#6) (#8)

    * Add ability to rip using backup method in MakeMKV and main-feature in Handbrake
    * Added logic for when backup method is selected but all files wanted.

commit f3a9da4e0ae07cf6a123cbe9f9b05d607005164c
Author: Benjamin Bryan <ben@b3n.org>
Date:   Sun Nov 20 07:49:55 2016 -0800

    desc

commit f2a423d4eb7c39eae206086a6612816eaa714213
Author: Benjamin Bryan <ben@b3n.org>
Date:   Sun Nov 20 07:48:44 2016 -0800

    clean up

commit 5466d33e24cd82d3d608eb63779b4a8fed1b221f
Author: Benjamin Bryan <ben@b3n.org>
Date:   Sat Nov 19 21:27:43 2016 -0800

    added bluray

commit dd06df5dde9f90dee67399fff6592e530180e6fd
Author: Benjamin Bryan <ben@b3n.org>
Date:   Sat Nov 19 19:45:19 2016 -0800

    parse xml

commit 91fb6fc68f1faea19690b56090b40b5ed3e9e3ca
Author: Benjamin Bryan <ben@b3n.org>
Date:   Sat Nov 19 19:00:32 2016 -0800

    get crc64 of dvd

# Conflicts:
#	video_rip.sh
#	video_transcode.sh
2016-11-23 22:03:28 -08:00
muckngrind4
4c57df2672 Rip option using backup method in MakeMKV and main-feature in HandBrake (#6)
* Add ability to rip using backup method in MakeMKV and main-feature in Handbrake
* Added logic for when backup method is selected but all files wanted.
2016-11-21 21:12:16 -08:00
Benjamin Bryan
2a4a2ff7e1 Merge pull request #7 from ahnooie/udev_debug
add udev info to log
2016-10-23 19:44:39 -07:00
Benjamin Bryan
8572a0b21f add udev info to log 2016-10-23 19:35:57 -07:00
Benjamin Bryan
30ee175cff Merge pull request #5 from ahnooie/video_identification
Distinguish udf video from udf data
v1.2.0
2016-10-01 15:36:59 -07:00
Benjamin Bryan
02e7154e34 comment clarification 2016-10-01 15:34:27 -07:00
Benjamin Bryan
6ae9949341 flag to enable udf check 2016-10-01 15:24:51 -07:00
Benjamin Bryan
e042192cfb pipes for or 2016-10-01 14:54:24 -07:00
Benjamin Bryan
b39a6baf2d distinguish udf video from data 2016-10-01 14:33:52 -07:00
Benjamin Bryan
eb9555f3d2 Merge pull request #4 from ahnooie/derek
Derek
v1.1.1
2016-09-21 22:03:03 -07:00
Derek Christensen
c2d6db048c Merge branch 'derek' of github.com:ahnooie/automatic-ripping-machine into derek
Added devname to abcde command
Added logging stats (timers).  "grep STAT" to see parse them out.
2016-09-20 23:14:42 -07:00
Derek Christensen
51b55f6bc7 Added devname to abcde command
Added additional logging stats (timers).  "grep STAT" to parse them out of the logs.
2016-09-20 21:47:25 -07:00
Benjamin Bryan
816b3ff833 Merge pull request #1 from ahnooie/derek
Added ability to rip from multiple drives at the same time
Added a config file for parameters
Changed logging
Log name is based on ID_FS_LABEL (dvd name) variable set by udev in order to isolate logging from multiple process running simultaneously
Log file name and path set in config file
Log file cleanup based on parameter set in config file
Added phone notification options for Pushbullet and IFTTT
Remove MakeMKV destination directory after HandBrake finishes transcoding
Misc stuff
v1.1.0
2016-09-11 15:36:17 -07:00
Benjamin Bryan
fdadc08c8c move that to a better place 2016-09-11 15:21:43 -07:00
Benjamin Bryan
5c2eff6e2f create log dir if needed 2016-09-11 15:18:13 -07:00
Benjamin Bryan
88a779d014 remove config 2016-09-11 13:07:31 -07:00
Benjamin Bryan
5c5146df52 add config to .gitignore 2016-09-11 12:47:17 -07:00
Benjamin Bryan
9f6db3a078 move config to config.sample 2016-09-11 12:46:40 -07:00
muckngrind4
4e0c05f787 Fixed bug in video_transcode.sh
Fixed bug in notification.
2016-09-11 00:48:44 -07:00