Automatic disc ripper #69
Replies: 11 comments 4 replies
-
|
I like this idea. Looks like a great start. The most reliable way to lookup a disc would be if you can calculate the hash (it is based on the files on the disc as shown here: As for using ImportBuddy - what functionality would you need? ImportBuddy does have a couple of command line arguments it can take to do specific tasks (like finalize a release or fill in the hash for a disc.json file) so we could add more if it makes sense. |
Beta Was this translation helpful? Give feedback.
-
|
Regarding the hash, I'm hesitant because (unless I'm mistaken) you'd need to rip all the files first before they could be identified - the current method will present the "best match" based on times, but then also let you select any other matches (in theory, in practise it's untested because I don't actually know of any two films with the exact same runtime - down to the second - even my 1080p blu-ray UK copy of the collectors edition of avatar doesn't match up with the US 4K blu-ray). The graphql query just uses the runtime of the longest title on the track, but then it will match up every title on the disc against all the titles on all the releases returned by the query and rank them. But if it becomes unreliable then switching to the hash is definitely a possibility. Regarding ImportBuddy - The easiest would be to provide all the information it asks for in the form of command line parameters, so that this program could just present that in a nice gui. I like to imagine you could fill out all the information in the gui and hit a single button and then everything happens automagically under the hood. |
Beta Was this translation helpful? Give feedback.
-
No, you don't need to rip anything. The hash is calculated directly from the file system on the disc itself
Yes! Honestly, the friction of submitting data is thediscdb's biggest problem. I have been working on a design to address this issue but just haven't had the time to build it. I'll have to give some more thought to what it would look like to expose all the possible ImportBuddy inputs to the command line. It sounds like you want to essentially create an alternate GUI for ImportBuddy which isn't how the code is currently built - so it would likely be a big re-design of ImportBuddy |
Beta Was this translation helpful? Give feedback.
-
|
OK so knowing that then yeah the hash is certainly a possibility. Is ImportBuddy also open source on github? Maybe I could help there as well... |
Beta Was this translation helpful? Give feedback.
-
|
Yes, the code is here: https://github.com/TheDiscDb/data/tree/main/tools/ImportBuddy/source/ImportBuddy/ImportBuddy |
Beta Was this translation helpful? Give feedback.
-
|
I've cleaned up the code a bit and submitted it here: https://github.com/DanForever/DiscRipper |
Beta Was this translation helpful? Give feedback.
-
|
@lfoust Sneak preview for you: I actually found I could link the ImportBuddy assemblies and reuse a lot of functionality there (I also had to copy a bunch from the source code too, where it was hardcoded to work off console input, but it works!) The image above is very WIP, but should hopefully simplify a lot of stuff |
Beta Was this translation helpful? Give feedback.
-
|
This looks very useful! I am actually working on an online submission process (no ImportBuddy needed!) which incorporates some of these same ideas |
Beta Was this translation helpful? Give feedback.
-
|
Check this out @lfoust: DanForever@45a3543 This is data generated using my DiscRipper app (which incorporates some of the ImportBuddy assemblies). Most of the data is roughly the same, except for the metadata.json which I think is actually because the imdb functions in ImportBuddy aren't working currently? (Either that or I haven't seen how to enable them, but I think I get the same values just running ImportBuddy directly). Things of note:
|
Beta Was this translation helpful? Give feedback.
-
|
You can try it for yourself now, if you want: https://github.com/DanForever/DiscRipper/releases/tag/0.1.0 |
Beta Was this translation helpful? Give feedback.
-
|
@lfoust I've recently submitted some changes that should make using the app a whole lot more user friendly, so I would love it if you would be able to find the time to run the app and try ripping a disc or adding a new release to the database though it (as opposed to import buddy). I would love to know what you think, and what issues you encounter. I want to avoid posting any screenshots or instructions as I want to get your first impressions (I haven't even written a readme yet) |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I've been working on a little c# program that will read a disc with makemkv and then query TheDiscDb (using graphql) to find any matching discs. It does this by matching the runtimes of the various titles (which is how I believe cd rippers did it when they checked cddb)
It's a little rough and ready, it needs a bunch of UX polish to smooth out the flow though the program, but if the disc is in TheDiscDb, it makes backing up your own media in a plex-friendly way super easy.
I would like to be able to add in the ability for the program to duplicate some of what ImportBuddy does. Either using ImportBuddy via the command line (if that's possible) or recreating the functionality with c#, but this way there's a nice GUI to help
Beta Was this translation helpful? Give feedback.
All reactions