Update config-related docs

This commit is contained in:
Jonathan Cremin 2015-08-20 23:31:56 +01:00
parent 03e2666958
commit 9865441a56
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,8 @@ Make sharing from music services better. We match links from Rdio, Spotify, Deez
* iTunes
* Deezer
* Google Play Music (requires `GOOGLE_EMAIL` and `GOOGLE_PASSWORD`)
* Rdio (requires `RDIO_API_KEY` and `RDIO_API_SHARED`)
* Rdio (requires `RDIO_CLIENT_ID` and `RDIO_CLIENT_SECRET`)
* Xbox Music (requires `XBOX_CLIENT_ID` and `XBOX_CLIENT_SECRET`)
* Youtube (requires `YOUTUBE_KEY`)
Google doesn't provide a public API for Play Music, hence this `GOOGLE_PASSWORD` awfulness. The account also needs to be a Google Play Music All Access subscriber and to have played at least one track on a mobile device. Yeah.

View file

@ -5,8 +5,8 @@ import { match as urlMatch } from './url';
export let id = 'rdio';
if (!process.env.RDIO_CLIENT_ID || !process.env.RDIO_CLIENT_SECRET || !process.env.RDIO_REFRESH_TOKEN) {
console.warn('RDIO_CLIENT_ID, RDIO_REFRESH_TOKEN or RDIO_CLIENT_SECRET environment constiables not found, deactivating Rdio.');
if (!process.env.RDIO_CLIENT_ID || !process.env.RDIO_CLIENT_SECRET) {
console.warn('RDIO_CLIENT_ID or RDIO_CLIENT_SECRET environment constiables not found, deactivating Rdio.');
}
const Rdio = rdioInit({