{"id":17160188,"url":"https://github.com/obfusk/m-gui","last_synced_at":"2026-05-08T13:45:49.973Z","repository":{"id":57442447,"uuid":"148261763","full_name":"obfusk/m-gui","owner":"obfusk","description":"m - minimalistic media manager - GUI","archived":false,"fork":false,"pushed_at":"2018-10-01T15:21:29.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T09:05:47.038Z","etag":null,"topics":["gtk","gui","media","mpv","video","vlc"],"latest_commit_sha":null,"homepage":"https://obfusk.ch/m/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obfusk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.GPLv3","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-11T04:48:28.000Z","updated_at":"2022-04-20T18:45:36.000Z","dependencies_parsed_at":"2022-09-26T17:21:11.315Z","dependency_job_id":null,"html_url":"https://github.com/obfusk/m-gui","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/obfusk%2Fm-gui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obfusk%2Fm-gui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obfusk%2Fm-gui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obfusk%2Fm-gui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obfusk","download_url":"https://codeload.github.com/obfusk/m-gui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294774,"owners_count":20591909,"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":["gtk","gui","media","mpv","video","vlc"],"created_at":"2024-10-14T22:24:00.031Z","updated_at":"2026-05-08T13:45:49.943Z","avatar_url":"https://github.com/obfusk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- {{{1 --\u003e\n\n    File        : README.md\n    Maintainer  : Felix C. Stegerman \u003cflx@obfusk.net\u003e\n    Date        : 2018-09-16\n\n    Copyright   : Copyright (C) 2018  Felix C. Stegerman\n    Version     : v0.1.1\n    License     : GPLv3+\n\n\u003c!-- }}}1 --\u003e\n\n[![PyPI Version](https://img.shields.io/pypi/v/mmm-gui.svg)](https://pypi.python.org/pypi/mmm-gui)\n[![Build Status](https://travis-ci.org/obfusk/m-gui.svg?branch=master)](https://travis-ci.org/obfusk/m-gui)\n[![GPLv3+](https://img.shields.io/badge/license-GPLv3+-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)\n\n## Description\n\nm - minimalistic media manager - GUI\n\nA minimalistic GUI for [m](https://github.com/obfusk/m).\n\n## Examples\n\n```bash\n$ m-gui --stay-fullscreen --scale 2.0\n```\n\n## Help\n\n```bash\n$ m-gui --help          # show options\n$ m-gui --show-config   # show configuration\n```\n\n## Requirements\n\nPython \u003e= 3.5, PyGObject, GTK+ 3,\n[VTE](https://wiki.gnome.org/Apps/Terminal/VTE); and `m` of course.\n\n## Installing\n\nYou can just put `m-gui.py` somewhere on your `$PATH` (in e.g.\n`~/bin`; I suggest calling it `m-gui`, but you're free to choose\nanother name).\n\nYou may want to clone the repository instead of just downloading\n`m-gui.py` to be able to get new versions easily.\n\nAlternatively, you can install mmm-gui using pip (the Python package\nmanager) or build and install a Debian package.\n\nNB: the pip and Debian packages are called `mmm-gui` instead of\n`m-gui`.\n\n### Using git\n\n```bash\n$ cd /some/convenient/dir\n$ git clone https://github.com/obfusk/m-gui.git obfusk-m-gui\n$ cd ~/bin                  # or some other dir on your $PATH\n$ ln -s /some/convenient/dir/obfusk-m-gui/m-gui.py m-gui\n```\n\nUpdating:\n\n```bash\n$ cd /some/convenient/dir/obfusk-m-gui\n$ git pull\n```\n\n### Using pip\n\n```bash\n$ pip3 install --user mmm-gui # for Debian; on other OS's you may need\n                              # pip instead of pip3 and/or no --user\n```\n\n### Building a Debian package\n\n```bash\n$ sudo apt install debhelper dh-python pandoc # install build dependencies\n$ sudo apt install python3-gi libgtk-3-0 libvte-2.91-0  # run dependencies\n$ cd /some/convenient/dir\n$ git clone https://github.com/obfusk/m-gui.git obfusk-m-gui\n$ cd obfusk-m-gui\n$ dpkg-buildpackage\n$ sudo dpkg -i ../mmm-gui_*_all.deb\n```\n\n## Configuration File\n\nYou can configure some settings in `~/.obfusk-m/gui.json`.  To see the\ncurrent configuration, run:\n\n```bash\n$ m-gui --show-config\n```\n\nNB: some (non-gui-specific) options -- like using `mpv` as player --\nare better configured via `config.json`; see the documentation of `m`\nfor more information.\n\n### Bookmarks\n\nNB: since bookmarks are saved in `gui.json`, adding a bookmark from\nthe GUI will open and re-save this file.  Formatting is thus not\npreserved, data should be (unless you happen to trigger a race\ncondition by writing to this file in between loading and saving by the\nGUI).\n\n```json\n{\n  \"bookmarks\": [\n    \"/some/media/dir\",\n    \"/some/other/media/dir\"\n  ]\n}\n```\n\n### Defaults\n\n```json\n{\n  \"scale\": 2.0,\n  \"stay_fullscreen\": true\n}\n```\n\n### Adding commands\n\n```json\n{\n  \"add_commands\": [\n    [\n      \"mark-and-next space _Mark Playing and Play Next\"\n    ]\n  ],\n  \"scripts\": {\n    \"mark-and-next\": \"#{M} mark playing \u0026\u0026 #{M} next\"\n  }\n}\n```\n\n### m options\n\n```json\n{\n  \"m_options\": {\n    \"colour\": true,\n    \"ignorecase\": true,\n    \"numeric-sort\": true,\n    \"show-hidden\": true\n  }\n}\n```\n\n### m command\n\n```json\n{\n  \"m_command\": \"mmm\"\n}\n```\n\nNB: the command is passed to the shell, so you'll need to escape/quote\nspecial characters (including spaces) appropriately; be careful!\n\n## TODO\n\n* update README + version (4x + dch) + package (deb + pip)!\n* `ack TODO`\n* also allow setting --numeric-sort etc. on the fly\n  - checkboxes in gui?\n  - --options passed through to m?\n* handle exceptions better.\n* document, test!?; screenshot?\n* use shell \"m ...\" only if no need to quote?!\n* running w/ `python3 -Wd` results in DeprecationWarnings\n  - Vte.Terminal.spawn_async not yet available\n\n## License\n\n[![GPLv3+](https://www.gnu.org/graphics/gplv3-127x51.png)](https://www.gnu.org/licenses/gpl-3.0.html)\n\n## Links\n\n* [GTK+ key names](https://github.com/GNOME/gtk/blob/master/gdk/keynames.txt)\n  for key bindings like `\u003cPrimary\u003eq`.\n\n\u003c!-- vim: set tw=70 sw=2 sts=2 et fdm=marker : --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobfusk%2Fm-gui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobfusk%2Fm-gui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobfusk%2Fm-gui/lists"}