pi-rfid-jukebox/jukebox/media-player.js

16 lines
328 B
JavaScript

"use strict";
const ChildProcessEmitter = require('./child-process').ChildProcessEmitter;
class MediaPlayer extends ChildProcessEmitter {
constructor(config, logger) {
super(config.mpg321);
}
}
module.exports = function(config, logger) {
return new MediaPlayer(config, logger);
};
// vim:set ts=2 sw=2 et: