Giter Site home page Giter Site logo

fip_mirror's Introduction

FIP_mirror

Scripts mirroring the FIP webradios on lastfm.

Since the FIP redesign, the http://www.fipradio.fr/livemeta containing the metadata in xml format isn't available anymore.

You can find the mirrors on the following lastfm accounts :

Installation

Installation in a virtualenv with pipenv (recommended) :

pipenv install '-e .'

Classic installation :

python setup.py install

You will also have to rename/copy the config_sample.ini to config.ini and fill in your credentials.

Autostarting

A systemd service and its timer are provided in the systemd-service folder. You will have to change the service file to match your configuration.

The timer and the service files allows the script to be run every minute.

cp systemd-service/* ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now FIP_mirror.timer

Help

FIP_mirror -h
usage: FIP_mirror [-h] [--debug] [--no_headless] [--no_posting]
                         [positional_argument]

Mirror the FIP webradios to several services.

optional arguments:
  -h, --help           show this help message and exit
  --debug              Display debugging information.
  --no_headless        Disable headless mode for the selenium browser.
  --no_posting         Disable posting to lastfm.

fip_mirror's People

Contributors

dbeley avatar

Watchers

 avatar  avatar  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.