{"id":15687107,"url":"https://github.com/fabioricali/streamtitle","last_synced_at":"2025-05-07T18:06:35.340Z","repository":{"id":57372094,"uuid":"93370707","full_name":"fabioricali/StreamTitle","owner":"fabioricali","description":"Retrieve song title from shoutcast and icecast server","archived":false,"fork":false,"pushed_at":"2018-10-01T11:08:31.000Z","size":38,"stargazers_count":9,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T18:02:05.543Z","etag":null,"topics":["icecast","shoutcast","song-title","title"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabioricali.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-05T06:08:02.000Z","updated_at":"2022-02-20T20:56:58.000Z","dependencies_parsed_at":"2022-08-30T16:43:17.667Z","dependency_job_id":null,"html_url":"https://github.com/fabioricali/StreamTitle","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioricali%2FStreamTitle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioricali%2FStreamTitle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioricali%2FStreamTitle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabioricali%2FStreamTitle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabioricali","download_url":"https://codeload.github.com/fabioricali/StreamTitle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931534,"owners_count":21827111,"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":["icecast","shoutcast","song-title","title"],"created_at":"2024-10-03T17:43:32.702Z","updated_at":"2025-05-07T18:06:35.275Z","avatar_url":"https://github.com/fabioricali.png","language":"JavaScript","readme":"# StreamTitle\nSimple library to retrieve song title from SHOUTcast v1 or v2 and Icecast server.\n\n[![Build Status](https://travis-ci.org/fabioricali/StreamTitle.svg?branch=master)](https://travis-ci.org/fabioricali/StreamTitle) [![Coverage Status](https://coveralls.io/repos/github/fabioricali/StreamTitle/badge.svg?branch=master)](https://coveralls.io/github/fabioricali/StreamTitle?branch=master)\n\n## Installation\n\n```javascript\nnpm install stream-title --save\n```\n\n## Example\n### SHOUTcast v1\n```javascript\nvar streamTitle = require('stream-title');\n\nstreamTitle({\n    url: 'http://shoutcastserver:port',\n    type: 'shoutcast'\n}).then(function (title) {\n    console.log(title);\n}).catch(function (err) {\n    console.log(err);\n});\n```\n\n### SHOUTcast v2\n```javascript\nvar streamTitle = require('stream-title');\n\nstreamTitle({\n    url: 'http://shoutcastserver:port',\n    type: 'shoutcast2',\n    sid: 1\n}).then(function (title) {\n    console.log(title);\n}).catch(function (err) {\n    console.log(err);\n});\n```\n\n### Icecast v2.4.x\n```javascript\nvar streamTitle = require('stream-title');\n\nstreamTitle({\n    url: 'http://icecastserver:port',\n    type: 'icecast',\n    mount: 'mymount'\n}).then(function (title) {\n    console.log(title);\n}).catch(function (err) {\n    console.log(err);\n});\n```\n\n### Options\n\nName | Type | Description\n-|-|-\ntype | string | required, server type that can be \"shoutcast\", \"shoutcast2\" or \"icecast\"\nurl | string | required, server url\nsid | integer | required for shoutcast2, stream id\nmount | string | required for incecast, mount name\ntimeout | integer | request timeout in ms, default: 1500\n\n## License\nStreamTitle is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)\n\n## Author\n[Fabio Ricali](http://rica.li)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioricali%2Fstreamtitle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabioricali%2Fstreamtitle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabioricali%2Fstreamtitle/lists"}