Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Festival schedule face #411

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

voloved
Copy link
Contributor

@voloved voloved commented Jun 29, 2024

Watch Face that shows what acts are playing at the current time in a music Festival.

When at a Music Festival, it may be nice to see what other sets are currently playing, along with their genre, to see if there is anything that is currently interesting you.

This complication will allow that. It was originally created for Electric Forest 2024, but is meant to be generic enough to be usable for other Festivals. If the Genre and popularity capabilities are gutted, it could also be used for expos and fairs.

Usage

Going to the screen initially, you'll see one of 3 options:

  1. If the Festival is not yet started, it'll show the number of days until it begins. If it's more than 99 days away, it'll show Wait.
  2. If the Festival ended, it'll show Over.
  3. If the festival is running, it'll show the day of the Festival. If it's past day 99 of a Festival (if one does exist...), it'll display Long.

These values will automatically update. As in, if you all looking at the screen on day 2 of the Festival and it turns to midnight, the display will update to day 3.

Then, if the Festival is occurring, clicking the alarm and light buttons will scroll through the acts that are currently playing. If there are no acts playing, it'll display no Act. Otherwise, it'll show the act, the stage they are playing on, and their popularity compared to other acts performing if they are in the top 40 most popular acts.
Pressing the mode button will then cycle through the following when there is an act: Genre and Weekday they perform > Start Time > End Time. Holding the mode button will return the act's name, but it will also time out to the act's name after 10 seconds. Pressing the light or alarm buttons will still cycle to the next act. Only when in the Genre or Start/End Time screens does the LED work. Holding the light button will trigger it.

Finally, when in the title screen, if the light or alarm button is held, it will cycle through all acts in the festival. From there, you can cycle through them one-by-one by pressing the light or alarm button, or quickly cycle through them by holding either button. When cycling through all of the acts, the LAP indicator will display.

Python Script to get Schedules and Popularity

Since all of the schedule is stored in memory, a Python script was made to create an array of artists, their popularity, stage, and times. It can be found in the utils folder with its non-standard libraries in requirements.txt. Spotify dev credentials would be needed to get the popularity of each act, though if no credentials are put into a JSON file, it'll ignore finding the popularity of the acts.
ClashFinder.com. is used for the date and time data. The data is read from the Python script via BeautifulSoup. The URL entered into the script must be of the mobile view of the schedule to work (As in, the URL needs the /m/ in https://clashfinder.com/m/elecfor24). If a ClashFinder does not exist for your Festival, it is not difficult to make an account and create one yourself.

festival_face.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant