Backend for https://xmplaylist.com Scans siriusxm and does a best effort to match songs on spotify. Adds those songs to playlists.
- node > v8
- postgres
npm install- setup config/config.env.ts
- run
npm run setupdbto setup tables
module.exports = {
username: '',
database: 'xm',
password: '',
db: {
host: 'localhost',
dialect: 'postgres',
pool: {
max: 5,
min: 0,
idle: 1000,
},
},
port: 5000,
dsn: false,
spotifyUsername: 'email@gmail.com',
spotifyPassword: 'password',
spotifyClientId: 'clientId',
spotifyClientSecret: 'clientPassword',
location: 'http://localhost:5000',
googleCredentials: 'credentials',
};server
npm start
sirius xm scanner
npm run scanner