Migrating to workers, renaming service

This commit is contained in:
Jonathan Cremin 2017-10-23 17:58:23 +01:00
parent 850584ff36
commit a6cd5f4266
29 changed files with 5542 additions and 611 deletions

View file

@ -6,7 +6,7 @@ import 'superagent-bluebird-promise';
import debuglog from 'debug';
import urlMatch from './url';
const debug = debuglog('match.audio:youtube');
const debug = debuglog('combine.fm:youtube');
if (!process.env.YOUTUBE_KEY) {
debug('YOUTUBE_KEY environment variable not found, deactivating Youtube.');
@ -19,7 +19,7 @@ const credentials = {
const apiRoot = 'https://www.googleapis.com/youtube/v3';
const nodebrainz = new Nodebrainz({
userAgent: 'match-audio ( https://match.audio )',
userAgent: 'combine.fm ( https://combine.fm )',
defaultLimit: 10,
retryOn: true,
retryDelay: 3000,