RadioDJ - Free Radio Automation Software Forum

Weather Forecast for use with the TTS plugin.

Offline Jhonny

  • *****
  • 3753
  • Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Weather Forecast for use with the TTS plugin.
« on: January 03, 2016, 06:11:20 PM »
Got a nice upload, a php script for the weather.

Have placed it in the download.


The explanation on how to use with RadioDJ is in the readme file of the pakket.

Also how to make an event for it.

Thank you Buttons for the upload and the programmer Mark van Bellen.

Credits goes to you.  :cool:
« Last Edit: June 23, 2019, 10:42:23 AM by Jhonny »
R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

Re: Weather Forecast for use with the TTS plugin.
« Reply #1 on: January 06, 2016, 01:44:27 PM »
this is nice.
how do i setup TTS to read the text file? should that be part of the same event or another event?


Offline Jhonny

  • *****
  • 3753
  • Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: Weather Forecast for use with the TTS plugin.
« Reply #2 on: January 06, 2016, 02:40:00 PM »
I had no time to install the phpdev server, but used my webserver.

This is how i made the event to a announcement of the weather.

[attachment deleted by admin]
« Last Edit: January 06, 2016, 02:51:23 PM by Jhonny »
R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

Re: Weather Forecast for use with the TTS plugin.
« Reply #3 on: January 06, 2016, 05:24:50 PM »
thanks, will test it out. i didnt know only the file name is needed. i used full path to .txt file
got the weather downloaded which is good.

Re: Weather Forecast for use with the TTS plugin.
« Reply #4 on: January 06, 2016, 08:26:46 PM »
how can i add overlay track/music to this event?

Offline Jhonny

  • *****
  • 3753
  • Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: Weather Forecast for use with the TTS plugin.
« Reply #5 on: January 06, 2016, 11:11:59 PM »
You can test this:

Load track
Play
wait 25
TTS weather



R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

Re: Weather Forecast for use with the TTS plugin.
« Reply #6 on: January 07, 2016, 02:35:52 PM »
You can test this:

Load track
Play
wait 25
TTS weather

will test it. is the current time from php? I notice its not correct even with my correct time zone set

Offline Jhonny

  • *****
  • 3753
  • Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: Weather Forecast for use with the TTS plugin.
« Reply #7 on: January 07, 2016, 03:35:04 PM »
it's pc time and wait is 25 sec.

R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

Re: Weather Forecast for use with the TTS plugin.
« Reply #8 on: January 07, 2016, 11:58:25 PM »
date_default_timezone_set("America/New_York")
the time is incorrect. what do i use for est?

Offline Jhonny

  • *****
  • 3753
  • Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: Weather Forecast for use with the TTS plugin.
« Reply #9 on: January 08, 2016, 09:53:56 AM »
date_default_timezone_set("America/New_York")
the time is incorrect. what do i use for est?

date_default_timezone_set('America/New_York'); or date_default_timezone_set("America/New_York"); is for the est.

I do not know what the problem may be.

R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

Re: Weather Forecast for use with the TTS plugin.
« Reply #10 on: November 25, 2017, 04:52:47 PM »
Hi Jhonny, I'm the original programmer for the weather script. The download is no longer there - I think this might be because you've updated your site. I was actually digging around in there to see what was there as I'm setting up a new RadioDJ for a friend. I've probably still got the script if you're missing it - just e-mail me and can send again. Buttons (Mark)

Offline Jhonny

  • *****
  • 3753
  • Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: Weather Forecast for use with the TTS plugin.
« Reply #11 on: November 26, 2017, 07:02:33 AM »
Send a email to you, thanks.

« Last Edit: November 26, 2017, 10:15:31 AM by Jhonny »
R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

Offline Chip Douglas Mosley

  • ****
  • 376
  • Retired disc jockey and radio programmer
    • Jukebox 92.7 WEPQ
Re: Weather Forecast for use with the TTS plugin.
« Reply #12 on: November 27, 2017, 12:09:38 AM »
I'd like to get a copy of that script, too. Thanks!
Chip Douglas Mosley
Jukebox 92.7 WEPQ
www.jukebox927.com
Radio DJ user since 2016, Live365 since 2019
Now using v2.0.2.0 since January 19, 2020

Offline DJ Garybaldy

  • *****
  • 4118
  • Never Get Angry At the Stupid People (Erasure)
    • DJ Garybaldy
Re: Weather Forecast for use with the TTS plugin.
« Reply #13 on: November 27, 2017, 11:45:01 AM »
Local Weather forecasts on Internet radio are a bit odd especially if you have listeners from all over the world #JustSaying
USER of RadioDJ since 2010

Running RadioDJ on a computer with 32GB RAM & i5 processor.

Useful RadioDJ information : https://djgarybaldy.co.uk/category/radiodj/

I cannot give help and support via Private message!

My little pet project: https://djgarybaldy.co.uk/what-am-i-listening-to/

Offline Capt_Fuzzy

  • *****
  • 1080
  • "Quiet numbskulls, I'm broadcasting!" ~ Moe Howard
    • WVRR - Ridgerunners Radio
Re: Weather Forecast for use with the TTS plugin.
« Reply #14 on: November 27, 2017, 01:22:49 PM »
Local Weather forecasts on Internet radio are a bit odd especially if you have listeners from all over the world #JustSaying
Yup, that's one of the reasons that I don't do weather reports...
If the listener is somewhere local, it might be useful, but if they are clear on the other side of the world, it ain't gonna do them much good... :D
Steve 'Capt Fuzzy' Wade
Proud & Satisfied "Long-term" RadioDJ User
(Currently making the transition to v2)

WVRR - Ridgerunners Radio
The best mix of your favorites!