bouncy/index.js

9 lines
366 B
JavaScript
Raw Normal View History

2021-09-02 23:21:16 +00:00
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();