• Welcome to RadioDJ - Free Radio Automation Software Forum. Please log in or sign up.

PHP script to list and correct errors in cue-points

Started by rogiermaas, December 06, 2014, 06:30:24 PM

rogiermaas

I've made a script that lists, identifies and optionally corrects errors in cue-points.
To install, extract the three files from the zip-archive to any directory on your webserver. The MySQL-server doesn't have to run on the same server, but the webserver needs to have access to the MySQL-server in order to work.

DISCLAIMER: This program is provided as-is, without ANY warranty. Please BACKUP your database before use.

I would like to hear any thoughts..

Have fun!

- Rogier

[attachment deleted by admin]
DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

Filip83

www.diskonektedmusic.com
www.soundcloud.com/diskonekted

Jhonny

Currently on
RDJ V 2.0.4.8
MariaDB V 10.6.21
WIN 11 PRO

Filip83

This is how it looks like.

Is this right?

[attachment deleted by admin]
www.diskonektedmusic.com
www.soundcloud.com/diskonekted

ChristophePE22

I also had this error
the appeal has the php form

Replace <? with <?php

Replace <? echo with <?php echo

Jhonny

No, it looks like.

Did the script changed a bit.

Jh.

Ps. edit the index.php file to connect to the database.

[attachment deleted by admin]
Currently on
RDJ V 2.0.4.8
MariaDB V 10.6.21
WIN 11 PRO

Jhonny

If there is a error you see fix this.
In this case, it deletes the intro
This is too small.

see the pic

jh.

[attachment deleted by admin]
Currently on
RDJ V 2.0.4.8
MariaDB V 10.6.21
WIN 11 PRO

rogiermaas

Quote from: starm on December 11, 2014, 11:03:46 PM
I also had this error
the appeal has the php form

Replace <? with <?php

Replace <? echo with <?php echo
I think that is due to the fact that you aren't running PHP5 or you run this on an IIS-server?
I run Linux CentOS with Apache, MySQL and PHP (LAMP).

- Rogier
DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

rogiermaas

By the way,

How about you all comment your findings/errors here so I can modify the script. Thus avoiding having various versions where in version 'Jhonny 2' has the <php tags and version 'Mike 5' has listings for the newest tracks but not the <php tags?

- Rogier (working on a newer version as we speak)
DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

Pegbars

Quote from: rogiermaas on December 06, 2014, 06:30:24 PM
I've made a script that lists, identifies and optionally corrects errors in cue-points.

That's great, Rogier!  What do you mean, though, by cue point errors?  Do you mean cues disappearing or errors in timing accuracy?  I don't think I've ever noticed cues becoming inaccurate in RDJ.  Not like they are with, for example, DirEttore (MixTime).

rogiermaas

Quote from: Pegbars on December 12, 2014, 04:32:58 PM
That's great, Rogier!  What do you mean, though, by cue point errors?  Do you mean cues disappearing or errors in timing accuracy?  I don't think I've ever noticed cues becoming inaccurate in RDJ.  Not like they are with, for example, DirEttore (MixTime).
On our station, we have certain rules in regard to the timing of cuepoints. For instance, a track with an intro of less than 2 seconds is too short for a sweeper; a time between 'Start Next' and 'End' of more than 6 seconds is unwanted, because the current track would be audible through the newly started track.

To check tracks for these kinds of 'errors', I have made this script.  ;)

- Rogier
DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

Jhonny

Quote- Rogier (working on a newer version as we speak)

Hi, Rogier is it posseble to select a column so you can turn it off like Hooks not everyone uses this option.

Jh.
Currently on
RDJ V 2.0.4.8
MariaDB V 10.6.21
WIN 11 PRO

rogiermaas

DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

rogiermaas

Okay, here is the new script  8)

Version 1.2 Changes:

- Added possibility of disabling columns/checks
- Added possibility of reversing sort order (as to display latest added tracks first)
- Added separate configfile
- Some minor bug fixes

Have fun!

- Rogier

[attachment deleted by admin]
DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

Jhonny

I Have fun.  :cool:

My question is what happens if I use fix?
Removed the settings or adjustments are made?

Made 2 pic. Standard and hooks of.

Jh.


[attachment deleted by admin]
Currently on
RDJ V 2.0.4.8
MariaDB V 10.6.21
WIN 11 PRO