Windows One Button DVD/BluRay Ripping using a Launcher from within XBMC

  Thread Rating:
  • 8 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Spinalcrack Offline
Senior Member
Posts: 105
Joined: Jul 2011
Reputation: 9
Post: #291
Ya all you can really do in this case is delete one of the rips in xbmc after it completes as both streams are valid from MakeMKV's point of view.
find quote
Encompassed Offline
Junior Member
Posts: 5
Joined: Apr 2013
Reputation: 0
Post: #292
Thank you both for the response. I should have re-posted earlier because I found out some of the same. It only does it on certain discs and I was just lucky enough that all 3 of the discs I was testing with had these dual titles.

The 4th and 5th discs I tried worked great and I've been rolling ever since...
find quote
Spinalcrack Offline
Senior Member
Posts: 105
Joined: Jul 2011
Reputation: 9
Post: #293
(2013-04-22 04:03)Encompassed Wrote:  Thank you both for the response. I should have re-posted earlier because I found out some of the same. It only does it on certain discs and I was just lucky enough that all 3 of the discs I was testing with had these dual titles.

The 4th and 5th discs I tried worked great and I've been rolling ever since...

Woot! Awesome!
find quote
mdbennett3 Offline
Junior Member
Posts: 1
Joined: May 2013
Reputation: 0
Post: #294
Spinalcrack - I'm having an issue with the naming of the file after the movie is ripped. Is there a way the file name can be saved as the actual movie name? Wanting to change the output file name and remove the 01 or 001 that is listed in the file name...

Thanks in advance!
find quote
Spinalcrack Offline
Senior Member
Posts: 105
Joined: Jul 2011
Reputation: 9
Post: #295
(2013-05-17 15:38)mdbennett3 Wrote:  Spinalcrack - I'm having an issue with the naming of the file after the movie is ripped. Is there a way the file name can be saved as the actual movie name? Wanting to change the output file name and remove the 01 or 001 that is listed in the file name...

Thanks in advance!

The reason that the file name has the numbers on the end is because MakeMKV will rip any stream over the minimum rip length you set in the options. So if there is say 3 streams it will create title01, title02, title03. The script then changes title to the name of the movie and puts an underscore between it and the number. If it removed the number, only the last stream would be saved as each would overwrite each other. You would also probably have to code in error handling to the script as it would warn that a file with that name already exists. If you want to play around with it you can change this part at the bottom of the script

Code:
:rename
::Cuts off 1st 5 characters of fname, then appends prefix
ren %fname% "%volid%"_%fname:~5%

The 5 characters are the letters of "title" that MakeMKV creates. If you change it to read:

Code:
:rename
::Cuts off 1st 5 characters of fname, then appends prefix
ren %fname% "%volid%"%fname:~7%

That in theory should remove 7 letters and replace it with the volume name of the CD which is normally the movie title. So instead of "title01" becoming "STAR_TREK_01", it would become "STAR_TREK".

If there is only one stream it will work out fine. If there are two streams you will have "title01" become "STAR_TREK" and "title02" try to become "STAR_TREK" and generate an error that currently won't be handled by the script well.

Can I ask why you want to remove the numbering? It should not affect XBMC from adding it to the library correctly at all.
(This post was last modified: 2013-05-17 16:14 by Spinalcrack.)
find quote
twoguns2013 Offline
Junior Member
Posts: 1
Joined: May 2013
Reputation: 0
Post: #296
I am relatively new to XBMC and media centers in general. I have attempted to download the program AutoRipDVD executable from several sources and found that the files were infected with a Trojan horse. I was successful at copying the script file from the original post and have pasted it into notepad and saved it as a .bat file. This has worked very well. It appears that you have made numerous enhancements to the original file and I would like to capture your most recent posting so that I am using the most up to date code.

Finally, you may want to check each of the files on the various download sites that you have mentioned throughout the thread and make sure that the files are representative of the fine product that you have taken the time to code.

Thank you so much for your contribution to this community.
find quote
Spinalcrack Offline
Senior Member
Posts: 105
Joined: Jul 2011
Reputation: 9
Post: #297
There is no Trojan. It's a false positive. You can open each file and look at the source. Nothing malicious at all. Some virus scanner just do not like script files that give the splash screens but I assure you, there is no virus in these files.
find quote
Post Reply