Skip to content

TychoWerner/AzuraCastMods

Repository files navigation

AzuraCastMods

Applying these mods:

https://github.com/TychoWerner/AzuraCastMods/tree/main/Applying%20these%20mods

Add a custom button to public page (JS)

https://github.com/TychoWerner/AzuraCastMods/tree/main/Add%20a%20custom%20button%20to%20public%20page

Hide a button 2nd button (JS)

https://github.com/TychoWerner/AzuraCastMods/tree/main/Hide%20a%20button%202nd%20button

Modifications to the Azuracast Embed Player Widget (CSS)

Known issues

The volume slider is not visible on Chromium based browsers (visible on Firefox), see AzuraCast/AzuraCast#5537. The volume slider's appearance cannot be modified (?) either.

CSS examples

Replace the color hex values and font weight/size with what you need. Below #FF0000 (red) is used everywhere.

/*song title color */
[data-theme] body.embed .now-playing-title {
    color:  #FF0000;
}

/* artist name*/
[data-theme] body.embed .now-playing-artist {
    color: #FF0000;
  font-weight: bold; 
  font-size: 1.1em;
}

/* stream select button color */
#btn-select-stream {
    color: #FF0000;
}

/* buttons volume & play color */
[data-theme] body.embed .material-icons {
    color: #FF0000;
}

[data-theme] body.embed .material-icons.outlined.lg {
	color: #FF0000;
}

Modifications to the Azuracast Embed Schedule Widget (CSS)

/* center h & v playlist names on schedule page */
.page-minimal.schedule.embed .fc-event-title-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1em;
}

.page-minimal.schedule.embed .fc-event-title.fc-sticky {
  text-align: center;
  color: #FF0000;
}

Modifications to the Azuracast Embed History Widget (CSS)

/* hide order column in history widget */
[data-theme] body.embed div.song strong.order {
    display:  none !important;
}

/* align "played x mn ago" to the right in history widget and add top padding */
[data-theme] body.embed div.song small.date-played.text-muted span {
  position: absolute;
  right: 5px;
  padding-top: 10px;
}

About

AzuraCast Mods

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published