{"id":13566939,"url":"https://github.com/SFTtech/videoscreen","last_synced_at":"2025-04-04T00:32:27.983Z","repository":{"id":142753871,"uuid":"51087763","full_name":"SFTtech/videoscreen","owner":"SFTtech","description":"Play submitted links with mpv on a videowall :movie_camera:","archived":false,"fork":false,"pushed_at":"2017-09-30T14:14:16.000Z","size":28,"stargazers_count":24,"open_issues_count":2,"forks_count":5,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-29T20:22:22.701Z","etag":null,"topics":["asyncio","internet","mpv","network","python","remote-control","simple","simple-stupid","videowall"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SFTtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-02-04T16:11:50.000Z","updated_at":"2023-05-15T06:41:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb622a3f-9338-4f4e-a447-963afd8ddc30","html_url":"https://github.com/SFTtech/videoscreen","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SFTtech%2Fvideoscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SFTtech%2Fvideoscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SFTtech%2Fvideoscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SFTtech%2Fvideoscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SFTtech","download_url":"https://codeload.github.com/SFTtech/videoscreen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103290,"owners_count":20884023,"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":["asyncio","internet","mpv","network","python","remote-control","simple","simple-stupid","videowall"],"created_at":"2024-08-01T13:02:20.011Z","updated_at":"2025-04-04T00:32:27.659Z","avatar_url":"https://github.com/SFTtech.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Videoscreen\n===========\n\nListens on a TCP port for incoming media urls.\n\nThe url is opened with mpv and played.\n\nAnother url terminates the previous link.\n\nOptionally, `mpd` can be paused during playback when using `-m`.\n\n\nDependencies\n------------\n\n* Python3\n* [`mpv` player](https://mpv.io/)\n* [`mpc` client](http://www.musicpd.org/clients/mpc/) (optional)\n\n\nInvocation\n----------\n\nTry invoking with `python3 -m videoscreen --help` to see usage and configuration information.\n\n```\npython3 -m videoscreen -- --fs --quiet\n```\n\nAll options after the `--` are passed to mpv.\n\n\nsystemd user service\n--------------------\n\n* Copy or symlink the `etc/videoscreen.service` to `~/.config/systemd/user/`\n* Activate and launch it `systemctl --user enable --now videoscreen.service`\n\n\nUsage\n-----\n\nThe following commands can be issued to the host:\n\nCommand | What\n--------|-----\n`help` | show usage help\n`$video_url` | play video url\n`vol [+-=]$number` | change the system volume\n`exit` | terminate connection\n\n\n### Examples\n\nInvoke the commands by sending to port `60601` of the host:\n\n``` shell\n# play a video\necho \"$video_url\" | nc $host $port\n\n# change volume\necho \"vol +13\" | nc $host $port\necho \"vol 33\" | nc $host $port\necho \"vol -37\" | nc $host $port\n```\n\n\nLicense\n-------\n\nThis tool is licensed under:\n\n`GNU Affero General Public License v3 or later`.\n\nSee [copying.md](copying.md) and [LICENSE](LICENSE) for further information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSFTtech%2Fvideoscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSFTtech%2Fvideoscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSFTtech%2Fvideoscreen/lists"}