{"id":25979279,"url":"https://github.com/bjorg/radiantpi.kaleidescape","last_synced_at":"2025-10-26T11:36:18.418Z","repository":{"id":43846813,"uuid":"436178747","full_name":"bjorg/RadiantPi.Kaleidescape","owner":"bjorg","description":"Client for controlling Kaleidescape","archived":false,"fork":false,"pushed_at":"2023-02-15T00:41:55.000Z","size":1542,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T07:09:23.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjorg.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}},"created_at":"2021-12-08T08:53:22.000Z","updated_at":"2023-09-15T10:50:39.000Z","dependencies_parsed_at":"2022-08-30T01:40:14.690Z","dependency_job_id":null,"html_url":"https://github.com/bjorg/RadiantPi.Kaleidescape","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Kaleidescape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Kaleidescape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Kaleidescape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2FRadiantPi.Kaleidescape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjorg","download_url":"https://codeload.github.com/bjorg/RadiantPi.Kaleidescape/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241978510,"owners_count":20051990,"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":[],"created_at":"2025-03-05T06:29:20.740Z","updated_at":"2025-10-26T11:36:13.350Z","avatar_url":"https://github.com/bjorg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RadiantPi.Kaleidescape\n\n`KaleidescapeClient` enables control of a Kaleidescape player over Telnet. The library is platform agnostic and works on Windows or Linux, including on a Raspberry Pi.\n\nRun the `dotnet` command from your project folder to add the `RadiantPi.Kaleidescape` assembly:\n```\ndotnet add package RadiantPi.Kaleidescape\n```\n\nFind a description of the latest changes in the [release notes](ReleaseNotes.md).\n\n## Sample: Show Selection\n\nThe following code listens for highlighted selection events of a Kaleidescape player. When the selection changes, the Kaleidescape system is queried for details about the selection, such as title and year released, which are then shown on the console.\n\n```csharp\nusing System;\nusing RadiantPi.Kaleidescape;\nusing Spectre.Console;\n\n// check if there is an environment variable for Kaleidescape player serial number or prompt for it\nvar deviceId = Environment.GetEnvironmentVariable(\"KPLAYER_SERIAL_NUMBER\");\nif(string.IsNullOrEmpty(deviceId)) {\n    deviceId = AnsiConsole.Ask\u003cstring\u003e(\"Enter Kaleidescape Player Serial Number:\");\n}\n\n// initialize client\nusing KaleidescapeClient client = new(new() {\n    Host = \"192.168.1.147\",\n    Port = 10000,\n    DeviceId = deviceId\n});\n\n// hook-up event handlers\nclient.HighlightedSelectionChanged += async delegate (object? sender, HighlightedSelectionChangedEventArgs args) {\n    var details = await client.GetContentDetailsAsync(args.SelectionId);\n    Console.WriteLine($\"=\u003e {details.Title} ({details.Year}) [{args.SelectionId}]\");\n};\n\n// connect to device\nawait client.ConnectAsync();\n\n// wait for exit\nConsole.WriteLine(\"Connected to Kaleidescape. Press ENTER to exit.\");\nConsole.ReadLine();\n```\n\n## Output\n\n```\nConnected to Kaleidescape. Press ENTER to exit.\n=\u003e The Mummy: Tomb of the Dragon Emperor (2008) [26-0.0-S_c44e532c]\n=\u003e Murder on the Orient Express (2017) [26-0.0-S_c44e8fd1]\n=\u003e Mutiny on the Bounty (1962) [26-0.0-S_ff304478]\n=\u003e My Fair Lady (1964) [26-0.0-S_c4458748]\n=\u003e My Name Is Nobody (1974) [26-0.0-S_c4514898]\n=\u003e National Lampoon's Van Wilder (2002) [26-0.0-S_c44c2ee5]\n=\u003e National Treasure (2004) [26-0.0-S_c445c6f9]\n=\u003e The Natural (1984) [26-0.0-S_c44a365d]\n=\u003e Need for Speed (2014) [26-0.0-S_c459aabd]\n=\u003e Neil Cowley Trio: Live at Montreux (2012) [26-0.0-S_c44f80d6]\n=\u003e Nerve (2016) [26-0.0-S_c4525aea]\n```\n\n## License\n\nThis application is distributed under the GNU Affero General Public License v3.0 or later.\n\nCopyright (C) 2020-2023 - Steve G. Bjorg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Fradiantpi.kaleidescape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjorg%2Fradiantpi.kaleidescape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Fradiantpi.kaleidescape/lists"}