Skip to Content
It is currently February 22nd, 2018, 12:48 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: USA News Help
PostPosted: November 12th, 2008, 12:04 pm 
Offline
New User
New User

Joined: July 7th, 2005, 1:39 am
Posts: 14
I recently started to air the top of the hour news breaks from USARadio, the problem I'm having is trying to get sam to download the file and play it I try to use the pal below but it doesn't put in the actual file just a placeholder that is much smaller in file size then what it should be so sam ignores it. Or is there another way I could try, I am trying to download the file via ip switch ftp pro with a scheduler and not having any luck at all with that but that is another matter.


Code:
VAR filename,url : string;
PAL.Loop:=FALSE;

filename:='E:\Music Files\USA Radio News\toh.mp3';
//URL Syntax: ftp://username:password@domain.de/folder/filename.ext
url:='ftp://username:password@theurlforftpusa.com/toh.mp3';

Webtofile(filename,url);
Queue.AddFile(filename,ipTop);


Top
 Profile  
Reply with quote  
 Post subject: Re: USA News Help
PostPosted: November 12th, 2008, 8:06 pm 
Offline
Junior User
Junior User

Joined: October 4th, 2008, 12:35 pm
Posts: 39
Location: Kaufbeuren, Germany
Do you need to keep the file? I usually just stream it down directly from the newscaster, like this:

Code:
// Sky News.PAL - U.K. news at full hour

PAL.Loop := True;
PAL.WaitForTime('XX:59:53');
Queue.AddFile('M:\MP3\Other\Jingles\MCH\Moonbase - News 2.mp3', ipTop);
Queue.AddURL('http://xxx.xyz.com/newspath/newsfile.mp3', ipTop);
Queue.AddFile('M:\MP3\Other\Jingles\MCH\Moonbase - Newstime.mp3', ipTop);
if ActivePlayer <> nil then ActivePlayer.FadeToNext;

_________________
Moonbase: The Problem Solver
I will not give any support for unlicensed or pirated software.


Top
 Profile  
Reply with quote  
 Post subject: Re: USA News Help
PostPosted: November 12th, 2008, 11:37 pm 
Offline
New User
New User

Joined: July 7th, 2005, 1:39 am
Posts: 14
I would like it to download from the site only, I have tried the link in opera and the file playes but it doesn't in IE7 and FF3 and SAM, currently have it downloading via ftp to my local drive then sam picks up from there.


Top
 Profile  
Reply with quote  
 Post subject: Re: USA News Help
PostPosted: November 12th, 2008, 11:46 pm 
Offline
Senior User
Senior User

Joined: February 21st, 2008, 1:16 pm
Posts: 198
Location: south eastern TN
how did you get USA news to return your calls i tried for 2 months to get the news for my station

_________________
talk, music, rants, raves, poetry.. LIFE!
http://www.radiodentata.com


Top
 Profile  
Reply with quote  
 Post subject: Re: USA News Help
PostPosted: November 13th, 2008, 7:37 am 
Offline
New User
New User

Joined: July 7th, 2005, 1:39 am
Posts: 14
It took awhile myself but have to be persistent.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 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