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

16 lines
304 B
JavaScript

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