Skip to content

A Fastapi Server that handles windows media controls which can be controlled from a corresponding React Native App

License

Notifications You must be signed in to change notification settings

doniel-t/win-media-control-app

Repository files navigation

Windows Media Control App ⏯️

Full stack App that enables you to press media control keys on you windows machine such as play/pause, previous/next song and volume controls from your phone.

Perfect when using Youtube Music since it doesnt support Media Controls from the phone unlike Spotify or Apple Music

GitHub GitHub last commit GitHub code size in bytes GitHub top language


Requirements

  • Python 3
  • Windows Machine
  • Pc and Phone need to be in the same network

Getting started 🚀

  1. Clone the repository

    git clone https://github.com/doniel-t/win-media-control-app.git
  2. Start the server on your pc
    Go to the win-media-control-app directory and start startup_script.bat
    Its recommended to add add a script that runs this script to your autostart

    .\startup_script.bat
  3. Grab your hostname from the pc you want to control from your phone

    hostname
  4. Get the APK from here or build it yourself using an expo account

  5. Install the apk on your device and run it

  6. Enter your hostname in the app and try it out! 🚀
    The hostname will be cached so you only need to add it once!

Screenshot of the app

TODO ✅

  • React Native App
  • Use Scrollview instead of static View
  • Cache hostname
  • ios port
  • Music Notification Bar on phone
  • Get song title from winapi and send it to phone
  • Linux port?