{"id":21904026,"url":"https://github.com/m1ga/ti.mediacontrol","last_synced_at":"2026-05-20T10:02:48.538Z","repository":{"id":80614903,"uuid":"530364750","full_name":"m1ga/ti.mediacontrol","owner":"m1ga","description":"Android Media control: notification and lock-screen audio player for Titanium SDK","archived":false,"fork":false,"pushed_at":"2024-04-12T07:17:32.000Z","size":2038,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T07:12:02.788Z","etag":null,"topics":["android","audio","lockscreen","player","titanium-module","titanium-sdk"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1ga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"m1ga"}},"created_at":"2022-08-29T19:29:27.000Z","updated_at":"2023-11-27T08:00:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"3591116e-8496-4de2-a65f-c5ac1a095729","html_url":"https://github.com/m1ga/ti.mediacontrol","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/m1ga%2Fti.mediacontrol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.mediacontrol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.mediacontrol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.mediacontrol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1ga","download_url":"https://codeload.github.com/m1ga/ti.mediacontrol/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918586,"owners_count":20531686,"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":["android","audio","lockscreen","player","titanium-module","titanium-sdk"],"created_at":"2024-11-28T15:30:59.737Z","updated_at":"2026-05-20T10:02:48.474Z","avatar_url":"https://github.com/m1ga.png","language":"Java","funding_links":["https://github.com/sponsors/m1ga"],"categories":[],"sub_categories":[],"readme":"# Android Media control: notification and lock-screen audio player for Titanium SDK\n\n\u003cimg src=\"assets/screen.png\"/\u003e\n\n## Installation\n\n* download the module from [dist](https://github.com/m1ga/ti.mediacontrol/tree/main/android/dist)\n* put the ZIP into you project root\n* add `\u003cmodule\u003eti.mediacontrol\u003c/module\u003e` to your tiapp.xml `\u003cmodules\u003e` section.\n\n## Methods\n* \u003cb\u003ecreatePlayer(options)\u003c/b\u003e: creates a new player + notification.\n  \u003cb\u003eOptions:\u003c/b\u003e\n * \u003cb\u003eshowNext\u003c/b\u003e: show the next button\n * \u003cb\u003eshowPrevious\u003c/b\u003e: show the previous button\n * \u003cb\u003etitle\u003c/b\u003e: first row (title)\n * \u003cb\u003etext\u003c/b\u003e: second row (text)\n * \u003cb\u003ebackgroundImage\u003c/b\u003e: background image of the player\n* \u003cb\u003eclose()\u003c/b\u003e: close the player/dismiss the notification.\n* \u003cb\u003eupdateInfo({title: \"\", text: \"\"})\u003c/b\u003e: change both strings at the same time\n* \u003cb\u003eplay()\u003c/b\u003e: puts the player into play mode\n* \u003cb\u003epause()\u003c/b\u003e: puts the player into pause mode\n\n* \u003cb\u003esetMetadata(options)\u003c/b\u003e: sets the track metadata\n  \u003cb\u003eOptions:\u003c/b\u003e\n * \u003cb\u003etitle\u003c/b\u003e: Text\n * \u003cb\u003eartist\u003c/b\u003e: Text\n * \u003cb\u003ealbum\u003c/b\u003e: Text\n\n\n## Properties\n* \u003cb\u003ebackgroundImage\u003c/b\u003e: change the background image of the player\n* \u003cb\u003etitle\u003c/b\u003e: change the first row (title)\n* \u003cb\u003etext\u003c/b\u003e: change the second row (text)\n\n## Constants\n* PLAY\n* PAUSE\n* NEXT\n* PREVIOUS\n\n## Events\n* \u003cb\u003echangeStatus\u003c/b\u003e: is fired when the status of the player changes. It will return `status` with one of the constants.\n\n## Example\n\ncheck [examples/app.js](https://github.com/m1ga/ti.mediacontrol/tree/main/example) for a full example.\n\n## License\n\nMIT\n\n## Author\n\n* Michael Gangolf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.mediacontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1ga%2Fti.mediacontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.mediacontrol/lists"}