{"id":13740160,"url":"https://github.com/Feqzz/tmux-mpv-info","last_synced_at":"2025-05-08T19:35:44.277Z","repository":{"id":114063732,"uuid":"343903428","full_name":"Feqzz/tmux-mpv-info","owner":"Feqzz","description":"🎵 Displays the current song playing with MPV in your tmux status bar.","archived":false,"fork":false,"pushed_at":"2021-03-15T17:03:06.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T09:44:53.727Z","etag":null,"topics":["jq","mpv-player","shell-script","socat","tmux","tmux-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Feqzz.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}},"created_at":"2021-03-02T20:27:18.000Z","updated_at":"2024-01-15T00:39:03.000Z","dependencies_parsed_at":"2024-01-25T05:49:35.553Z","dependency_job_id":null,"html_url":"https://github.com/Feqzz/tmux-mpv-info","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Feqzz%2Ftmux-mpv-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Feqzz%2Ftmux-mpv-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Feqzz%2Ftmux-mpv-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Feqzz%2Ftmux-mpv-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Feqzz","download_url":"https://codeload.github.com/Feqzz/tmux-mpv-info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253135675,"owners_count":21859680,"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":["jq","mpv-player","shell-script","socat","tmux","tmux-plugin"],"created_at":"2024-08-03T04:00:43.645Z","updated_at":"2025-05-08T19:35:43.960Z","avatar_url":"https://github.com/Feqzz.png","language":"Shell","funding_links":[],"categories":["Status Bar"],"sub_categories":[],"readme":"# tmux-mpv-info\nDisplays the current song playing with MPV in your tmux status bar. When playback is paused, a pause icon is displayed next to the artist.\n![](https://feqzz.no/img/tmux-mpv-info-example.png)\n\n## Installation\nDependencies:\n* socat\n* jq\n\n### Installation with Tmux Plugin Manager\nEdit your `.tmux.conf` and append the plugin to your TPM list.\n\n```tmux\nset -g @plugin 'feqzz/tmux-mpv-info'\n```\nRemember to hit `\u003cprefix\u003e + I` to install the plugin.\n\n### Manual\nClone the repo:\n``` bash\ngit clone https://github.com/feqzz/tmux-mpv-info ~/.tmux/\n```\nEdit your `.tmux.conf` and add this line at the bottom.\n``` bash\nrun-shell ~/.tmux/tmux-mpv-info/tmux-mpv-info.tmux\n```\nLast step is to reload the tmux config file.\n``` bash\ntmux source-file ~/.tmux.conf\n```\n\n## Usage\nEdit your `.tmux.conf` file and add `#{mpv_info}` to your `status-right`. Simple example:\n``` tmux\nset -g status-right \"#{mpv_info}\"\n```\nAs the length of some song titles can be very long, it can be useful to add this line to your `.tmux.conf` to avoid overflow.\n``` tmux\nset -g status-right-length 200\n```\n### MPV\nTo actually use the plugin with mpv, a mpvsocket has to be initiated in /tmp/mpvsocket. This can easily be done by adding this flag:\n``` bash\nmpv song.flac --input-ipc-server=/tmp/mpvsocket\n```\nPersonally I have added this flag permanently to my `mpv.conf`.\n``` bash\ninput-ipc-server=/tmp/mpvsocket\n```\n## License\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFeqzz%2Ftmux-mpv-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFeqzz%2Ftmux-mpv-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFeqzz%2Ftmux-mpv-info/lists"}