{"id":13583331,"url":"https://github.com/kalkih/forked-daapd-card","last_synced_at":"2025-04-30T07:29:36.402Z","repository":{"id":33630966,"uuid":"151962981","full_name":"kalkih/forked-daapd-card","owner":"kalkih","description":"forked daapd card for Home Assistant Lovelace UI","archived":false,"fork":false,"pushed_at":"2022-05-27T21:11:35.000Z","size":9,"stargazers_count":78,"open_issues_count":5,"forks_count":12,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-30T14:03:15.554Z","etag":null,"topics":["automation","forked-daapd","hassio","home-assistant","lovelace","lovelace-ui","media-player","multiroom"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/kalkih.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":"2018-10-07T16:48:27.000Z","updated_at":"2024-11-11T23:16:03.000Z","dependencies_parsed_at":"2022-09-20T07:50:36.927Z","dependency_job_id":null,"html_url":"https://github.com/kalkih/forked-daapd-card","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalkih%2Fforked-daapd-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalkih%2Fforked-daapd-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalkih%2Fforked-daapd-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalkih%2Fforked-daapd-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalkih","download_url":"https://codeload.github.com/kalkih/forked-daapd-card/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251660309,"owners_count":21623224,"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":["automation","forked-daapd","hassio","home-assistant","lovelace","lovelace-ui","media-player","multiroom"],"created_at":"2024-08-01T15:03:24.386Z","updated_at":"2025-04-30T07:29:36.375Z","avatar_url":"https://github.com/kalkih.png","language":"JavaScript","funding_links":[],"categories":["Lovelace User Interface","Install from Source","JavaScript","User Interface","Dashboards"],"sub_categories":["Custom Lovelace UI Cards","Smart Home Automation","Custom Cards"],"readme":"# Lovelace forked daapd card\nA lovelace card for [Home Assistant](https://github.com/home-assistant/home-assistant) to control a forked daapd instance.\n\nThis card allow you to control your forked daapd instance through Home Assistant.\nThe following controls are available: `master volume`, `play/pause`, `next/previous`, `on/off`, `output selection`, `individual output volume`.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/457678/46584235-03d92100-ca61-11e8-9d4d-969cbca7f88c.gif\" alt=\"Preview\" width=\"400\"\u003e\n\n## Requirements\n- Forked daapd built with websocket support.\n- Forked daapd setup as an media_player (mpd component) in Home Assistant\n\n## Install\n\n### Simple install\n\n- Copy `forked-daapd-card.js` into your `config/www` ”folder.\n- Add a reference to the `forked-daapd-card.js` inside your `ui-lovelace.yaml`.\n\n```yaml\nresources:\n  - url: /local/forked-daapd-card.js?v=0.0.2\n    type: module\n```\n\n### Install using git\n\n- Clone this repository into your `config/www` folder using git.\n\n```bash\ngit clone https://github.com/kalkih/forked-daapd-card.git\n```\n\n- Add a reference to the card in your `ui-lovelace.yaml`.\n\n```yaml\nresources:\n  - url: /local/forked-daapd-card/forked-daapd-card.js?v=0.0.2\n    type: module\n```\n\n## Updating\n\n- Locate your `forked-daapd-card.js` in `config/www` or wherever you ended up storing it.\n- Replace it with the latest version of [forked-daapd-card.js](forked-daapd-card.js).\n- Add the new version number to the end of the cards reference url in your `ui-lovelace.yaml` like below.\n\n```yaml\nresources:\n  - url: /local/forked-daapd-card.js?v=0.0.2\n    type: module\n```\n\nIf you went the `git clone` route, just run `git pull` from inside your `config/www/forked-daapd-card/` directory, to get the latest version of the code. Then add the new version number to the end of the card reference url in your `ui-lovelace.yaml` like below.\n\n```yaml\nresources:\n  - url: /local/forked-daapd-card/forked-daapd-card.js?v=0.0.2\n    type: module\n```\n\n## Using the card\n\n### Options\n\n| Name | Type | Default | Since | Description |\n|------|:----:|:-------:|:-----:|-------------|\n| type | string | **required** | v0.0.1 | `custom:forked-daapd-card`.\n| entity | string | **required** | v0.0.1 | The entity_id of your forked-daapd media_player (mpd) in home  assistant.\n| ip | string | **required** | v0.0.1 | Set the IP address of your forked-daapd server.\n| port | number | 3689 | v0.0.1 | Set the port of your forked-daapd server.\n| ws_port | number | 3688 | v0.0.1 | Set the websocket port of your forked-daapd server.\n| name | string | optional | v0.0.1 | Set a custom `friendly_name` which is displayed beside the icon.\n| icon | string | optional | v0.0.1 | set a custom icon from any of the available mdi icons.\n| outputs | list | optional | v0.0.1 | If you want to only show specific outputs, include the id of each one in the list.\n\n- You can find the outputs ids by accessing `http://\u003cforked-daapd-ip\u003e:\u003cport\u003e/api/outputs`\n\n### Example usage\n\n#### Normal\n```yaml\n- type: \"custom:forked-daapd-card\"\n  entity: media_player.multiroom_audio\n  ip: \"192.168.1.5\"\n  name: Multiroom\n```\n\n#### Show only specified outputs\n```yaml\n- type: \"custom:forked-daapd-card\"\n  entity: media_player.multiroom_audio\n  ip: \"192.168.1.5\"\n  name: Multiroom\n  outputs:\n    - \"225176710053082\"\n    - \"962995053492\"\n    - \"24918234768\"\n```\n\n## Getting errors?\nMake sure you have `javascript_version: latest` in your `configuration.yaml` under `frontend:`.\n\nMake sure you have the latest versions of `forked-daapd-card.js`.\n\nIf you have issues after updating the card, try clearing your browser cache.\n\n## License\nThis project is under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalkih%2Fforked-daapd-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalkih%2Fforked-daapd-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalkih%2Fforked-daapd-card/lists"}