Serato Crate Exporter v0.3 with new GUI + nested crate support

this latest version now displays Serato crates and will convert all nested crates, if parent crate is selected:



The latest version will no longer run on JRE 8 and requires JRE 11 or better (can be downloaded for free from OpenJDK or AdoptOpenJDK)

source code and executable jar here:
https://gitlab.com/eladmaz/SeratoCrateExporter

Quick start:
* download jar
* open terminal and execute jar:
java -jar serato-crate-exporter-0.3-SNAPSHOT-jar-with-dependencies.jar

all comments/questions welcomed!

Comments

  1. This looks like the perfect tool for me.

    Can you help me run it please, I am getting the following error.

    C:\Users\fred\Desktop\serato python>where java
    C:\Program Files\AdoptOpenJDK\jdk-11.0.9.101-hotspot\bin\java.exe
    C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe

    C:\Users\fred\Desktop\serato python>java -jar serato-crate-exporter-0.3-SNAPSHOT-jar-with-dependencies.jar
    [INFO] AsyncEventHub: service registered: [SystemInfoValidatorService]
    [INFO] SystemInfoValidatorService:
    System Info:
    date/time: 11/28/2020 18:24:19
    java.runtime.name: OpenJDK Runtime Environment
    user.country: GB
    user.dir: C:\Users\fred\Desktop\serato python
    java.runtime.version: 11.0.9.1+1
    java.version: 11.0.9.1
    os.arch: amd64
    os.name / os.version: Windows 10 / 10.0
    file.encoding: Cp1252

    [INFO] AsyncEventHub: service registered: [FileWriterService]
    [INFO] AsyncEventHub: service registered: [CrateConvertService]
    [INFO] AsyncEventHub: service registered: [BytesToCrateConverterService]
    [INFO] AsyncEventHub: service registered: [CrateToTextService]
    [INFO] AsyncEventHub: service registered: [CrateExporterGuiService]
    Graphics Device initialization failed for : d3d, sw
    Error initializing QuantumRenderer: no suitable pipeline found
    java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
    at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
    at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:244)
    at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:260)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
    at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
    at java.base/java.lang.Thread.run(Thread.java:834)
    Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
    at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
    at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
    ... 1 more
    Exception in thread "THREAD - class org.ssldev.crateexporter.services.CrateExporterGuiService GUI launch service" java.lang.RuntimeException: No toolkit found
    at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:272)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
    at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
    at java.base/java.lang.Thread.run(Thread.java:834)

    C:\Users\fred\Desktop\serato python>
    C:\Users\fred\Desktop\serato python>




    ReplyDelete
  2. hi,

    Seems to be an issue when running JavaFX apps on Windows:
    https://stackoverflow.com/questions/55561986/how-to-solve-the-graphics-device-initialization-failed-for-d3d-sw-problem

    based on the SO link above, there are 2 things I can think of to try in the short term:

    1) I added additional modules to the app as suggested by SO
    - download and run the latest 0.3.1 jar from the repo:
    https://gitlab.com/eladmaz/SeratoCrateExporter/-/blob/2-javafx-windows-runtime-exception-graphics-device-initialization-failed-for-d3d-sw/serato-crate-exporter-0.3.1-SNAPSHOT-jar-with-dependencies.jar

    if that doesn't work you can:
    2) Try manually adding a java library path to the javafx binaries, as suggested by SO
    - download the windows JavaFX 11
    - https://gluonhq.com/products/javafx/
    - specify a path to the binaries when running the app:
    - java -jar /serato-crate-exporter-0.3-SNAPSHOT-jar-with-dependencies.jar -Djava.library.path='/javafx-sdk-11.0.2/lib'

    I captured your issue in the repo so it can hopefully help others. Please let me know if either solutions helped you:
    https://gitlab.com/eladmaz/SeratoCrateExporter/-/issues/2

    I have an idea for a longer term solution (create a windows exe installer) but it'll prob be a while before I can get around to work on it.

    Hope this helps!

    ReplyDelete

Post a Comment

Popular posts from this blog

New and Improved Serato Crate Exporter (with m3u support)

Serato Play Counts Migration Tool