Update config-related docs
This commit is contained in:
parent
03e2666958
commit
9865441a56
2 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,8 @@ Make sharing from music services better. We match links from Rdio, Spotify, Deez
|
||||||
* iTunes
|
* iTunes
|
||||||
* Deezer
|
* Deezer
|
||||||
* Google Play Music (requires `GOOGLE_EMAIL` and `GOOGLE_PASSWORD`)
|
* 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`)
|
* 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.
|
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.
|
||||||
|
|
|
@ -5,8 +5,8 @@ import { match as urlMatch } from './url';
|
||||||
|
|
||||||
export let id = 'rdio';
|
export let id = 'rdio';
|
||||||
|
|
||||||
if (!process.env.RDIO_CLIENT_ID || !process.env.RDIO_CLIENT_SECRET || !process.env.RDIO_REFRESH_TOKEN) {
|
if (!process.env.RDIO_CLIENT_ID || !process.env.RDIO_CLIENT_SECRET) {
|
||||||
console.warn('RDIO_CLIENT_ID, RDIO_REFRESH_TOKEN or RDIO_CLIENT_SECRET environment constiables not found, deactivating Rdio.');
|
console.warn('RDIO_CLIENT_ID or RDIO_CLIENT_SECRET environment constiables not found, deactivating Rdio.');
|
||||||
}
|
}
|
||||||
|
|
||||||
const Rdio = rdioInit({
|
const Rdio = rdioInit({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue