{"id":13835551,"url":"https://github.com/Thann/play-with-mpv","last_synced_at":"2025-07-10T08:30:32.015Z","repository":{"id":45564182,"uuid":"95827633","full_name":"Thann/play-with-mpv","owner":"Thann","description":"Chrome extension that allows you to play videos in webpages like youtube with MPV instead","archived":false,"fork":false,"pushed_at":"2024-06-08T04:34:25.000Z","size":627,"stargazers_count":351,"open_issues_count":54,"forks_count":81,"subscribers_count":45,"default_branch":"master","last_synced_at":"2024-11-20T20:39:17.456Z","etag":null,"topics":["chrome-extension","freedom","mpv","video-player"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/play-with-mpv/hahklcmnfgffdlchjigehabfbiigleji","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Thann.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,"publiccode":null,"codemeta":null}},"created_at":"2017-06-29T23:08:51.000Z","updated_at":"2024-10-26T16:28:19.000Z","dependencies_parsed_at":"2024-11-20T20:33:54.407Z","dependency_job_id":"142a046f-8b88-4376-917c-eb33dd1a7200","html_url":"https://github.com/Thann/play-with-mpv","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Thann/play-with-mpv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thann%2Fplay-with-mpv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thann%2Fplay-with-mpv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thann%2Fplay-with-mpv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thann%2Fplay-with-mpv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thann","download_url":"https://codeload.github.com/Thann/play-with-mpv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thann%2Fplay-with-mpv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264551644,"owners_count":23626536,"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":["chrome-extension","freedom","mpv","video-player"],"created_at":"2024-08-04T14:01:04.937Z","updated_at":"2025-07-10T08:30:31.726Z","avatar_url":"https://github.com/Thann.png","language":"JavaScript","funding_links":[],"categories":["Other"],"sub_categories":[],"readme":"# Play with MPV\nChrome extension and python server that allows you to play videos in webpages with MPV instead.  \nWorks on [hundreds of sites](https://rg3.github.io/youtube-dl/supportedsites.html) thanks to youtube-dl,\nand even torrents if you install [peerflix](https://github.com/mafintosh/peerflix).\n\n## Installation\n1. Install [MPV](https://mpv.io/installation/)\n2. Install [python 2 or 3](https://www.python.org/downloads/) and [pip](https://pip.pypa.io/en/stable/installing/)\n3. Install [chrome extension](https://chrome.google.com/webstore/detail/play-with-mpv/hahklcmnfgffdlchjigehabfbiigleji)\n4. Run `pip install git+git://github.com/thann/play-with-mpv --user`\n5. Start server by running `play-with-mpv` (or use the Linux _free desktop_ shortcut)\n\n(optional) Install [fair-use](https://chrome.google.com/webstore/detail/fair-use-download/fhokdginneihphnneihijgbhbdoehjaj) extension.  \n(optional) Install [peerflix](https://github.com/mafintosh/peerflix) to stream torrents.  \n(optional) Install [mkchromecast](http://mkchromecast.com/) `pip install git+git://github.com/muammar/mkchromecast --user`\nand [extension](https://chrome.google.com/webstore/detail/edeepcccaejnnodlpmcoackkdgaijakg).  \n(recommended) Install youtube-dl through your package manager for frequent updates.  \n(Arch Linux) [aur package](https://aur.archlinux.org/packages/play-with-mpv-git) available.\n\n## Usage\nRight-click [this link](https://www.youtube.com/watch?v=dQw4w9WgXcQ) and select \"Play with MPV\".\nMPV should popup and start playing the video. (Ctrl+Space also works)\n\n![screenshot](https://github.com/thann/play-with-mpv/raw/master/screenshot.png)\n\n## Autostart\n- Linux: `cp {/usr,~/.local}/share/applications/thann.play-with-mpv.desktop ~/.config/autostart`\n- MacOS: [instructions](https://stackoverflow.com/questions/29338066/mac-osx-execute-a-python-script-at-startup)\n- Windows [instructions](https://stackoverflow.com/questions/4438020/how-to-start-a-python-file-while-windows-starts)\n\n## Protips\nMPV is [highly configurable](https://mpv.io/manual/stable/), this is just how I like to use it.\n\nTo start in the corner, have no border, and stay on top: edit `~/.config/mpv/mpv.conf`\n```\nontop=yes\nborder=no\nwindow-scale=0.4\ngeometry=100%:100%\n```\n\nIn order to resize the window without borders, add keybinds: edit `~/.config/mpv/input.conf`\n```\n` cycle border\nALT+UP add window-scale 0.05\nALT+DOWN add window-scale -0.05\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThann%2Fplay-with-mpv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FThann%2Fplay-with-mpv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThann%2Fplay-with-mpv/lists"}