Git Product home page Git Product logo

deezzy's Introduction

deezzy

Lightweight Qml/C++ Deezer Player using Deezer Native SDK (amongst other platorms, it supports ARM Linux).

deezzy has no search/playlist management, it's default goal is to play your user's flow radio, unless you launch it with a specific deezer album/playlist url.

Deezzy

Platforms support

Deezzy has been developped and initially tested on an Ubuntu 16.04LTS box, and then successfully built and tested on a Raspberry Pi 2 with a Tontec 3.5 inches touchscreen. As far as the Deezer Native SDK and Qt SDK are crossplatforms, deezzy should be easily portable to Windows/MacOS.

Deezzy-RPi

Building and Running on the Raspberry Pi:

!! First of all you need a Deezer user account in order to get a valid user id!!!

  1. Download the Deezer Native SDK and clone the deezzy repo (both should be in the same directory):
$ wget https://build-repo.deezer.com/native_sdk/deezer-native-sdk-v1.2.10.zip
$ unzip deezer-native-sdk-v1.2.10.zip
$ git clone https://github.com/blackccpie/deezzy.git
  1. Register your application here if you want to have your own app id, or keep the deezzy app id ("247082"), and authorize your app by getting your access token following this procedure (use following permissions : basic_access,email,manage_library). With these infos, update the private_user.h header with your USER_ID, USER_ACCESS_TOKEN and the USER_CACHE_PATH of your choice.
$ nano deezzy/src/deezer_wrapper/private/private_user.h
  1. make sure you have Qt/Qml and pulseaudio prerequisites installed:
$ sudo apt-get install qt5-qmake qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-layouts
$ sudo apt-get install libpulse-dev
  1. run rpi build script (requires CMake and GCC6):
$ cd deezzy
$ sh build_rpi_gcc6.sh
  1. [Optional] List your audio devices and select the default one:
$ pacmd list-sinks
$ pacmd set-default-sink <YOUR_DEFAULT_SINK_NAME>
  1. Start pulseaudio service
$ pulseaudio -D
  1. Run deezzy binary in flow radio mode or given a deezer url
$ ./deezzy
$ ./deezzy dzmedia:///album/659384

Experimental Raspbian Docker support:

I made some initial tests to run deezzy in a docker container, to simplify deployment and dependencies management. In the docker directory you will find some usefull scripts to build and run an image containing prebuilt deezzy. For now the gui/x11 part is handled, the pulseaudio part is handled too thanks to this project, but there is still a strange bug that seems to "freeze" track play when a new track is starting.

deezzy's People

Contributors

pierreboissinot avatar pboissinot avatar

Watchers

James Cloos 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.