LinusU / node-loudness

🔊 A node.js library to control the systems output volume
MIT License
125 stars 40 forks source link

Enabled http request to set volume level and toggle mute state #3

Closed gtrrz-victor closed 7 years ago

gtrrz-victor commented 7 years ago

Created new file ubuntu_14.04.js which allow set volume level and toggle mute state on ubuntu 14.04 OS. Created app.js which execute express to listen on 8080 port to convert http petitions to specific operations

LinusU commented 7 years ago

Hello, I think that the proper place for a http server would be in a separate package. That way people who just wants to control the volume won't have to install express. What do you think about that?

Also, could you explain the index_reduced.js file, I don't see why it's needed?

gtrrz-victor commented 7 years ago

Hello. Your are right. It is better do the http control in a separate package. About index_reduced.js exists only because i think what is easier manage mute option as a toggle function.