{"id":18250411,"url":"https://github.com/imthesquid/ssmi-python","last_synced_at":"2025-04-08T20:27:30.511Z","repository":{"id":137651254,"uuid":"258863861","full_name":"ImTheSquid/SSMI-Python","owner":"ImTheSquid","description":"A small project to integrate Spotify with my SteelSeries keyboard","archived":false,"fork":false,"pushed_at":"2020-11-18T18:30:09.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T16:01:53.090Z","etag":null,"topics":["gamesense","service","spotipy","steelseries"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ImTheSquid.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":"2020-04-25T20:07:06.000Z","updated_at":"2021-10-07T14:52:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"a136eede-8c76-46c7-a4c2-2cda34768192","html_url":"https://github.com/ImTheSquid/SSMI-Python","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/ImTheSquid%2FSSMI-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImTheSquid%2FSSMI-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImTheSquid%2FSSMI-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImTheSquid%2FSSMI-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImTheSquid","download_url":"https://codeload.github.com/ImTheSquid/SSMI-Python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247921506,"owners_count":21018607,"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":["gamesense","service","spotipy","steelseries"],"created_at":"2024-11-05T09:44:37.333Z","updated_at":"2025-04-08T20:27:30.415Z","avatar_url":"https://github.com/ImTheSquid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSMI Python\nThis code reads from (currently) Spotify to get the current song information to then be used to update a SteelSeries \nkeyboard's OLED display.\n\n**I have plans for a native implementation on all operating systems due to the problems I have had with automatic launching. This will come sometime in the future.**\n\n# MacOS and Linux\nMake sure you have `python-daemon`, `requests`, and `spotipy` installed as root. To launch as daemon, just use `sudo python3 unix.py`. You can make a startup file if you want, but implementations are platform-dependent.\n\n# Windows\n**Look at my [new repository](https://github.com/ImTheSquid/SSMI-CS) that has a native implementation of this repo.**\n\n**Below are the old instructions.**\n\nThis is not for the lighthearted.\n\nFirst, you will need Python 3.8 installed with `pywin32`, `requests`, and `spotipy` installed as root. You then need to set\nsome **system** `PATH` variables:\n- `[PythonPath]\\Python38-32\\Scripts\\`\n- `[PythonPath]\\Python38-32\\`\n- `[PythonPath]\\Python38-32\\Lib\\site-packages`\n- `[PythonPath]\\Python38-32\\Lib\\site-packages\\pywin32_system32`\n\nExample:\n`C:\\Users\\jackh\\AppData\\Local\\Programs\\Python\\Python38-32\\Lib\\site-packages\\pywin32_system32`\n\nChange these as needed to sut your computer's structure.\n**Restart your computer to ensure these variables are recognized.**\n\nNext, you need to run the post install script at `[PythonPath]\\Python38-32\\Scripts\\pywin32_postinstall.py`.\n\nNext, you need to copy `[PythonPath]\\Python38-32\\Lib\\site-packages\\pywin32_system32\\pywintypes38.dll` to \n`[PythonPath]\\Python38-32\\Lib\\site-packages\\win32`.\n\nNext, you need to install the service. To do this, navigate to `service.py` in the Command Prompt \nand run `python service.py install`. **I have not tested what happens if the file is moved after installation, \nso undefined behavior may occur.** If you want to move the file after installation, run `python service.py remove`,\nrestart, move the file, then run the install command again and follow the directions from here.\n\nYou're almost done! Run `services.msc`, then navigate to the `SteelSeries Media Integration Service`. Don't start it yet!\nDouble click on the service and navigate to the `Log On` tab. Select `This Account`, \nthen browse for your username (enter it into the box then click `Check Names` then `OK`). After that, enter your password\ntwice and click `Apply` and then `OK`. You will be granted the permission to start services.\n\nSo close! Run the service. However, it won't work. This was just to generate the config file. This will be under your\nuser directory under a folder called `SSMI`. Open `creds.json` and enter your information. Save it and close it.\n\nFinally, go back to the Services window and double click on the service again, now set the startup type to `Automatic`\nand click `Apply` then `OK`.\n\n**Congratulations! Close your windows, restart your computer and you are done!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimthesquid%2Fssmi-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimthesquid%2Fssmi-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimthesquid%2Fssmi-python/lists"}