Author Topic: LAST PLAYED  (Read 351 times)

manishboyradio

  • Full Member

  • Offline
  • ***
  • 135
LAST PLAYED
« on: January 04, 2019, 10:07:14 PM »
is there anyway to make radio dj create a last played text file as it is playing live?, so it updates a text file with the most recent songs played?

plauri

  • Hero Member

  • Offline
  • *****
  • 1263
    • Funky Corner Radio
Re: LAST PLAYED
« Reply #1 on: January 05, 2019, 12:34:00 AM »
It's what the program does since the early versions. Just say to your encoder to look into your NowPlaying.txt which should be located in radiodj directory. 
Funky Corner Radio
http://www.funkycorner.it
http://www.radiofunkycorner.com

manishboyradio

  • Full Member

  • Offline
  • ***
  • 135
Re: LAST PLAYED
« Reply #2 on: January 05, 2019, 01:45:46 AM »
I am talking about files that have played, not currently playing which is what the now playing text file is. I want a text file as radio dj is playing to create record of what has played, no currently playing

plauri

  • Hero Member

  • Offline
  • *****
  • 1263
    • Funky Corner Radio
Re: LAST PLAYED
« Reply #3 on: January 05, 2019, 02:45:18 AM »
Look at Jhonny site, he has scripts that can make it https://radiodj.info/
Funky Corner Radio
http://www.funkycorner.it
http://www.radiofunkycorner.com

Jhonny

  • Hero Member

  • Offline
  • *****
  • 3493
  • Personal Text
    Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: LAST PLAYED
« Reply #4 on: January 05, 2019, 10:37:09 AM »
You can use reports to make a txt file.
With this template file - General - Last Played Tracks on date.html.
Put it in the c:\RadioDJv2\templates\reports\ folder.
Only tested on last 5 days.
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.1.6 Beta

manishboyradio

  • Full Member

  • Offline
  • ***
  • 135
Re: LAST PLAYED
« Reply #5 on: January 12, 2019, 01:49:38 AM »
Is there anyway to setup a query to run within radio dj to generate a file that shows what has played within the last 20 min?

manishboyradio

  • Full Member

  • Offline
  • ***
  • 135
Re: LAST PLAYED
« Reply #6 on: January 13, 2019, 04:37:53 PM »
I am sorry but i am not familiar with all the scripting for that, what would be the query string i would need to run to get the last, lets say 15 tracks played. Then put that into a text file or a html file?

Thanks in advance

Calypso

  • Sr. Member

  • Offline
  • ****
  • 367
Re: LAST PLAYED
« Reply #7 on: January 14, 2019, 08:33:30 AM »
I am sorry but i am not familiar with all the scripting for that, what would be the query string i would need to run to get the last, lets say 15 tracks played. Then put that into a text file or a html file?

Thanks in advance

You could use a query like

Quote
select date_played,artist, title from history where date_played>date_sub(now(), interval 15 minute);


manishboyradio

  • Full Member

  • Offline
  • ***
  • 135
Re: LAST PLAYED
« Reply #8 on: January 14, 2019, 06:11:14 PM »
Could you please give a full example? with the query creating a text or html file, Again i appreciate your help

Thanks,
Andrew

manishboyradio

  • Full Member

  • Offline
  • ***
  • 135
Re: LAST PLAYED
« Reply #9 on: January 14, 2019, 06:55:31 PM »
Awesome, this helps a bunch, i am looking to use this to integrate this into my twitch stream, so that OBS streaming software reads that text file generated to show what had played recently. unless you know of another way to have OBS streaming software to read last played information from Radio DJ. or integrate into twitch

Thanks again