Giter VIP home page Giter VIP logo

rivendell-spinitron-update's Introduction

Rivendell - Spintron Update

WMFO - Tufts Freeform Radio
[email protected]
For copyrights and licensing, see TERMS and COPYING.

This is a Rivendell Loadable Module made to report the current playing song metadata to Spinitron. It was orginally made for Rivendell 1.5 and has been updated to work with Rivendell 2.

Before use, revert to the latest known good version. These are numbered using git tag.
Add your Spinitron credentials to credentials-dummy.h and rename it credentials.h.
You may also need to change the symlink rlm.h to point to the correct location in your install.
If you don't want to log the cart number in the notes field, change LOG_CART_NUM to 0.
Compile using make all to produce rlm_spinitron.rlm.
Optionally, install the file to another directory with make install.
Runtime configurtaion is done at RDAdmin->ManageHosts->select the host->Edit-> RDAirplay->EditNow&NextData and specify the path to the file. Restart RDAirplay.

Please note: when the on-air signal is on, the module posts to the current playlist of the active Spinitron user; when it is off, it posts to the account provided in the parameters. This was made to support automated playback when no 'live' Spinitron user is logged in. It effectively logs all automated playlists under a 'fake' automated user. This user should be set up in Spinitron just like a regular user. We use a Macro cart on the Rivendell cart screen to turn Automation 'on' or 'off' and switch between the active DJ and the automation user.

You need to ask Tom at Spinitron ([email protected]) to enable automation access. It is a security measure. When you ask for access, Spinitron configures an access control that allows only those machines that you nominate to log spins into your Spinitron database.

Changelog

###05/12/11 Initial version. - Benjamin Yu and Eric Berg

###07/12/12 Move credentials to new file, prepare documentation, Makefile. As few modifications as possible. - Max Goldstein

###07/15/12 Refactor code, particularly for safe string functions. - Max Goldstein

###07/29/12 Fix bug where sepcial characters such as & would not be escaped properly. Makefile now keeps a backup during install and replaces it on uninstall. - Max Goldstein

###08/12/12 Fix bug where script would never log as DJ with open playlist. curl now times out instead of freezing RDAirplay. - Max Goldstein

###9/25/12 Restrict access to files containing credentials automatically in the Makefile. - Max Goldstein

###10/13/12 Add logging cart number to notes field. - Max Goldstein

###10/15/12 Add tag for known-good commit. Update README. - Max Goldstein

###11/21/12 New known-good commit. Optionally logs cart numbers, curl times out. - Max Goldstein

rivendell-spinitron-update's People

Contributors

asayler avatar mgold avatar tom-- avatar wmfo-ops avatar

Watchers

 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.