{"id":21002508,"url":"https://github.com/pimatic/pimatic-mpd","last_synced_at":"2025-05-15T00:31:11.680Z","repository":{"id":20171569,"uuid":"23442375","full_name":"pimatic/pimatic-mpd","owner":"pimatic","description":"pimatic plugin for controlling the Music Player Daemon","archived":false,"fork":false,"pushed_at":"2016-03-25T19:51:09.000Z","size":107,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"development","last_synced_at":"2024-11-14T09:40:06.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimatic.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":"2014-08-28T20:45:47.000Z","updated_at":"2017-07-08T00:12:49.000Z","dependencies_parsed_at":"2022-09-11T10:00:50.436Z","dependency_job_id":null,"html_url":"https://github.com/pimatic/pimatic-mpd","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/pimatic%2Fpimatic-mpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-mpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-mpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-mpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimatic","download_url":"https://codeload.github.com/pimatic/pimatic-mpd/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225316759,"owners_count":17455311,"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":[],"created_at":"2024-11-19T08:18:57.473Z","updated_at":"2024-11-19T08:18:58.076Z","avatar_url":"https://github.com/pimatic.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pimatic-mpd\n===========\n\npimatic plugin for controlling the [Music Player Daemon](http://www.musicpd.org/).\n\n###device config example:\n\n```json\n{\n  \"id\": \"mpd-player\",\n  \"name\": \"Music\",\n  \"class\": \"MpdPlayer\",\n  \"host\": \"192.168.1.2\",\n  \"port\": 6600\n}\n```\n\n###device rules examples:\n\n\u003cb\u003ePlay music\u003c/b\u003e\u003cbr\u003e\nif smartphone is present then play mpd-player\n\n\u003cb\u003ePause music\u003c/b\u003e\u003cbr\u003e\nif smartphone is absent then pause mpd-player\n\n\u003cb\u003eStop music\u003c/b\u003e\u003cbr\u003e\nif smartphone is absent then stop mpd-player\n\n\u003cb\u003eChange volume\u003c/b\u003e\u003cbr\u003e\nif buttonVolumeLow is pressed then change volume of mpd-player to 5\n\n\u003cb\u003eNext song\u003c/b\u003e\u003cbr\u003e\nif buttonNext is pressed then play next song Music\n\n\u003cb\u003ePrevious song\u003c/b\u003e\u003cbr\u003e\nif buttonPrev is pressed then play previous song Music\n\nCurrently no predicates for the mpd plugin. If you would like to do something when the state changes u could use the attribute predicate.\u003cbr\u003e\nif $mpd-player.state equals \\\"play\\\" then switch speakers on \u003cbr\u003e\nif $mpd-player.state equals \\\"pause\\\" then switch speakers off \u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-mpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimatic%2Fpimatic-mpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-mpd/lists"}