Python Script that plays ambient music that changes with your time and weather.
|
|
||
|---|---|---|
| acnl.py | ||
| config.example.py | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
AnimalCrossingHourlyMusic
Python Script that plays ambient music that changes with your time and weather.
Config Example
from pymeteosource.types import tiers
# -------------------
# Music Config
# -------------------
# Volume % out of 100
volume = 100
# Soundtrack Selection
soundtrack = "acnl"
# -------------------
# MeteoSource Config
# We use MeteoSource for grabbing Weather data.
# -------------------
# Controls whether or not locational data is used to detect the weather.
# Set this to False if you don't want to use your locational data.
use_locational_data = "True"
# Which weather track to play if locational data is disabled.
# Acceptable Values: Clear, Rainy, Snowy
preferred_weather = "Snowy"
# MeteoSource API key
# You can get this from https://www.meteosource.com/client
meteosource_api_key = 'CHANGEME'
# Change this to your actual MeteoSource tier
meteosource_tier = tiers.FREE
# Change this to the Latitude and Longitude of your (general) location.
meteosource_latitude = 0
meteosource_longitude = 0
Soundtrack Folder Tree
New Soundtrack/
├── Clear/
│ ├── 0.mp3
│ ├── 1.mp3
│ ├── 2.mp3
│ ├── 3.mp3
│ ├── 4.mp3
│ ├── 5.mp3
│ ├── 6.mp3
│ ├── 7.mp3
│ ├── 8.mp3
│ ├── 9.mp3
│ ├── 10.mp3
│ ├── 11.mp3
│ ├── 12.mp3
│ ├── 13.mp3
│ ├── 14.mp3
│ ├── 15.mp3
│ ├── 16.mp3
│ ├── 17.mp3
│ ├── 18.mp3
│ ├── 19.mp3
│ ├── 20.mp3
│ ├── 21.mp3
│ ├── 22.mp3
│ └── 23.mp3
├── Rainy/
│ ├── 0.mp3
│ ├── 1.mp3
│ ├── 2.mp3
│ ├── 3.mp3
│ ├── 4.mp3
│ ├── 5.mp3
│ ├── 6.mp3
│ ├── 7.mp3
│ ├── 8.mp3
│ ├── 9.mp3
│ ├── 10.mp3
│ ├── 11.mp3
│ ├── 12.mp3
│ ├── 13.mp3
│ ├── 14.mp3
│ ├── 15.mp3
│ ├── 16.mp3
│ ├── 17.mp3
│ ├── 18.mp3
│ ├── 19.mp3
│ ├── 20.mp3
│ ├── 21.mp3
│ ├── 22.mp3
│ └── 23.mp3
└── Snowy/
├── 0.mp3
├── 1.mp3
├── 2.mp3
├── 3.mp3
├── 4.mp3
├── 5.mp3
├── 6.mp3
├── 7.mp3
├── 8.mp3
├── 9.mp3
├── 10.mp3
├── 11.mp3
├── 12.mp3
├── 13.mp3
├── 14.mp3
├── 15.mp3
├── 16.mp3
├── 17.mp3
├── 18.mp3
├── 19.mp3
├── 20.mp3
├── 21.mp3
├── 22.mp3
└── 23.mp3