Code Monkey home page Code Monkey logo

bulkmakemkv's People

Contributors

dependabot[bot] avatar gufalcon avatar kju2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bulkmakemkv's Issues

Switch to enable/disable bonus-disc-skipping

A switch in the config file that enables you to turn bonus-disc skipping or not. I would find that very useful.

# This switch determines if bulkmakemkv will skip bonus-discs in general.
# A bonus disc is defined by containing the string '(bonus)' in its iso-file-name.
skipbonusdiscs = true
#skipbonusdiscs = false

You then could override this global setting by adding a '+' or '-' in front of the 'bonus tag' that denotes a bonus-disc like so:
Movie:
The Shining.iso
Bonus disc:
The Shining (bonus).iso
Bonus disc that doesn't get ripped even if you've specified to rip bonus discs in the config:
The Shining (-bonus).iso
Bonus disc that will get ripped even if you've specified not to rip bonus discs in the config:
The Shining (+bonus).iso

Resulting MKVs ripped in target directory.

Hi again!

I've been using bulk for a few weeks now and today I noticed something weird. When I cd into the target dir, here's what I find.

htmac:target htmac$ ls -l
total 99577912
drwxr-xr-x  2 htmac  staff           68 Nov 14 00:20 \Volumes\My_Passport\BULKMKV\new\J_Edgar\
drwxr-xr-x  2 htmac  staff           68 Nov  2 23:02 \Volumes\My_Passport\BULKMKV\new\MAD_MAX_FURY_ROAD\
-rw-r--r--  1 htmac  staff  23431185031 Nov  2 22:51 \Volumes\My_Passport\BULKMKV\new\MAD_MAX_FURY_ROAD\\MAD_MAX_FURY_ROAD.mkv
drwxr-xr-x  2 htmac  staff           68 Nov 13 10:13 \Volumes\My_Passport\BULKMKV\new\Pixels.2015.3D.Blu-ray.1080p.AVC.TrueHD.7.1.Atmos-HDArea\
drwxr-xr-x  2 htmac  staff           68 Nov  4 01:10 \Volumes\My_Passport\BULKMKV\new\Southpaw.2015.MULTI.1080p.BluRay.COMPLETE.AVC-DreamHD\
-rw-r--r--  1 htmac  staff  27546494342 Nov  4 00:43 \Volumes\My_Passport\BULKMKV\new\Southpaw.2015.MULTI.1080p.BluRay.COMPLETE.AVC-DreamHD\\Southpaw.2015.MULTI.1080p.BluRay.COMPLETE.AVC-DreamHD.mkv
drwxr-xr-x  2 htmac  staff           68 Nov 14 02:19 \Volumes\My_Passport\BULKMKV\new\Terminator.Genisys.2015.3D.Blu-ray.1080p.AVC.TrueHD.7.1.Atmos-HDArea\
drwxr-xr-x  2 htmac  staff           68 Nov 15 10:30 \Volumes\My_Passport\BULKMKV\new\White_House_Down_F13\
-rw-r--r--  1 htmac  staff      6201192 Nov  2 10:43 bulkMakeMkv.jar
-rw-r--r--  1 htmac  staff         3560 Nov  4 22:53 config.properties

I went checking my config file but nothing in there seems to tell bulk to rip into this dir. Maybe the program is formating paths with backslashes in OSX and the result is that OSX is making a new dir with the path as the name and puting it at the root of the program (the target dir)? Every paths should be formated with forwardslahes in OSX.

# Here you can specify how the program behaves. We have several modes
# at your disposal which are described in detail below.
#
# Currently supported modes are:
#  scan                 Don't do a conversion but only scan target-directories
#                               for peculiar things (zero-size files, empty directories,
#                               etc...) and display a summary at the end.
#  convert              Do a real conversion of all files and scan afterwards.
#
# You may add the word 'debug' to any of these modes in order to get the full
# output of the makeMKV tool when it is called to convert.
# words doesn't matter.
mode = convert debug
#mode = convert
#mode = debug scan
#mode = convert debug

# This option manipulates escaping when it comes to paths. Use windows or mac.
os = mac

# The directories where your ISO-files are located.
#
# IMPORTANT FOR ALL PATH-SPECIFICATIONS:
# Always use forward slashes ('/') like in the examples below!
# Don't ever use backslashes ('\') since there are multiple issues with the
# JVM on different systems (non-windows) causing the command-line calls
# to fail!
#
# If you want to specify more than one, just add another isoDirs-parameter
# (same name) below the current one.
isoDirs = /Volumes/My_Passport/BULKMKV/iso/
#isoDirs = C:/
#isoDirs = G:/
#isoDirs = H:/DVDs/

# Regular expressions identifying the ISO-file-names you want converted.
# The regular expressions are evaluated against the plain file-name of the
# ISO-file. The file is converted if any of the given regular expressions
# match.
#
# If you want to specify more than one, ust add another isoRegExps-parameter
# (same name) below the current one.
#isoRegExps = [f|F]ringe

# This is the temporary directory which is used when makeMKV is working.
# Be sure it doesn't contain files named "title<NN>.mkv" (the program
# checks for any mkv-files starting with "title") since that would collide
# with the files makeMKV wants to make.
# Other than that you may chose any directory.
# It stands to reason for this directory to be on the same drive as the
# mkvDir, since the copy-process won't involve any real data-transfer this
# way.
tempDir = /Volumes/My_Passport/BULKMKV/temp/

# This is the directory where the program will create the right directories
# in containing the resulting MKV-files.
mkvDir = /Volumes/My_Passport/BULKMKV/new/

# This is a list of directories the program will look for already converted
# MKV-files in. The directories will be searched recursively.
# The mkvDir is in this list by default. No need to add it manually.
#
# If you want to specify more than one, just add another observeMkvDirs-
# parameter (same name) below the current one.
observeMkvDirs = /Volumes/My_Passport/BULKMKV/iso/
observeMkvDirs = /Volumes/My_Passport/BULKMKV/new/
observeMkvDirs = /Volumes/My_Passport/BULKMKV/temp/
observeMkvDirs = /Volumes/My_Passport/Movies
observeMkvDirs = /Volumes/My_Passport/Downloads/Movies
observeMkvDirs = /Volumes/My_Passport/Downloads/ISOs
#observeMkvDirs = //babylon5/Movies3/MOVIES
#observeMkvDirs = //babylon5/Movies3/FILMS

# If set to true, then all series are converted. If not present or set to
# false, all series are omitted.
convertShows = false

# If set to true, then all movies are converted. If not present or set to
# false, all movies are omitted.
convertMovies = true

# The location of your local makeMKV-installation. Be sure to contain the
# name of the runtime as well, not only the directory.
makeMkvCommand = /Applications/MakeMKV.app/Contents/MacOS/makemkvcon

makeMkvTempFileExtension = mkv
mkvFileExtension = mkv
isoFileExtension = iso

Thank you.

Not finding makemkvcon on OSX

Hi again!

Thanks for pushing the jar file! I've edited the config file and now I'm trying to make it run. As you'll see in the log below, it seems that the program cannot find the makemkvcon file and make it run under OSX. What platform was it developed for? I'm sure that path is the correct one since I can start a rip manually from the command line.

Thanks!

Mac-Pro:target Bruno$ java -jar bulkMakeMkv.jar
Converting... (this will definitely take a while depending on the number of unconverted files in your observeMkvDirs directories)
skipping: (not an .iso file)
converting: Alien_1979
"/Applications/MakeMKV.app/Contents/MacOS/makemkvcon" mkv iso:"/Volumes/Medias 5/_ISOs/Alien_1979.iso" all "/Volumes/Medias 5/_ISOs/temp/"
java.io.IOException: Cannot run program ""/Applications/MakeMKV.app/Contents/MacOS/makemkvcon"": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at java.lang.Runtime.exec(Runtime.java:388)
at info.unterrainer.java.tools.scripting.bulkmakemkv.syscommandexecutor.SysCommandExecutor.runCommandHelper(SysCommandExecutor.java:147)
at info.unterrainer.java.tools.scripting.bulkmakemkv.syscommandexecutor.SysCommandExecutor.runCommand(SysCommandExecutor.java:123)
at info.unterrainer.java.tools.scripting.bulkmakemkv.BulkMakeMkv.doCommand(BulkMakeMkv.java:497)
at info.unterrainer.java.tools.scripting.bulkmakemkv.BulkMakeMkv.doConvert(BulkMakeMkv.java:344)
at info.unterrainer.java.tools.scripting.bulkmakemkv.BulkMakeMkv.convert(BulkMakeMkv.java:275)
at info.unterrainer.java.tools.scripting.bulkmakemkv.BulkMakeMkv.main(BulkMakeMkv.java:148)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 9 more
0
skipping: Alien_t00 (not an .iso file)
skipping: Alien_t01 (not an .iso file)
Done converting.
Scanning... (this may take a while depending on the number and size of your observeMkvDirs directories)

### SCAN RESULTS:

Not yet converted ISOs:
/Volumes/Medias 5/_ISOs/Alien_1979.iso

Empty directories:
/Volumes/Medias 5/_ISOs/mkvs

Empty files (files with size zero):

Wrong number of episodes in directory:

Done scanning.

Done.

Convert from ISO and FILES

The ability for the program to rip iso and bdmv files.
When using makemkvcon manually in a bash, you need to specify what type of files you need to rip with "iso" or "files" modes. If bulkmakemkv could detect wether it's one or the other, it would be perfect.

Where is the bulkMakeMkv.jar file?

Hi!

I'm sorry for the silly question but I can't find the bulkMakeMkv.jar file to start the program. I'm not sure how to start it. The read me file is really well written but it seems I'm missing something...

Thanks!

Bug - checking error when dot in filename

When the series (possibly movie's as well) name contains a '.' then the name-checking doesn't work that determines if the episode has already been ripped or not and displays it as not ripped. This results in the disc to be ripped again.

Using bulk with cron

When using bulkmakemkv periodically using cron job (launchd on a mac), the iso files stay in the iso folder after bulk ripped them. Therefore, next time it runs, it keeps trying to rip them. The program should be able to move the files or rename them after ripping as been completed successfully. Another solution would be to build a database of the files bulk as already seen/ripped.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.