Question / Help Anybody good with JSON and OBS?

livejamie

New Member
If my music player outputs the currently playing song in a JSON format like this

Code:
{
  "playing": true,
  "song": {
  "title": "Dark Pub",
  "artist": "ComputeHer",
  "album": "Chiptopia: The Best of 8 Bit Weapon & ComputeHer",
  "albumArt": "https://lh5.ggpht.com/_FFgEFVHjEhjZvYzJi8jxJS7RHl7fu2KKSlT3BNe4Aqo3Q-4zFovs3Ys0PE-bG84awb--0bD=s90-c-e100"
  },
  "rating": {
  "liked": false,
  "disliked": false
  },
  "time": {
  "current": 43279,
  "total": 176000
  },
  "songLyrics": null,
  "shuffle": "NO_SHUFFLE",
  "repeat": "NO_REPEAT"
}

Is there a good way to get it to display on my stream as text format as "Artist - Song"
 

c3r1c3

Member
One (really techy) way is to use node.js to generate a web page from said info and load the URL into the Browser Source.
 

FerretBomb

Active Member
Not the best option if you want to keep the same music player, but Foobar2000 has a 'Now Playing Simple' plugin that allows you to specify (and do very basic scripting) output to a text file. That's what I use for my music overlay.
 
Top