mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 21:33:00 +00:00
enable more displays and switch music to YTM
This commit is contained in:
@@ -68,13 +68,13 @@
|
|||||||
"update_interval": 1
|
"update_interval": 1
|
||||||
},
|
},
|
||||||
"weather": {
|
"weather": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"update_interval": 600,
|
"update_interval": 600,
|
||||||
"units": "imperial",
|
"units": "imperial",
|
||||||
"display_format": "{temp}°F\n{condition}"
|
"display_format": "{temp}°F\n{condition}"
|
||||||
},
|
},
|
||||||
"stocks": {
|
"stocks": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"update_interval": 300,
|
"update_interval": 300,
|
||||||
"symbols": [
|
"symbols": [
|
||||||
"ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SPEST", "SMCI"
|
"ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SPEST", "SMCI"
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
"display_format": "{symbol}: ${price} ({change}%)"
|
"display_format": "{symbol}: ${price} ({change}%)"
|
||||||
},
|
},
|
||||||
"crypto": {
|
"crypto": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"update_interval": 300,
|
"update_interval": 300,
|
||||||
"symbols": [
|
"symbols": [
|
||||||
"BTC-USD", "ETH-USD"
|
"BTC-USD", "ETH-USD"
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
"display_format": "{symbol}: ${price} ({change}%)"
|
"display_format": "{symbol}: ${price} ({change}%)"
|
||||||
},
|
},
|
||||||
"stock_news": {
|
"stock_news": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"update_interval": 3600,
|
"update_interval": 3600,
|
||||||
"scroll_speed": 1,
|
"scroll_speed": 1,
|
||||||
"scroll_delay": 0.001,
|
"scroll_delay": 0.001,
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
"headlines_per_rotation": 2
|
"headlines_per_rotation": 2
|
||||||
},
|
},
|
||||||
"calendar": {
|
"calendar": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"credentials_file": "credentials.json",
|
"credentials_file": "credentials.json",
|
||||||
"token_file": "token.pickle",
|
"token_file": "token.pickle",
|
||||||
"update_interval": 3600,
|
"update_interval": 3600,
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
"calendars": ["birthdays"]
|
"calendars": ["birthdays"]
|
||||||
},
|
},
|
||||||
"nhl_scoreboard": {
|
"nhl_scoreboard": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"test_mode": false,
|
"test_mode": false,
|
||||||
"update_interval_seconds": 300,
|
"update_interval_seconds": 300,
|
||||||
"live_update_interval": 15,
|
"live_update_interval": 15,
|
||||||
@@ -202,7 +202,7 @@
|
|||||||
"update_interval": 3600
|
"update_interval": 3600
|
||||||
},
|
},
|
||||||
"mlb": {
|
"mlb": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"test_mode": false,
|
"test_mode": false,
|
||||||
"update_interval_seconds": 300,
|
"update_interval_seconds": 300,
|
||||||
"live_update_interval": 20,
|
"live_update_interval": 20,
|
||||||
@@ -218,7 +218,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"text_display": {
|
"text_display": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"text": "Subscribe to ChuckBuilds",
|
"text": "Subscribe to ChuckBuilds",
|
||||||
"font_path": "assets/fonts/5x7.bdf",
|
"font_path": "assets/fonts/5x7.bdf",
|
||||||
"font_size": 7,
|
"font_size": 7,
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
},
|
},
|
||||||
"music": {
|
"music": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"preferred_source": "spotify",
|
"preferred_source": "ytm",
|
||||||
"YTM_COMPANION_URL": "http://192.168.86.12:9863",
|
"YTM_COMPANION_URL": "http://192.168.86.12:9863",
|
||||||
"POLLING_INTERVAL_SECONDS": 1
|
"POLLING_INTERVAL_SECONDS": 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,10 @@
|
|||||||
"youtube": {
|
"youtube": {
|
||||||
"api_key": "YOUR_YOUTUBE_API_KEY",
|
"api_key": "YOUR_YOUTUBE_API_KEY",
|
||||||
"channel_id": "YOUR_YOUTUBE_CHANNEL_ID"
|
"channel_id": "YOUR_YOUTUBE_CHANNEL_ID"
|
||||||
|
},
|
||||||
|
"music": {
|
||||||
|
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID_HERE",
|
||||||
|
"SPOTIFY_CLIENT_SECRET": "YOUR_SPOTIFY_CLIENT_SECRET_HERE",
|
||||||
|
"SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8888/callback"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user