Skip to content

Commit

Permalink
feat(centurion): add artist to centurion tape info
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoronex committed Nov 11, 2024
1 parent b8191a1 commit 70605f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/modes/centurion/centurion-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface CenturionResponse {
}

interface CenturionStateResponse {
tape?: Pick<MixTape, 'name' | 'coverUrl'>;
tape?: Pick<MixTape, 'name' | 'artist' | 'coverUrl'>;
lastHorn?: HornEvent;
lastSong?: SongEvent;
colors?: RgbColor[];
Expand Down Expand Up @@ -91,7 +91,7 @@ export class CenturionController extends Controller {
}

return {
tape: { name: mode.tape.name, coverUrl: mode.tape.coverUrl },
tape: { name: mode.tape.name, artist: mode.tape.artist, coverUrl: mode.tape.coverUrl },
lastHorn: mode.lastHornEvent,
lastSong: mode.lastSongEvent,
colors: mode.currentColors,
Expand Down

0 comments on commit 70605f6

Please sign in to comment.