Skip to Content
It is currently March 24th, 2023, 1:16 am

All times are UTC - 6 hours [ DST ]




 [ 2 posts ] 
Author Message
PostPosted: October 8th, 2016, 9:50 am 
Offline
New User
New User

Joined: October 2nd, 2010, 3:06 pm
Posts: 6
i am using a studio clock called studio screen from charlie davy but it only wants to
read current song playing from a .txt file. basically songpath=C:\studio screens/currentsong.txt so how can i export whats playing on sam broadcaster to a .txt file.

thank you


Top
 Profile  
 
PostPosted: October 8th, 2016, 10:30 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
I suggest you take a look at the HTML Output functionality of SAM.
Don't let the name trick you, the templates shipping with SAM contain HTML markup, but in the end HTML is nothing but specially formatted text files.
The HTML Output feature works with a template file that contains placeholder texts and SAM replacing the placeholder stuff to generate a new file.
(usually the template and output file have almost the same name, but the template file has a leading underscore)

There's externsive documentation for the Template language in the Help menu of SAM.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
 
Display posts from previous:  Sort by  
 [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group