Code Monkey home page Code Monkey logo

srip's Introduction

About

This tools runs and sniff's dbus messages which are sent from media players to the gnome shell desktop audio controls. From this is can extract the artist, song names. This means it can rip music from most audio players as well as prevent recording adverts from such media players since this information if often left blank.

It works for what I need it to do. Please raise issues / send patch's if you have problems. But for now I won't be supporting an enviroment other than gnome

Compiling

This should compile on ubuntu 18.04 and probably many others.

Just run the following

./autogen.sh && make

Note: you need to have these packages installed to build and run srip.

autoconf autoconf-archive libtool-bin gstreamer1.0-tools gstreamer1.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio libjsoncpp-dev libdbus-1-dev libjson-glib-dev

Usage

It supports --help

Usage: ./src/srip

-h --help Print this help -d --debug Switch on debug level logging -V --version Print version and exit

--output-wav         Output to wav file
--output-lame        Output to mp3 file using lame encoder
--output-scopebasic  Output to a basic scope (graphics)

One of more output options can be used at the same time. Outputs that produce files will store the output files in the current working directory.

At some point you will also need to open pauvcontrol and change the pulse audio recording configuration (under the record tab) so that it can monitor the audio output audio. This step should be automated by the program but I have not implemented that yet

Note: Nothing will be output until it detects the start of a new songs.

srip's People

Contributors

mistralol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

relnod

srip's Issues

Unable to compile

I get the following error when I run ./autogen.sh && make on a new install of ubuntu 18.04

configure.ac:12: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:19: error: possibly undefined macro: AC_SUBST
configure.ac:36: error: possibly undefined macro: AC_MSG_ERROR
autoreconf: /usr/bin/autoconf failed with exit status: 1
configure: error: cannot find install-sh, install.sh, or shtool in config "."/config

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.