Skip to content

Commit b1b5c7d

Browse files
author
BytequillPC
committed
INSTALLATION GUIDE + CACHE CLEANUP
1 parent 88b7b8f commit b1b5c7d

14 files changed

Lines changed: 66 additions & 17 deletions

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
11
![Demonstration](demonstration.png)
22
Spotify display for screens compatible with https://github.com/mathoudebine/turing-smart-screen-python/
33

4-
DISCLAIMER: Environment variable configuration is not currently implemented, you have to change constants
4+
# Instalation guide
5+
1. Setup a python virtual environment
6+
- If you dont't have python installed or want an easy setup:
7+
1. Right click the `nopython-makeenv.ps1` and click `run with powershell`
8+
- If You want to do it manually and have python installed:
9+
1. Run `python -m venv {env_name}`. The name `pythonportable` lets you take advantage of `nopython-run.bat`
10+
2. Activate the environment:
11+
- Unix/macOS
12+
`source {env_name}/bin/activate`
13+
- Windows
14+
`{env_name}\Scripts\activate`
15+
3. Install required packages
16+
`pip install -r requirements.txt`
17+
2. Create a spotify API application
18+
1. Goto `https://developer.spotify.com/dashboard/create` in your browser of choice
19+
2. Fill in `App name` and `App description` in any way you like
20+
3. For `Redirect URIs` enter whatever is set as `SPOTIPY_REDIRECT_URI` in your `.env` or `.env.example` file (default is `http://localhost:9099/getToken`)
21+
4. You also need to mark `Web API` in the next section
22+
5. Click `Save` to create your app
23+
6. In the apps section click the `Settings` button
24+
7. Copy the `Client ID` to your clipboard or note it down somewhere
25+
8. Go into your `.env` or `.env.example` file and paste the `Client ID` into the `SPOTIPY_CLIENT_ID` field
26+
3. Final configuration steps
27+
1. Ensure your screen of choice is set as the `COM_REV` in your `.env` or `.env.example`
28+
4. Run the program
29+
- If you used the powershell script to set up python:
30+
- Run the `nopython-run.bat` file
31+
- If you created the environment manually:
32+
- Run `main.py` within the environment
33+
- If there are any bugs or otherwhise problems with any of the displays, please create a [Issue](https://ben.balter.com/2023/03/02/github-for-non-technical-roles/#issues) or contact me with a discord dm (my username is `codebased`)
34+
- Due to how the code works, it is especially important to look for mis-orientation issues. Those can be resolved within seconds but I just dont have all the supported displays to try them
35+
- Note that due to the way the displays work they take their time to do any action and paint pretty slow. This is NOT a software issue and is just the nature of the hardware
-23.9 KB
Binary file not shown.
-11 KB
Binary file not shown.
-12.6 KB
Binary file not shown.
-18.9 KB
Binary file not shown.
-8.8 KB
Binary file not shown.
-8.25 KB
Binary file not shown.
-4.29 KB
Binary file not shown.
-2.77 KB
Binary file not shown.
-20.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)