[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.


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.