Giter Club home page Giter Club logo

sagger's Introduction

Sagger

As in Simple Audio Tagger and anti-tank guided missle is a simple program for audio files tagging using Chromaprint library (via fpcalc) and AcoustID service with MusicBrainz metadata. Both GUI (GTK+) and CLI are supported with simple configuration settings allowing to set source and target directory to which all the files will be copied using given directory and file naming scheme. For now only these values are changed so Sagger is not a "true" tagger in a sense that no additional file metadata will be set. Sagger is fault-tolerant for basic errors like wrong permissions and no Internet access and to my knowledge no data should be lost while using this software however it is still in early phase of development so it is strongly advised not to use it with data of which you have no backup copy.

Usage

Remember to fill YOUR_KEY variable from run.c with valid API key from AcoustID

If you run Sagger with no additional arguments, it will assume that you want to use GUI mode.

For CLI mode:

sagger [OPTIONS] SOURCE_DIRECTORY TARGET_DIRECTORY

Where options are:

  • -album/-artist/-both choose what to include in directory name and filename. Two arguments are mandatory, song name is included in filename each time.
  • -h/--help print help
  • -v/--version print version number and license

Sample

sagger -both -artist ~/Music/source ~/Music/dir

Dependencies with respective package names:

  • GTK3 (libgtk-3-dev)
  • libcurl (libcurl4-gnutls-dev)
  • json-glib (libjson-glib-dev)
  • fpcalc (libchromaprint-tools)
  • cmake (for now my cmake file is very basic, please report if it does not work in your environement or you know the oldest library version for which Sagger will compile)

I have not checked minimum versions for libraries but anything not older than what is shipped with Ubuntu 19.10 (with CMake 3.15) should work.

Closing notes

Take note that this is my first CS project. It serves it's purpose but despite my best efforts it may contain code not following established coding patters or outright ugly. If you notice parts fitting this description please file an issue or prepare pull request and I will review them all but if you are in need of mature versatile project to use in production environment you may also want to check out out other Music Brainz enabled software

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.