TuneOut

Non-OBS Script TuneOut 0.2

dzomb

New Member
dzomb submitted a new resource:

TuneOut - Add iTunes now-playing info to OBS multiplatform with this script

An apple script that writes iTunes song and artist information to a text file for use with the "text-from-file" feature of OBS streaming software. TuneOut and OBS, used together, will display iTunes now-playing information during a stream.

First Time Running:

  1. Download TuneOut.scpt from my github repo

  2. Run the script and press cancel when asking where "TuneOut" application is (will only happen on first run) - AppleScript Editor will open.

  3. Go to File > Export - File Format:...
Read more about this resource...
 

HarryThomas

New Member
Hi, please help me, I have made the app but when i try to load the text document in obs it won't let me select it D: cheers, Harry
 

brianfarts

New Member
Here's an adjusted version for everyone who want's to use Vox as their MP3 player

Code:
try
    tell application "Finder"
        display dialog "Create or Select a text file for OBS to reference." buttons {"Continue"} default button "Continue"
       
        set referenceText to open for access (choose file name) with write permission
    end tell
end try


tell application "VOX"
    try
        repeat
            if player state is 1 then
                set this_track to track
                set track_artist to artist
               
                set eof of referenceText to 0
                write this_track to referenceText
                write " - " to referenceText
                write track_artist to referenceText
               
            end if
           
            if player state is 0 then
                exit repeat
            end if
           
            delay 5
           
        end repeat
    end try
end tell

tell application "TextEdit"
    try
        set eof of referenceText to 0
        write "Stopped" to referenceText
    end try
   
    try
        close access referenceText
    end try
    display dialog "Thanks for using this! - follow me on twitch @ im_dzomb" buttons {"Quit"} default button "Quit"
    quit
end tell
 

Pastor_Adem

New Member
I seem to be having a problem with trying to play Apple Music. It shuts down the script. Do I need to edit the script in some way?
 
Top