Control YouTube, streaming sites, media players on your computer using your phone as a remote.

Overview

Media Control

Control Youtube, streaming sites, media players on your computer using your phone as a remote.

Installation

pip install -r requirements.txt

Usage

  • Run python media-control.py and open http://[host_address]:[port] provided in the terminal, on your phone.
  • Make sure the window playing the media is active.

Features

Youtube mode

youtube remote screenshot

  • Play/Pause
  • Seek forward/backward in the video
  • Enable/Disable captions
  • Toggle fullscreen mode
  • Go to next/previous video in a playlist
  • Control Device volume

Universal mode

universal remote screenshot

  • Play/Pause and playing media
  • Go to next/previous media in queue
  • Control Device volume

Working

media-control.py Flask app serves a remote UI in / with /control as the API endpoint for POST requests made by index.js

index.js sends POST requests to the API using fetch with the button id and mode.

controller.py presses the right key/key-combination to control the host device using pynput package.

Server Details

Made using: Flask

flask is running on all addresses in your current network.

Default host address = 0.0.0.0 Default port = 5000

  • Check firewall if port 5000 is allowed or not.
  • Change host to the local IP address of the device you want to control.
  • There is currently no security over this connection, avoid using in a public network.

Tested on Linux

Yet to test: Windows, MacOS

Todo:

  • Authentication
  • SSL for security
Owner
Shreyas Daniel
Python, React (web + native) irl: Gaddam Shreyas
Shreyas Daniel
Parallel TTS web demo based on Flask + Vue (Vuetify).

Parallel TTS web demo based on Flask + Vue (Vuetify).

Atomicoo 34 Dec 16, 2022
Flask-Discord-Bot-Dashboard - A simple discord Bot dashboard created in Flask Python

Flask-Discord-Bot-Dashboard A simple discord Bot dashboard created in Flask Pyth

Ethan 8 Dec 22, 2022
SQL Alchemy dialect for Neo4j

SQL Alchemy dialect for Neo4j This package provides the SQL dialect for Neo4j, using the official JDBC driver (the Neo4j "BI Connector" ) Installation

Beni Ben zikry 8 Jan 02, 2023
The Coodesh Python Backend Challenge (2021) written in Flask

Coodesh Back-end Challenge šŸ… 2021 ID: 917 The Python Back-end Coodesh Challenge Description This API automatically retrieves users from the RandomUse

Marcus Vinicius Pereira 1 Oct 20, 2021
Lightweight library for providing filtering mechanism for your APIs using SQLAlchemy

sqlalchemy-filters-plus is a light-weight extendable library for filtering queries with sqlalchemy. Install pip install sqlalchemy-fitlers-plus Usage

Karami El Mehdi 38 Oct 05, 2022
Source code for backpainfree.org - a Q&A platform similar to StackOverFlow

Source code for backpainfree.org - a Q&A platform similar to StackOverFlow, which is designed specifically for people with back pain problems. Users can ask questions, post answers and comments, vote

Olzhas Arystanov 8 Dec 11, 2022
Flask extension that takes care of API representation and authentication.

Flask-API-Utils Flask-API-Utils helps you to create APIs. It makes responses in appropriate formats, for instance, JSON. All you need to do is to retu

Marsel Mavletkulov 55 Aug 28, 2022
Flask-redmail - Email sending for Flask

Flask Red Mail: Email Sending for Flask Flask extension for Red Mail What is it?

Mikael Koli 11 Sep 23, 2022
A Flask extension that enables or disables features based on configuration.

Flask FeatureFlags This is a Flask extension that adds feature flagging to your applications. This lets you turn parts of your site on or off based on

Rachel Greenfield 131 Sep 26, 2022
Easy file uploads for Flask.

Library that works with Flask & SqlAlchemy to store files on your server & in your database Read the docs: Documentation Installation Please install t

Joe Gasewicz 145 Jan 06, 2023
Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application.

Flask-Bcrypt Flask-Bcrypt is a Flask extension that provides bcrypt hashing utilities for your application. Due to the recent increased prevelance of

Max Countryman 310 Dec 14, 2022
A Flask web application that manages student entries in a SQL database

Student Database App This is a Flask web application that manages student entries in a SQL database. Users can upload a CSV into the SQL database, mak

rebecca 1 Oct 20, 2021
Track requests to your Flask website with Matomo

Flask-Matomo Flask-Matomo is a library which lets you track the requests of your Flask website using Matomo (Piwik). Installation pip install flask-ma

Lucas Hild 13 Jul 14, 2022
Flask app + (html+css+ajax) contain ability add employee and place where employee work - plant or salon

#Manage your employees! With all employee information stored in one place, you no longer have to sift through hoards of spreadsheets to manually searc

Kateryna 1 Dec 22, 2021
A flask template with Bootstrap 4, asset bundling+minification with webpack, starter templates, and registration/authentication.

cookiecutter-flask A Flask template for cookiecutter. (Supports Python ā‰„ 3.6) See this repo for an example project generated from the most recent vers

4.3k Jan 06, 2023
Lux Academy & Data Science East Africa Python Boot Camp, Building and Deploying Flask Application Using Docker Demo App.

Flask and Docker Application Demo A Docker image is a read-only, inert template that comes with instructions for deploying containers. In Docker, ever

Harun Mbaabu Mwenda 11 Oct 29, 2022
Pf-flask-rest-com - Flask REST API Common Implementation by Problem Fighter Library

In the name of God, the Most Gracious, the Most Merciful. PF-Flask-Rest-Com Docu

Problem Fighter 3 Jan 15, 2022
Criando um Bot com PYAUTOGUI e utilizando o Flask para Interface para UsuƔrio

Criando um Bot com PYAUTOGUI e utilizando o Flask para Interface para UsuĆ”rio O pyautogui foi escolhido pela possibilidade de fazer a identificaĆ§Ć£o do

Rodrigo Vital 2 Oct 20, 2021
Flask-template - A simple template for make an flask api

flask-template By GaGoU :3 a simple template for make an flask api notes: you ca

GaGoU 2 Feb 17, 2022
flask-apispec MIT flask-apispec (šŸ„‰24 Ā· ā­ 520) - Build and document REST APIs with Flask and apispec. MIT

flask-apispec flask-apispec is a lightweight tool for building REST APIs in Flask. flask-apispec uses webargs for request parsing, marshmallow for res

Joshua Carp 617 Dec 30, 2022