Open phathak opened 8 years ago
Hi! Long time no see. Sorry. I was pretty distracted by our game Throbax TD for which I'm currently implementing multiplayer... that's some stress I tell you...
I'm not sure I understand your question right. You have the path mkvDir = /Volumes/My_Passport/BULKMKV/new/
in your config as target directory and all your movies are generated there as I see in your ls output.
So from my point of view it seems just like it should be or am I missing something?
All of the movies are generated in the ~/bulkmakemkv/target directory. Where the script is located...
I'll definitely take a look at your game. Sounds like you put a lot of effort in this one.
Bruno-Pierre Jobin
On Dec 31, 2015, at 8:22 AM, guFalcon notifications@github.com wrote:
Hi! Long time no see. Sorry. I was pretty distracted by our game Throbax TD for which I'm currently implementing multiplayer... that's some stress I tell you...
I'm not sure I understand your question right. You have the path mkvDir = /Volumes/My_Passport/BULKMKV/new/ in your config as target directory and all your movies are generated there as I see in your ls output. So from my point of view it seems just like it should be or am I missing something?
— Reply to this email directly or view it on GitHub.
Hmmm. I see... My first reaction was:
But you tell it to do that. You say that the target folder is /Volumes/My_Passport/BULKMKV/new/
which is a relative path as far as I know. So that relative path is 'from the execution point of the jar', so to say...
But now I see that /Volumes/My_Passport/BULKMKV/new/
IS an absolute path. So my program does some weird things. I'll check that for you.
As for the game: Cool. We've been on and off it for the last 4 years now. Finally we started early access on Steam. It's a tower-defense game and I'll be happy to provide you with a free Steam-key for the patience you've had with me the past year, if you send me an email (psilo@unterrainer.info) since I don't want to do that on Github :)
Hmmm. Could you look where your temp-dir gets created? It should be tempDir = /Volumes/My_Passport/BULKMKV/temp/
according to your config.
Does THAT one work?
I already created it myself at this location but should I let the program create it by itself?
Bruno-Pierre Jobin
On Dec 31, 2015, at 9:04 AM, guFalcon notifications@github.com wrote:
Hmmm. Could you look where your temp-dir gets created? It should be tempDir = /Volumes/My_Passport/BULKMKV/temp/ according to your config. Does THAT one work?
— Reply to this email directly or view it on GitHub.
It can, but it doesn't have to. The temp-dir is only checked to be empty when a conversion starts (in order to prevent you from accidentally deleting a previous conversion that didn't finish properly). No. Just watch if the titlexx.mkv-files are generated there during conversion, that's all. That would be helpful.
Also: Please check if the CORRECT directories in the correct locations exist as well. Or are the directories in your target-dir the only ones my program creates?
I've pushed a new version. I corrected all the ambiguities present in the path-resolving part of the program and tested it on windows. I really hope that resolves your problems. Please try it.
Beware The jar-name has changed. I now use the maven-assembly plugin to automatically generate the jar. It's still in the target directory...
Start the program, as you would start any jar by typing:
java -jar bulk-makemkv-0.2-jar-with-dependencies.jar
or put these lines in a batch-file (should be more convenient):
java -jar bulk-makemkv-0.2-jar-with-dependencies.jar
pause
So I hope all is well, send an email so that I can send you the key for the game back and happy new year.
Psilo
So here's the output I have. I checked the created directories and the new and temp dirs are created at the right location /Volumes/My_Passport/BULKMKV/
htmac:target htmac$ java -jar bulk-makemkv-0.2-jar-with-dependencies.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: Vacation (2015)
/Applications/MakeMKV.app/Contents/MacOS/makemkvcon mkv iso:/Volumes/My_Passport/BULKMKV/iso/Vacation\ (2015).iso all -r --progress=-same /Volumes/My_Passport/BULKMKV/temp/
MSG:1005,0,1,"MakeMKV v1.9.8 darwin(x86-release) started","%1 started","MakeMKV v1.9.8 darwin(x86-release)"
MSG:5074,0,0,"Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server.","Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server."
PRGT:5018,0,"Scanning CD-ROM devices"
PRGC:5018,0,"Scanning CD-ROM devices"
PRGV:0,0,65536-------]
PRGV:0,0,65536-------]
PRGV:65536,0,65536---]
PRGV:65536,65536,65536
MSG:5042,0,0,"The program can't find any usable optical drives.","The program can't find any usable optical drives."
DRV:0,256,999,0,"","",""
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
Use: makemkvcon [switches] Command [Parameters]
Commands:][----------]
info <source>--------]
prints info about disc
mkv <source> <title id> <destination folder>
saves a single title to mkv file
stream <source>------]
starts streaming server
backup <source> <destination folder>
backs up disc to a hard drive
Source specification:]
iso:<FileName> - open iso image <FileName>
file:<FolderName> - open files in folder <FolderName>
disc:<DiscId> - open disc with id <DiscId> (see list Command)
dev:<DeviceName> - open disc with OS device name <DeviceName>
Switches:][----------]
-r --robot - turn on "robot" mode, see http://www.makemkv.com/developers
[----------][----------] exitValue: 1
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/My_Passport/BULKMKV/iso/Vacation (2015).iso
Empty directories:
/Volumes/My_Passport/BULKMKV/new
/Volumes/My_Passport/BULKMKV/new
/Volumes/My_Passport/BULKMKV/temp
/Volumes/My_Passport/Movies/.TemporaryItems/folders.501
Empty files (files with size zero):
Wrong number of episodes in directory:
Done scanning.
#################################
Done.
Also, the log.err file gives me this error.
Error: Unable to access jarfile bulkMakeMkv.jar
Jup. You have to change your startup-file (it's a batch-file in windows) like I told you in my last reply (please read the last post, especially the part under the title 'BEWARE' ;).
cu, G.
It's weird because I did. Here's my sh file :
cd ~/bulkmakemkv/target/
java -jar bulk-makemkv-0.2-jar-with-dependencies.jar
In any case, I'm starting it manually for testing purposes. I'm basically doing the same thing. I don't understand why it's not converting since it works when I paste the line manually...
Also, you should check at how you format special characters in OSX. I don't know about Windows, but when you want to type parentheses in OSX, you need to precede it with a backslash. Same as the space character. So instead of Vacation\ (2015)
it would be Vacation\ \(2015\)
The log.err is empty btw.
htmac:~ htmac$ cd bulkmakemkv/target/
htmac:target htmac$ java -jar bulk-makemkv-0.2-jar-with-dependencies.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: Vacation (2015)
/Applications/MakeMKV.app/Contents/MacOS/makemkvcon mkv iso:/Volumes/My_Passport/BULKMKV/iso/Vacation\ (2015).iso all -r --progress=-same /Volumes/My_Passport/BULKMKV/temp/
MSG:1005,0,1,"MakeMKV v1.9.8 darwin(x86-release) started","%1 started","MakeMKV v1.9.8 darwin(x86-release)"
MSG:5074,0,0,"Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server.","Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server."
PRGT:5018,0,"Scanning CD-ROM devices"
PRGC:5018,0,"Scanning CD-ROM devices"
PRGV:65536,0,65536---]
PRGV:65536,65536,65536
MSG:5042,0,0,"The program can't find any usable optical drives.","The program can't find any usable optical drives."
DRV:0,256,999,0,"","",""
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
Use: makemkvcon [switches] Command [Parameters]
Commands:][----------]
info <source>--------]
prints info about disc
mkv <source> <title id> <destination folder>
saves a single title to mkv file
stream <source>------]
starts streaming server
backup <source> <destination folder>
backs up disc to a hard drive
Source specification:]
iso:<FileName> - open iso image <FileName>
file:<FolderName> - open files in folder <FolderName>
disc:<DiscId> - open disc with id <DiscId> (see list Command)
dev:<DeviceName> - open disc with OS device name <DeviceName>
Switches:][----------]
-r --robot - turn on "robot" mode, see http://www.makemkv.com/developers
[----------][----------] exitValue: 1
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/My_Passport/BULKMKV/iso/Vacation (2015).iso
Empty directories:
/Volumes/My_Passport/BULKMKV/new
/Volumes/My_Passport/BULKMKV/new
/Volumes/My_Passport/BULKMKV/temp
/Volumes/My_Passport/Movies/.TemporaryItems/folders.501
Empty files (files with size zero):
Wrong number of episodes in directory:
Done scanning.
#################################
Done.
htmac:target htmac$
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.
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.
Thank you.