{"id":28367224,"url":"https://github.com/ciderapp/mpris-service","last_synced_at":"2026-02-10T20:31:36.482Z","repository":{"id":291389865,"uuid":"936390186","full_name":"ciderapp/mpris-service","owner":"ciderapp","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-05T01:48:01.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T18:22:58.088Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ciderapp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"ciderapp","ko_fi":"cryptofyre","open_collective":"ciderapp","custom":"https://opencollective.com/ciderapp/donate/10/month/Support%20Development?redirect=https://cidercollective.dev/thanks"}},"created_at":"2025-02-21T02:10:13.000Z","updated_at":"2025-06-05T01:48:03.000Z","dependencies_parsed_at":"2025-05-04T11:11:30.522Z","dependency_job_id":"3838f952-63e0-4ff8-8321-680c8b024e56","html_url":"https://github.com/ciderapp/mpris-service","commit_stats":null,"previous_names":["ciderapp/mpris-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ciderapp/mpris-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2Fmpris-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2Fmpris-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2Fmpris-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2Fmpris-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ciderapp","download_url":"https://codeload.github.com/ciderapp/mpris-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciderapp%2Fmpris-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29314705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-05-29T01:09:02.017Z","updated_at":"2026-02-10T20:31:36.475Z","avatar_url":"https://github.com/ciderapp.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ciderapp","https://ko-fi.com/cryptofyre","https://opencollective.com/ciderapp","https://opencollective.com/ciderapp/donate/10/month/Support%20Development?redirect=https://cidercollective.dev/thanks"],"categories":[],"sub_categories":[],"readme":"# mpris-service\n\n[![Build Status](https://travis-ci.org/dbusjs/mpris-service.svg?branch=master)](https://travis-ci.org/dbusjs/mpris-service)\n\nNode.js implementation for the MPRIS D-Bus Interface Specification to create a mediaplayer service.\n\n[Documentation](http://specifications.freedesktop.org/mpris-spec/latest/)\n\n[Chat](https://discord.gg/UdbXHVX)\n\n```js\nvar Player = require('mpris-service');\n\nvar player = new Player({\n\tname: 'nodejs',\n\tidentity: 'Node.js media player',\n\tsupportedUriSchemes: ['file'],\n\tsupportedMimeTypes: ['audio/mpeg', 'application/ogg'],\n\tsupportedInterfaces: ['player']\n});\n```\n\nImplemented interfaces:\n* [`org.mpris.MediaPlayer2`](http://specifications.freedesktop.org/mpris-spec/latest/Media_Player.html)\n* [`org.mpris.MediaPlayer2.Player`](http://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html)\n* [`org.mpris.MediaPlayer2.TrackList`](http://specifications.freedesktop.org/mpris-spec/latest/Track_List_Interface.html)\n* [`org.mpris.MediaPlayer2.Playlists`](http://specifications.freedesktop.org/mpris-spec/latest/Playlists_Interface.html)\n\nExamples are available in [`examples/`](https://github.com/dbusjs/mpris-service/tree/master/examples).\n\n## Default interface\n\n```js\nplayer.on('quit', function () {\n\tprocess.exit();\n});\n```\n\nEvents:\n* `raise`\n* `quit`\n* `fullscreen`\n\nProperties:\n* `identity`\n* `name`\n* `supportedUriSchemes`\n* `supportedMimeTypes`\n* `desktopEntry`\n\n## Player\n\n```js\n// See http://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/\nplayer.metadata = {\n\t'mpris:trackid': player.objectPath('track/0'),\n\t'mpris:length': 60 * 1000 * 1000, // In microseconds\n\t'mpris:artUrl': 'https://pbs.twimg.com/profile_images/378800000822867536/3f5a00acf72df93528b6bb7cd0a4fd0c.jpeg',\n\t'xesam:title': 'Best song',\n\t'xesam:album': 'Best album',\n\t'xesam:artist': ['Best singer']\n};\n\nplayer.playbackStatus = 'Playing';\n```\n\nSee `examples/player.js`.\n\nEvents:\n* `next`\n* `previous`\n* `pause`\n* `playpause`\n* `stop`\n* `play`\n* `seek`\n* `open`\n* `loopStatus`\n* `rate`\n* `shuffle`\n* `volume`\n\nProperties:\n* `playbackStatus`\n* `loopStatus`\n* `rate`\n* `shuffle`\n* `volume`\n* `metadata`\n* `minimumRate`\n* `maximumRate`\n* `canGoNext`\n* `canGoPrevious`\n* `canPlay`\n* `canPause`\n* `canSeek`\n* `canControl`\n\nMethods:\n* `seeked(position)`\n* `getPosition()` (should be overridden to return the current position)\n\n## TrackList\n\nEvents:\n* `addTrack`\n* `removeTrack`\n* `goTo`\n\nProperties:\n* `tracks`\n* `canEditTracks`\n\nMethods:\n* `addTrack(track)`\n* `removeTrack(trackId)`\n\n## Playlists\n\nEvents:\n* `activatePlaylist`\n\nProperties:\n* `playlists`\n* `activePlaylist`\n\nMethods:\n* `setPlaylists(playlists)`\n* `setActivePlaylist(playlistId)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciderapp%2Fmpris-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciderapp%2Fmpris-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciderapp%2Fmpris-service/lists"}