GithubHelp home page GithubHelp logo

andreapavoni / rbcue2txt Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 18 KB

Parses cue files from Rekordbox's recordings to produce readable, markdown-friendly playlists.

License: MIT License

Rust 100.00%
cli-app cuesheet music rekordbox rust

rbcue2txt's Introduction

RbCue2Txt

CI

Parses cue files from Rekordbox's recordings to produce readable, markdown-friendly playlists.

I needed a similar utility, I've seen there are many of them out there, but I wanted to make a more portable one while playing with Rust.

Usage

rbcue2txt <path to cue file>

By default, it will output the playlist in this format:

- [00:00:02] Giuseppe Surace - Shot You Down (Original Mix)
- [00:03:06] Aldo Cadiz - Tzu-Mani
...
- [00:57:02] Super Flu - Super Flu 3 < Isaac

And in markdown it would look like this:

  • [00:00:02] Giuseppe Surace - Shot You Down (Original Mix)
  • [00:03:06] Aldo Cadiz - Tzu-Mani

...

  • [00:57:02] Super Flu - Super Flu 3 < Isaac

However, you can also pass a desired output format as second argument, by following these rules:

  • %A: artist name
  • %T: time
  • %N: title

So, for example, calling rbcue2txt <path to cue file> "%A - %N" will produce this output:

Giuseppe Surace - Shot You Down (Original Mix)
Aldo Cadiz - Tzu-Mani
...
Super Flu - Super Flu 3 < Isaac

Notes

Tested against Rekordbox 6 cue sheets on MacOS.

Installation

Precompiled binaries

Download the binary for your platform from https://github.com/andreapavoni/rbcue2txt/releases.

From sources

  • clone this repository: git clone https://github.com/andreapavoni/rbcue2txt.git
  • cd into the directory: cd rbcue2txt
  • test: cargo test
  • build: cargo build --release
  • Move the binary to /usr/local/bin: mv target/release/rbcue2txt /usr/local/bin/rbcue2txt

Credits

The authors of rekordbox-cue-to-txt for their original work in JS.


©2023 a pavonz joint

rbcue2txt's People

Contributors

andreapavoni avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.