Skip to content

gothamtommy/xm-playlist-backend

Repository files navigation

xm-playlist-backend

Backend for https://xmplaylist.com Scans siriusxm and does a best effort to match songs on spotify. Adds those songs to playlists.

build status coverage status

Requirements

  • node > v8
  • postgres
  • npm install
  • setup config/config.env.ts
  • run npm run setupdb to setup tables
example config
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',
};

Run

server

npm start

sirius xm scanner

npm run scanner

About

XM and Sirius radio recently played tracker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors