Skip to content

ryzetech/cider4obs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 Cider 4 OBS 🔴

Connect your Cider Client to OBS and show what you're listening to!

Requirements

Setup

  1. 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".
  2. Create a new Browser Source in OBS and set the URL to https://ryzetech.github.io/cider4obs/.
  3. The source will spawn with a width of 800 by default. Resize it if necessary (my personal sweet spot is 400) and change the height to 170 or something like that.
  4. The browser in OBS will now attempt to connect to Cider every five seconds and reestablish the connection if necessary!

Customization

Unhappy with the way the app looks by default? You can change the settings with the "Custom CSS" box in the OBS browser source. I have compiled some examples below to just copy and change to your liking.

To pick colors, I recommend https://rgbacolorpicker.com/.

Box Customization

#content {
  /* change the background color with this: */
  background-color: rgba(69, 69, 69, 42);
  /* rgba($RED, $GREEN, $BLUE, $ALPHA)
      alpha = how transparent it is
  */
}

Text Customization

Customizable elements are span, #title, #artist, #album

/* to change the text color, do */
span {
  color: white;
  /* or: #ffffff; */
}

/* to make the title look neutral instead of bold, do: */
#title {
  font-weight: normal;
}

/* similar with the album name (pay attention to the attribute!) */
#album {
  font-style: normal;
}

/* you can even hide elements: */
#album {
  display: none;
}

Progress Bar

Customizable elements are #progressBg, #progressBar.

/* change the progress bar background like this: */
#progressBg {
  background-color: rgba(97, 97, 97, 0.45);
}

/* same goes with the bar itself: */
#progressBar {
  background-color: rgba(255, 0, 132, 1);
}

/* you can also make the progress bar thicker or thinner: */
#progressBar {
  height: 15px;
}

Issues, Ideas, Comments?

Tell me in the issues tab! <3

About

Pulling some WebSockets to create a browser source to the popular Cider.sh client for Apple Music

Topics

Resources

License

Stars

Watchers

Forks