{"id":16151005,"url":"https://github.com/jakejarrett/youtube-music","last_synced_at":"2025-10-15T08:50:48.364Z","repository":{"id":83972663,"uuid":"139501113","full_name":"jakejarrett/youtube-music","owner":"jakejarrett","description":"Linux wrapper for Youtube Music (Vala)","archived":false,"fork":false,"pushed_at":"2019-10-09T11:38:32.000Z","size":38,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T18:51:43.063Z","etag":null,"topics":["gtk3","linux","vala","youtube-music"],"latest_commit_sha":null,"homepage":null,"language":"Vala","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/jakejarrett.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}},"created_at":"2018-07-02T22:28:45.000Z","updated_at":"2023-03-12T18:39:27.000Z","dependencies_parsed_at":"2023-04-11T13:47:39.408Z","dependency_job_id":null,"html_url":"https://github.com/jakejarrett/youtube-music","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jakejarrett/youtube-music","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarrett%2Fyoutube-music","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarrett%2Fyoutube-music/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarrett%2Fyoutube-music/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarrett%2Fyoutube-music/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakejarrett","download_url":"https://codeload.github.com/jakejarrett/youtube-music/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarrett%2Fyoutube-music/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270296686,"owners_count":24560373,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gtk3","linux","vala","youtube-music"],"created_at":"2024-10-10T00:54:14.268Z","updated_at":"2025-10-15T08:50:43.328Z","avatar_url":"https://github.com/jakejarrett.png","language":"Vala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# youtube-music\n\nA simple vala \u0026 webkit2gtk wrapper for Youtube music.\n\n## NOTES\n\n`\u003cytmusic-player-bar\u003e…\u003c/ytmusic-player-bar\u003e` contains the following data that we can use;\n```js\nconst player = document.querySelector('ytmusic-player-bar');\nconst playerApi = player.playerApi_;\nconst play = playerApi.playVideo; // function(){}\nconst pause = playerApi.pauseVideo; // function(){}\n\n// Handling play/pause\nplayerApi.addEventListener('onStateChange', state =\u003e console.log('onStateChange', state));\nconst states = {\n    playing: 1,\n    paused: 2,\n    stopped: 3, // ? Either stopped or paused, but this only happens when you skip tracks (regardless of direction).\n}\n\n// Other events\nconst playerApiEvents = [\"onAdEnd\", \"onDompaused\", \"onStateChange\", \"onDetailedError\", \"videodatachange\"];\n\n// Some other data that may be needed (unlikely).\nconst data = player.__data;\n```\n\n\n## What does it do?\n\nit loads, so there's that.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarrett%2Fyoutube-music","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakejarrett%2Fyoutube-music","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarrett%2Fyoutube-music/lists"}