{"id":13835518,"url":"https://github.com/Parranoh/mpv-notify-send","last_synced_at":"2025-07-10T07:32:24.634Z","repository":{"id":55981348,"uuid":"235674402","full_name":"Parranoh/mpv-notify-send","owner":"Parranoh","description":"A Lua script for mpv to send notifications with notify-send(1).","archived":false,"fork":false,"pushed_at":"2024-07-12T07:36:08.000Z","size":963,"stargazers_count":31,"open_issues_count":7,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-04T04:57:11.285Z","etag":null,"topics":["libnotify","mpv"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Parranoh.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","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":"2020-01-22T21:49:33.000Z","updated_at":"2024-09-06T21:48:21.000Z","dependencies_parsed_at":"2024-01-15T20:06:41.179Z","dependency_job_id":null,"html_url":"https://github.com/Parranoh/mpv-notify-send","commit_stats":null,"previous_names":["parranoh/mpv-notify-send"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Parranoh/mpv-notify-send","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parranoh%2Fmpv-notify-send","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parranoh%2Fmpv-notify-send/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parranoh%2Fmpv-notify-send/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parranoh%2Fmpv-notify-send/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Parranoh","download_url":"https://codeload.github.com/Parranoh/mpv-notify-send/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parranoh%2Fmpv-notify-send/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264545168,"owners_count":23625404,"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":["libnotify","mpv"],"created_at":"2024-08-04T14:01:04.130Z","updated_at":"2025-07-10T07:32:24.280Z","avatar_url":"https://github.com/Parranoh.png","language":"Lua","funding_links":[],"categories":["Other"],"sub_categories":[],"readme":"===============\nmpv-notify-send\n===============\n\nThis is a simple Lua script for mpv_\nthat sends notifications about the playing media.\nIt uses ``notify-send(1)`` and should therefore work\nwith any libnotify-compatible notifications daemon.\nIt reports title, album and year if available,\nand shows a cover image if present\nin the same directory as the media file\n(embedded images aren’t currently supported).\n\n.. _mpv: https://mpv.io/\n\nScreenshot\n==========\n\n.. image:: screenshot.jpg\n    :alt:\n      A screenshot of GNOME displaying a notification\n      with title “Guilford Avenue Bridge”\n      and body “Dan Deacon — America (2012)”\n      as mpv plays the corresponding track.\n    :width: 1125\n    :height: 750\n\nUsage\n=====\n\nEither copy/link ``notify-send.lua``\ninto ``$XDG_CONFIG_HOME/mpv/scripts``,\nor set ``script=/path/to/notify-send.lua`` in ``mpv.conf``\nor on the command line.\n\nIf you use `Nix(OS)`_ then you can install ``default.nix`` directly\nor use the included ``overlay.nix`` in your ``configuration.nix``:\n\n.. code:: nix\n\n  { pkgs, ... }:\n\n  {\n    nixpkgs.overlays = [\n      # ...\n      (import /path/to/mpv-notify-send/overlay.nix)\n    ];\n\n    # ...\n\n    environment.systemPackages = with pkgs; [\n      # ...\n      mpv\n      mpv-notify-send\n    ];\n\n    environment.pathsToLink = [\"/share/mpv\"];\n  }\n\nYou can then link ``\u003cnix profile\u003e/share/mpv/scripts/notify-send.lua``\n(e.g. ``/run/current-system/sw/share/...`` on NixOS,\n``$HOME/.nix-profile/share/...`` when using ``nix-env``)\ninto ``$XDG_CONFIG_HOME/mpv/scripts``.\n\n.. _Nix(OS): https://nixos.org/\n\nLicence\n=======\n\nmpv-notify-send is licensed under the WTFPL_.\n\n.. _WTFPL: COPYING.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FParranoh%2Fmpv-notify-send","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FParranoh%2Fmpv-notify-send","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FParranoh%2Fmpv-notify-send/lists"}