{"id":13896099,"url":"https://github.com/kaworu/lua-mpd","last_synced_at":"2025-04-10T10:22:20.855Z","repository":{"id":7037897,"uuid":"8314254","full_name":"kaworu/lua-mpd","owner":"kaworu","description":"Minimalist MPD client library using luasocket","archived":false,"fork":false,"pushed_at":"2018-10-12T20:11:47.000Z","size":25,"stargazers_count":13,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T09:11:29.397Z","etag":null,"topics":["lua","luasocket","mpd"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/kaworu.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}},"created_at":"2013-02-20T14:07:06.000Z","updated_at":"2023-11-23T02:48:25.000Z","dependencies_parsed_at":"2022-08-20T08:40:08.791Z","dependency_job_id":null,"html_url":"https://github.com/kaworu/lua-mpd","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/kaworu%2Flua-mpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaworu%2Flua-mpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaworu%2Flua-mpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaworu%2Flua-mpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaworu","download_url":"https://codeload.github.com/kaworu/lua-mpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199080,"owners_count":21063641,"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":["lua","luasocket","mpd"],"created_at":"2024-08-06T18:02:39.513Z","updated_at":"2025-04-10T10:22:20.821Z","avatar_url":"https://github.com/kaworu.png","language":"Lua","readme":"# MPD.lua\n\nMinimalist MPD client library for Lua, using luasocket.\n\n### Usage\n\n```lua\nmpd = require('mpd')\n-- default values shown here:\nserver_settings = {\n  hostname = 'localhost',\n  port     = 6600,\n  desc     = 'localhost',\n  password = nil,\n  timeout  = 1,\n  retry    = 60\n}\n\nmpc = mpd.new(server_settings)\n\n-- here are all the functions currently avaiable\nmpc:next()\nmpc:previous()\nmpc:stop()\nmpc:volume_up(delta)\nmpc:volume_down(delta)\nmpc:toggle_random()\nmpc:toggle_repeat()\nmpc:toggle_play()\nmpc:seek(delta)\nmpc:protocol_version()\n\n-- But, you can always send any command mpd may accept with mpc:send().\n-- Actually, the above methods are just wrappers for mpc:send(),\n-- you can view all the available mpd commands here:\n--     https://www.musicpd.org/doc/protocol/\n-- For example, try:\nmpc:send('outputs')\n-- It should return a table with all information MPD\n-- gives about it's outputs.\n```\n\n### Installation\n\nEither put `mpd.lua` in your `package.path` or install it with luarocks:\n```sh\nluarocks install mpd\n```\n","funding_links":[],"categories":["Lua"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaworu%2Flua-mpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaworu%2Flua-mpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaworu%2Flua-mpd/lists"}