Coder Social home page Coder Social logo

lazyremote's Introduction

LazyRemote

Picture this, you are watching a series/movie on you PC and to enjoy the content better you switch from your uncomfortable chair to your bed only to realize the volume is too low or you missed a scene while munching on chips. This has happened to the best of us. But, fret not for now we have LazyRemote.

Usage:

  • Run the python script in the background. Open up the host webpage(address displayed on the terminal or scan QR) on your phone and Voila, all the necessary media controls on your PHONE!!!
  • But, what if other people open the host webpage and start tinkering with your controls? Don't worry! LazyRemote has you covered, when accessing your host webpage, enter the REFERENCE number that is generated randomly every session. So, no one can control your PC except for YOU!
  • Take a look at the images below to get a better idea!

NOTE: Make sure both your phone and your PC are on the same network.

Requirements:

  • python 3.6+ available at: https://www.python.org/downloads/
  • And, everything in the requirements.txt file. Run: pip install -r requirements.txt
  • MOST IMPORTANTLY, this has only been tested on Windows. Don't know if it'll work on Linux/MacOS.
  • FINALLY, to be a lazy bum.

Images:

Terminal:

Your Phone:

LazyRemote

LazyRemote-Mouse

Installation and Running:

  • Install Python from: (Download the latest version AND make sure you check 'Add Python to PATH checkbox while installing') https://www.python.org/downloads/
  • Download this repo as a zip (click on the green button that says 'Code' above) and extract to any suitable location.
  • Open a command prompt inside the folder LazyRemote-main (Where you extracted the zip contents). Note: You can cd to the said folder in any command prompt window or type in cmd in the location specifier up top once you're in the folder.
  • Run pip install -r requirements.txt on the command prompt window to install all the dependencies.
  • With everything set up, run python app.py to launch the program and access the host (refer the pictures) with your mobile device (now, your LazyRemote)
  • Leave the program running in the background while you stream your content.
  • Once you want to stop, click on the command prompt window you left running and press CTRL + C
  • Next time you want to use the service, open up a command prompt window in the said folder like before, and run python app.py and follow the on-screen instructions.
  • Embrace being Lazy

NOTE: Make sure both your phone and your PC are on the same network.

Bonus:

Add the folder to your PATH variable, instruction: Running Python Scripts from anywhere under Windows

After doing this, you'll be able to run the script from any command prompt window, just type app.py

Use-cases:

Apart from having to change volume and seeking to a missed part, LazyRemote can also:

  • Pause/Play content using the SPACE key
  • Allow seeking to a particular point using the ENTER key (Useful on Netflix)
  • Use the mouse to control your mouse-pointer as you would on a trackpad
  • And, if you are watching something you shouldn't, LazyRemote can also trigger a hotkey (CTRL+F4) to close the current tab (works on Chrome)

lazyremote's People

Contributors

shashankshirol avatar

Stargazers

William avatar  avatar Hasan avatar Shantanu Oak avatar Baptiste Rousseau avatar  avatar Jordan Gunn avatar Luigi Crisci avatar Manuel Pepe avatar  avatar Vedant Keshav Jadhav avatar  avatar Tanjeet Sarkar avatar Nathanael Mtz. avatar $hoot->Pairs avatar evan slack avatar Ty Chermsirivatana avatar  avatar Eduardo Roldan avatar Benoît Durand avatar Sorab Pithawala avatar  avatar RaKunt avatar  avatar Oliver Drechsler avatar kakaiba™ avatar  avatar OofChair avatar Matúš Košík avatar Bell avatar Sheldon Rupp avatar Howe Yong avatar Exuper O. avatar Carlos Bustillo avatar  avatar Mauricio Uribe avatar Manny Toledo avatar Rodolfo Ferro avatar  avatar Varlen Pavani Neto avatar vnom avatar Dustin avatar Jacob H avatar  avatar  avatar  avatar Roshan Jacob Manoj avatar

Watchers

James Cloos avatar  avatar

lazyremote's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.