Question / Help How To Display "Current Song is X" on Mac?

SaviorSelf

New Member
Hello,

I just downloaded the script, I followed all the steps and OBS still doesn't allow me to select the created .txt file. I don't know why.
 

Luchador138

New Member
@SaviorSelf I had the same problem when this program was released the file you created in step 4 of the stuff you have to do just needs the name to have a .txt next to you can do that by clicking on get info and going to name and extension and change it there, then the program will work fine!
 

Olympia

New Member
Hi @dzomb, I'm having problems with your script and Spotify. It stopped writing the name of the song in the specified .txt file. Any suggestions? It was working just fine, but then one day it decided not to. I have read that Spotiy doesn't play nice with AppleScript, so I reverted to an old version of spotify and Edited one of the app files. No luck.

Thanks!
 
@dzomb Everything works perfect for me (Spotify) thanks! Only problem I have is that the text source in OBS doesn't stay centered, its position depends on the length of the track title. Any idea how to center the text file?
 

Ricktastic

New Member
@dzomb Everything works perfect for me (Spotify) thanks! Only problem I have is that the text source in OBS doesn't stay centered, its position depends on the length of the track title. Any idea how to center the text file?

In OBS, after you make the text element and it displays text, secondary click on it in the elements list and click 'filters'. From here you can create a 'scroll' filter which can have a fixed width and cause it to scroll in the defined space. The only problem I've had with this is that there is no space between the end of the song and the beginning of the artist name...
 

gscottmalibu

New Member
I have created a Mac OSX workflow that will do exactly what you want. It gets the current iTunes song title, artist and album and writes it to a text file every couple seconds. You can thusly add a text source in OBS, check the read from file box and browse "/Users/user/Desktop/songupdater.txt." This will put the current iTunes song title, artist and album on your stream and update it at the interval of your choice. You can also change the format. I hope this helps! Enjoy!

There are additional directions on the GitHub page.

Here is a link to the Mac OSX iTunes Song Info Stream Tool: https://github.com/deathstar/stream-itunes-song-info
 

brianhollowayjr

New Member
i threw together this apple script to grab the itunes now-playing info and write it to a text file every 5 seconds... kind of a hack but it works

https://github.com/dzomb/tuneout
There was a snag when setting it up initially but I figured it out: the script is a bit dated and has "iTunes.app" as the default player. This needs to be replaced with "Music.app" (even though the ".app" extension disappears after inputting and running, it's still needed) and then hit the play button up top to run the script to a success.

Also by default, the saved file name doesn't include an extension so you manually have to add ".txt" to your file name.

Thank you for this great solution, really helps even years later!
 
Top