- Open Broadcaster Software
- Cider 2.5+
- An Apple Music subscription.
- Setup Cider if you haven't done so already and open the settings. Go to "Connectivity" and scroll down all the way. Enable the Switch "WebSockets API".
- Create a new Browser Source in OBS and set the URL to
https://jennielizz.github.io/Cider4OBS/. - Set the source size to a width of
745and a height of250. Resize with the transform controls. (Warning: You can only change the width! So make it as long as you want but the height must remain at250.) - The browser in OBS will now attempt to connect to Cider every five seconds and reestablish the connection if necessary!
- If you want to customize how the app is looking, read below. Add the options into the Custom CSS box of OBS!
Customizable elements are span, #title, #album, #artist.
/* you can change the secondary font with: */
span {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
/* and the song title: */
#title {
font-weight: bold;
font-family: "SF Pro";
font-stretch: expanded;
font-size: 20px; /* Probably don't change, but its here */
}
/* artist and album: */
#artist #album {
font-family: "Atkinson Hyperlegible";
font-size: 30px;
}Some settings adjusting the behavior of certain elements. (These are the defaults)
body {
/* general key unless stated otherwise: 1=on, 0=off */
/* the maximum opacity of the gradient background: 0 - 1 */
--max-grad-opacity: 1; /* Ex: 0.85 */
/* fade the box in and out depending on whether music is playing or not */
--fade-on-stop: 1;
/* how long playback must be paused in milliseconds until the box fades (if enabled) */
--fade-delay: 1000;
/* the box will fade out when Cider disconnects and appears on reconnecting */
--fade-on-disconnect: 1;
/* the delay in milliseconds after the player has disconnected until the box fades */
--fade-disconnect-delay: 3000;
/* hides the box when connection has been established but Cider is idle */
--hide-on-idle-connect: 1;
}
