{"id":15288213,"url":"https://github.com/shloksonkusare/mediamaster","last_synced_at":"2026-05-02T14:43:26.550Z","repository":{"id":251081631,"uuid":"836325384","full_name":"shloksonkusare/MediaMaster","owner":"shloksonkusare","description":"MediaMaster Control is a project that allows users to manage media playback, including images and videos, through a web server. It utilizes Python and PowerShell scripts to control the playback of media files on a local machine using VLC Media Player.","archived":false,"fork":false,"pushed_at":"2024-07-31T16:31:39.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T11:11:15.590Z","etag":null,"topics":["http-server","powershell","python3","webserver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shloksonkusare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-31T15:54:37.000Z","updated_at":"2024-07-31T16:36:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"fac8deef-0db7-461d-89d7-22dd5ea3f56b","html_url":"https://github.com/shloksonkusare/MediaMaster","commit_stats":null,"previous_names":["shloksonkusare/mediamaster"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shloksonkusare%2FMediaMaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shloksonkusare%2FMediaMaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shloksonkusare%2FMediaMaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shloksonkusare%2FMediaMaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shloksonkusare","download_url":"https://codeload.github.com/shloksonkusare/MediaMaster/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212304,"owners_count":20578443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http-server","powershell","python3","webserver"],"created_at":"2024-09-30T15:44:45.522Z","updated_at":"2026-05-02T14:43:26.484Z","avatar_url":"https://github.com/shloksonkusare.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediaMaster Control\n\n## Overview\nMediaMaster Control is a project that allows users to manage media playback, including images and videos, through a web server. It utilizes Python and PowerShell scripts to control the playback of media files on a local machine using VLC Media Player.\n\n## Features\n- **Run Videos**: Play the videos on the VLC Media Player with the options of fullscreen and looping.\n- **Display Images**: Show images in fullscreen mode in VLC Media Player.\n- **Stop Media**: Stop all the media running playback and all associated processes.\n- **Stop Python processes**: Stop all the python processes with a single command.\n- **System Shutdown**: Initiate system shutdown through the web interface.\n\n## Technologies Used\n1. **Python**: For the web server and handling the HTTP requests.\n2. **PowerShell**: For executing the media playback commands and controlling the system.\n3. **VLC Media Player**: For playing video or image files.\n4. **HTTP Server**: to accept requests and manage media playback.\n\n## Installation\n### Prerequisites\n- **Python**: Ensure Python is installed in your machine.\n- **VLC Media Player**.\n- **PowerShell**.\n\n## Set up Scripts:\n- **start.bat**: Initializes the python program, this file is helpful when we have to execute the python program during certain events like Power ON, etc.\n- **run_hidden.vbs**: This file ensures that the start.bat file should be executed in the background, without opening the terminal. \n- **play_video.ps1**: Script to play videos in fullscreen and in looping manner.\n- **image.ps1**: Script to display images in fullscreen and in looping manner.\n- **stop.ps1**: Script to stop the execution of current video or image on the system.\n- **abort.ps1**: Script to stop the execution of the python programs in the system.\n- **shutdown.ps1**: Script to shut down the system forcefully.\n\n## Usage\n\n### Starting the Server\nTo start the server, execute the python file in the command prompt.\n```python server.py```\nThe server will start and listen for requests on the local IP address at port _8080_.\n\n### Sending Requests\n1. Run a Video:\n```http://\u003cserver_ip\u003e:8080/?action=run\u0026path=C:\\path\\to\\video.mp4```\n2. Display an Image:\n```http://\u003cserver_ip\u003e:8080/?action=run\u0026path=C:\\path\\to\\image.jpg```\n3. Execute a PowerShell Script:\n```http://\u003cserver_ip\u003e:8080/?action=run\u0026path=C:\\path\\to\\script.ps1```\n\n## Troubleshooting\n**Execution Policy:** If you encounter execution policy errors when running PowerShell scripts, you can bypass the policy temporarily using:\n```Set-ExecutionPolicy Bypass```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshloksonkusare%2Fmediamaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshloksonkusare%2Fmediamaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshloksonkusare%2Fmediamaster/lists"}