title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Batch ripper custom loader using python script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dot3389503

    • Jun 2024
    • 3

    Batch ripper custom loader using python script?

    Hi all,

    I have been doing work to "reverse engineer" the Epson PP100, which uses USB HID commands to control the disc arm. I have written some python scripts that are able to successfully control the device. Is there any option for me to call python commands from a custom "loader configuration"? I see they are hard coded to fire a load.exe, unload.exe, etc file but I'm looking to run a more basic command line to kick off a python script. Any leads on how this could be possible would be appreciated!

    Thank you,
  • Spoon
    Administrator
    • Apr 2002
    • 44578

    #2
    You could run cmd.exe (rename it to load unload, etc) and pass the command line of the application you wanted to run, be it a batch file, or script.
    Spoon
    www.dbpoweramp.com

    Comment

    • dot3389503

      • Jun 2024
      • 3

      #3
      That's a good thought. I actually settled on doing the same idea but with Nirsoft Nircmd https://www.nirsoft.net/utils/nircmd.html

      Still getting my script ready so haven't been able to test fully just yet.

      Comment

      • dot3389503

        • Jun 2024
        • 3

        #4
        Originally posted by dot3389503
        That's a good thought. I actually settled on doing the same idea but with Nirsoft Nircmd https://www.nirsoft.net/utils/nircmd.html

        Still getting my script ready so haven't been able to test fully just yet.
        Small update I found I can use a library to compile the python code into an EXE and be able to read params from the command line! Running some tests but it seems like I got things working really well.

        Comment

        • xadonxander

          • Nov 2024
          • 3

          #5
          You can copy your python.exe file from the program files directory, rename it unload.exe and put it in the unload directory then call whatever script in the unload settings. Is there a way to pass variables through to the command line like --accuraterip status so we can have a loader put the disk in a rerip pile?

          Comment

          Working...

          ]]>