{"id":30722706,"url":"https://github.com/ldubos/node-vlc-http","last_synced_at":"2025-09-03T11:32:34.640Z","repository":{"id":34292543,"uuid":"174888771","full_name":"ldubos/node-vlc-http","owner":"ldubos","description":"HTTP API client for vlc.","archived":false,"fork":false,"pushed_at":"2023-03-01T22:31:38.000Z","size":238,"stargazers_count":18,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-12T04:07:18.280Z","etag":null,"topics":["api","api-client","client","http","http-client","nodejs","vlc","vlc-player"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ldubos.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":"2019-03-10T22:28:00.000Z","updated_at":"2024-06-23T05:55:44.000Z","dependencies_parsed_at":"2024-06-21T16:34:09.258Z","dependency_job_id":"e42670d6-93ab-473d-bb13-a3315c73313e","html_url":"https://github.com/ldubos/node-vlc-http","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":"0.17500000000000004","last_synced_commit":"1ecfc7e7f2bff7bb9127bd6307b2ddcb9578c1e9"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ldubos/node-vlc-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldubos%2Fnode-vlc-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldubos%2Fnode-vlc-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldubos%2Fnode-vlc-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldubos%2Fnode-vlc-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldubos","download_url":"https://codeload.github.com/ldubos/node-vlc-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldubos%2Fnode-vlc-http/sbom","scorecard":{"id":581492,"data":{"date":"2025-08-11","repo":{"name":"github.com/ldubos/node-vlc-http","commit":"1ecfc7e7f2bff7bb9127bd6307b2ddcb9578c1e9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T19:16:55.125Z","repository_id":34292543,"created_at":"2025-08-20T19:16:55.125Z","updated_at":"2025-08-20T19:16:55.125Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273436213,"owners_count":25105579,"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-09-03T02:00:09.631Z","response_time":76,"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":["api","api-client","client","http","http-client","nodejs","vlc","vlc-player"],"created_at":"2025-09-03T11:30:41.087Z","updated_at":"2025-09-03T11:32:34.629Z","avatar_url":"https://github.com/ldubos.png","language":"TypeScript","readme":"[![Stargazers][stars-shield]][stars-url] [![Downloads][downloads-shield]][downloads-url] [![Issues][issues-shield]][issues-url] [![Vulnerabilities][vulnerabilities-shield]][vulnerabilities-url] [![MIT License][license-shield]][license-url]\n\n\u003cbr/\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ch1 style=\"text-align: center; margin-top: 15px; border:none;\"\u003enode-vlc-http\u003c/h1\u003e\n\u003c/div\u003e\n\n## Install:\n\n    npm install -s node-vlc-http\n\nor\n\n    yarn add node-vlc-http\n\n## Usage:\n\n### Basics\n\n```js\nconst { VLC } = require('node-vlc-http');\n\nconst vlc = new VLC({\n  host,\n  port,\n  username,\n  password,\n  // update automatically status and playlist of VLC, default true.\n  autoUpdate,\n  // how many times per seconds (in ms) node-vlc-http will update the status of VLC, default 1000/30 ~ 33ms (30fps)\n  tickLengthMs,\n  // checks that browse, status and playlist have changed since the last update of one of its elements,\n  // if it the case fire browsechange, statuschange or playlistchange event. default true.\n  changeEvents,\n  // max tries at the first connection before throwing an error set it to -1 for infinite try, default 3\n  maxTries,\n  // interval between each try in ms, default 1000\n  triesInterval\n});\n\n// update status and playlist at the same time\nvlc.updateAll()\n  .then(results =\u003e {\n    const [status, playlist] = results\n  })\n  .catch(console.error)\n\nvlc.browse(path)\n  .then(browse =\u003e {\n    // do stuff\n  })\n  .catch(console.error)\n\n// update status\nvlc.updateStatus()\n  .then(status =\u003e {\n    // do stuff\n  })\n  .catch(console.error)\n\n// update playlist\nvlc.updatePlaylist()\n  .then(playlist =\u003e {\n    // do stuff\n  })\n  .catch(console.error)\n```\n\n### Events\n\n```js\nvlc.on('tick', (delta) =\u003e {\n  // do stuff\n});\n\nvlc.on('update', (status, playlist) =\u003e {\n  // do stuff\n});\n\nvlc.on(\n  'statuschange',\n  (prev, next) =\u003e {\n    // do stuff\n  }\n);\n\nvlc.on(\n  'playlistchange',\n  (prev, next) =\u003e {\n    // do stuff\n  }\n);\n\nvlc.on('error', (err: Error) =\u003e {\n  // do stuff\n});\n\nvlc.on('connect', () =\u003e {\n  // do stuff\n})\n```\n\n### Actions\n\n```js\n// Add media to playlist\nvlc.addToQueue(uri)\n\n// Add media to playlist and play\nvlc.addToQueueAndPlay(uri)\n\n// Add media to playlist and play without audio\nvlc.addToQueueAndPlay(uri, 'noaudio')\n\n// Add media to playlist and play without video\nvlc.addToQueueAndPlay(uri, 'novideo')\n\n// Add subtitle to currently playing file\nvlc.addSubtitle(uri)\n\n// Play video (id)\nvlc.play(id)\n\n// Pause video (id)\nvlc.pause(id)\n\n// Stop playback\nvlc.stop()\n\n// Resume playback\nvlc.resume()\n\n// Pause playback, do nothing if state was 'paused'\nvlc.forcePause()\n\n// Jump to next item in playlist\nvlc.playlistNext()\n\n// Jump to previous item in playlist\nvlc.playlistPrevious()\n\n// Delete item (id) from playlist\nvlc.playlistDelete(id)\n\n// Empty playlist\nvlc.playlistEmpty()\n\n// Sort playlist using sort mode and order\n// order 0 sort by asc and 1 sort by dsc\n// mode 0 sort by id, 1 sort by name, 3 sort by author, 5 sort by random and\n// 7 by track number\nvlc.sortPlaylist(order, mode)\n\n// Toggle random playback\nvlc.toggleRandom()\n\n// Toggle loop\nvlc.toggleLoop()\n\n// Toggle repeat\nvlc.toggleRepeat()\n\n// Toggle fullscreen\nvlc.toggleFullscreen()\n\n// Seek to time\nvlc.seek(time)\n\n// Seek to chapter\nvlc.seekToChapter(chapter)\n```\n\n## License:\n\n[MIT](./LICENSE)\n\n[downloads-shield]: https://img.shields.io/npm/dt/node-vlc-http.svg?style=flat-square\n[downloads-url]: https://www.npmjs.com/package/node-vlc-http\n[vulnerabilities-shield]: https://snyk.io/test/github/ldubos/node-vlc-http/badge.svg?targetFile=package.json\u0026style=flat-square\n[vulnerabilities-url]: https://snyk.io/test/github/ldubos/node-vlc-http?targetFile=package.json\n[stars-shield]: https://img.shields.io/github/stars/ldubos/node-vlc-http.svg?style=flat-square\n[stars-url]: https://github.com/ldubos/node-vlc-http/stargazers\n[issues-shield]: https://img.shields.io/github/issues/ldubos/node-vlc-http.svg?style=flat-square\n[issues-url]: https://github.com/ldubos/node-vlc-http/issues\n[license-shield]: https://img.shields.io/github/license/ldubos/node-vlc-http.svg?style=flat-square\n[license-url]: https://github.com/ldubos/node-vlc-http/blob/master/LICENSE","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldubos%2Fnode-vlc-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldubos%2Fnode-vlc-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldubos%2Fnode-vlc-http/lists"}