Giter Club home page Giter Club logo

dcue's Introduction

dcue

DCue is a tool for generating CUE sheets from Discogs data.

The original project was developed by Fluxtion on Sourceforge. It originally used its own implementation of the HTTP protocol based on raw sockets in order to remain dependency-free. However, the Discogs' API HTTP endpoint has been switched off and the API is now accessible only via HTTPS. Since providing a custom HTTPS implementation would require using a SSL library anyway, I went ahead and ported the code to use libcurl (and later wininet). The custom HTTP implementation was removed.

Please report bugs and ideas via the GitHub issue tracker. Thanks!

Compiling

Please note that due to image URLs being available only when the Discogs API is accessed via a registered application identified by its own key and secret, fetching images is only possible when running the official builds. Thus, you will not be able to use this functionality if you compile the application yourself (--cover and --cover-file will be ignored and won't even appear in the help output). If you need a build for another platform, please file an issue.

Also remember to include submodules in your clone : the easiest way to do that is to add --recurse-submodules to the git clone commandline.

Linux

Make sure you have the libcurl headers. Most distributions ship these as a separate package, for example libcurl-dev on Debian and libcurl-devel on Red Hat.

mkdir build
cd build
cmake ..
make

Windows

Just use CMake to generate the build files and build. If you use Visual Studio, chances are everything will work out of the box.

Windows builds use WinInet to access the Discogs API and as such have no curl dependency.

dcue's People

Contributors

gingerbeardman avatar lighterowl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcue's Issues

Missing Artist Elements (e.g. "Feat.")

Just started using DCUE; pretty cool! However, I noticed an issue when there are multiple artists for a single track. For example, when generating CUEs for this album, if the artist is "CLSM Feat. Lisa Abbott" (where CLSM and Lisa Abbott are linked artists), DCUE will drop the "Feat." resulting in "CLSM Lisa Abbott" as the entered artist. Similarly, it will also drop "&" unless it's a part of the linked Artist name itself. DCUE also fails to include a space when listing artists with commas:
"Artist1,Artist2"

It seems this album has a lot of little things like this, so, I'll have a lot of cleanup to do… but, it's still a lot less work than having to generate my own CUE file!

dcue fails with "...no duration, quitting" for releases with hidden tracks

Hi,

First of all, thank you for a great tool. It helped me to fix titles in so many old CD rips!
I've noticed that for releases with hidden/medley tracks which have no duration (like track 12 on disc 2 of https://www.discogs.com/release/13835-Ferry-Corsten-System-F-Trance-Nation-Four )

2.12A | Memnon Featuring Seroya– | Desire (Dub Mix)Remix – The LightVocals – SeroyaRemix – The LightVocals – Seroya | 3:28
2.12B | PQM* Featuring Cica– | The Flying Song (Acapella)Vocals – Cica

dcue fails to generate a CUE file:

$ ./dcue-1.4-lnx-x86_64.AppImage 13835 cd1.mp3
./dcue-1.4-lnx-x86_64.AppImage: /usr/lib64/libcurl.so.4: no version information available (required by ./dcue-1.4-lnx-x86_64.AppImage)
Track 13, disc 2 has no duration, quitting

Thanks

Building on macOS - help needed

I have all the prerequisites (make, curl, libcurl headers)

❯ cmake --version
cmake version 3.27.1

But I am getting some CMAKE errors:

❯ cmake ..
CMake Error at CMakeLists.txt:8 (if):
  if given arguments:

    "STREQUAL" "Debug"

  Unknown arguments specified

I can fix the first one with this hint: EOSIO/eosio.cdt#490 (comment)

...but more errors appear:

❯ cmake ..
CMake Error at CMakeLists.txt:30 (add_subdirectory):
  The source directory

    /Users/matt/Downloads/2023-08-05/dcue-develop/spdlog

  does not contain a CMakeLists.txt file.

And at this point I'm out of my depth.

Any help appreciated.

Add factor for inter-track gaps

Thanks for keeping this application going.

A suggestion based on some recent digitising some old reel-to-reel tapes.
The track timings on Discogs (at least for few that I tried) are for the duration of the song but do not allow for the few seconds of silence between the tracks.
Being able to specify an interval to add to each track (in the case of the current tape I have in my hand it would be 4 seconds) would mean that the subsequent adjustments to make would be minimal.
They still need to be checked but if feels better having to add 1 or 2 seconds instead of thinking that the tape machine is playing slow.

An option to add to the track length or to add a non-track gap could also be useful.
People seem to use INDEX 00 or PREGAP for this sort of thing.

My use is a tape to flac as a single file - so I think I would prefer the gap to be added as extra time to the track rather than as a real gap that would be skipped by a player ... since that is the experience when playing the tape.

Question mark is not replaced in CUE file names despite working with a two-disc release

Running dcue 1681573 'CD?.mp3' should produce CD1.cue and CD2.cue, but only CD?.cue is written, containing the contents of what should be CD2.cue.

For what it's worth, the name of the actual audio file is generated properly inside the CUE itself :

REM GENRE House
REM DATE 1995
REM COMMENT "DCue v1.6dev"
PERFORMER "Boy George And Pete Tong"
TITLE "The Annual"
FILE "CD2.mp3" MP3

Access denied

I had an "Access Denied" when launching the Windows binary in the user folder, did I miss something?
... and at the end windows declares that dcue.exe contains Program:Win32/Uwasson.A!ml

Old to-do list

This is my old to-do list from Sourceforge that I'm pasting here for reference:

  • Allow literal ? via escape character
  • Unicode support on Windows
  • Convert \u escape chars in Discogs JSON to their proper Unicode chars
  • Tidy up the code and do some inline documentation/commenting
  • Improve reliability of multi-disc parsing via empirical development of heuristics
  • More detailed error reporting (perhaps warning of potential problems with output?)
  • Don't trigger naming facets when intentional
  • Offer option to create a single cue file for multi-disc releases

CMake Unknown arguments specified

Hi! I am trying to build dcue on Windows using CMake version 3.29.2
When I do so I get this error:

CMake Error at CMakeLists.txt:8 (if):
if given arguments:

"STREQUAL" "Debug"

Unknown arguments specified

Do I need to use an older version of CMake?

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.