bouncy/index.js
2021-09-03 02:21:16 +03:00

9 lines
No EOL
366 B
JavaScript

const render = require('./render');
const mpris = require('./mpris');
async function main() {
mpris.init(render.error, render.warning, render.info);
setInterval(() => {render.render(mpris.getArtist(), mpris.getAlbum(), mpris.getTitle(), mpris.getSongStart(), mpris.getSongEnd(), mpris.getSongPauseSpot(), mpris.getSongPaused())}, render.refreshrate);
}
main();