Skip to content

Flask programming exercise from progbook.org to control a music player remotely

Notifications You must be signed in to change notification settings

krungthe/flask_remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_remote

Flask programming exercise from progbook.org to control a music player remotely

To run it you need Python3 and mpv.

  1. $ . venv/bin/activate
  2. $ export FLASK_APP=hello.py
  3. $ flask run --host=0.0.0.0
  4. Check your local network ip address (e.g. 192.168.1.245)
  5. Open a browser on another device and go to that address with ':5000' at the end (e.g. http://192.168.1.245:5000)
  6. You should get a page with two buttons to start and stop playing music
  7. type 'deactivate' on the host computer to exit the virtual environment

About

Flask programming exercise from progbook.org to control a music player remotely

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages