Article 5DQ6W [Streaming on Linux] Integrate Cmus with OBS

[Streaming on Linux] Integrate Cmus with OBS

by
Ghost-Order
from LinuxQuestions.org on (#5DQ6W)
I stream on twitch using OBS, to play music i use Cmus, I would like to have a "now playing" overlay in my stream that shows info about the current track Cmus is playing.

OBS have a function which allows you to display a text as overlay while you are streaming, it could be a static text o a text from a file.

I found a script called cmus-status-line which prints to the terminal information about the currently playing track from Cmus(artist, track, etc). My issue is I don't know how to integrate the output from cmus-status-line with OBS, I guess a rough way would be to create a script that prints the output of cmus-statu-line to a file every x seconds, but I guess there are better ways.latest?d=yIl2AUoC8zA latest?i=InEJh97kXnA:bB0jiQBnbOE:F7zBnMy latest?i=InEJh97kXnA:bB0jiQBnbOE:V_sGLiP latest?d=qj6IDK7rITs latest?i=InEJh97kXnA:bB0jiQBnbOE:gIN9vFwInEJh97kXnA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments