Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdrxy committed May 18, 2024
2 parents 8291c6f + 1c373f0 commit 66a8b1e
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/dashboard_defs/dashboard.rs
Original file line number Diff line number Diff line change
@@ -383,6 +383,7 @@ pub fn make_dashboard(

////////// Defining the shared state

// TODO: make it possible to get different variants of this texture (randomly chosen)
const FALLBACK_TEXTURE_CREATION_INFO: TextureCreationInfo<'static> =
TextureCreationInfo::Path(Cow::Borrowed("assets/no_texture_available.png"));

2 changes: 2 additions & 0 deletions src/dashboard_defs/surprise.rs
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@ use std::borrow::Cow;

use chrono::Timelike;

// TODO: add the ability to activate a surprise via an API call

use crate::{
texture::{TexturePool, TextureCreationInfo},

5 changes: 5 additions & 0 deletions src/spinitron/state.rs
Original file line number Diff line number Diff line change
@@ -16,6 +16,11 @@ use crate::{
}
};

/* TODO:
- For unscheduled playlists with no show photo, make the show image the DJ image
- And for unscheduled playlists, also show the current show name, rather than what's on the schedule
*/

//////////

#[derive(Clone)]

0 comments on commit 66a8b1e

Please sign in to comment.