Total page Hits: 779   Receive Total of Visitors: 6132 since January 2021© radiodj.info 2012 - 2021 All rights reserved. Site Disclaimer     
Home Search
Send Data This page was last modified on 17 May 2021 11:05

There is 1 visitor on this page.   Most visitors on this page same time: 7 on June 9th, 2021

Sending data to your website

This option can only be use as your site make use of php files

Check the folder c:\RadioDJv2\Docs\Now Playing Plugin Help\

Read the manual.pdf file how this will work.

A Brief summary:

In the folder c:\RadioDJv2\Docs\Now Playing Plugin Help\PHP Script\ are two files
song_update1.php
song_update2.php

Afther reading the file manual.pdf
Open one of the two files you will like to use, with a plain editor like notepad.

Edit the following part.

date_default_timezone_set('Europe/Bucharest'); //Change this to your time/zone
$datafile = "data.txt"; //How is named the txt file? leave like that as is.
$lines2display = 3; //How many entries to display?
$pswd = "changeme"; //The password set in rdj options

When you have edited the file, rename it to song_update.php

FTP the file and the file data.txt to your website.
You will need to set "data.txt" as writeable (777).

Next step:

Open the Now Playing Info Exporter Web tab.

URL = http://yourdomain.com/Folder name (iIf the file is in a folder)/song_update.php
OR
https://yourdomain.com/Folder name (if the file is in a folder)/song_update.php

    Password = Your Set password

    Custom Data = - (a dash)

    Export Method = POST or GET or GET (CUSTOM) (Select Enable )

Click on the green plus to make the line.(don't forget to check the Enable box.)

Just save all. In the php file where you like to show the info set:

‹? php include("song_update.php"); ?>

When the file is in a folder:

‹? php include("(folder name)/song_update.php"); ?>

Make sure what will be send in the tab Filters!