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

[SOLVED] Duplicated entries in Search Results

Started by unpetru, August 06, 2018, 01:36:31 PM

RFU

Quick question, what version of RadioDJ are you using?
Гордий бути українцем, Ми - Радіо Вільної України.

unpetru

2.0.0.2 - search results online, not in rdj. the wp plugin
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

RFU

Unless DJ Garybaldy forgot to change the header, that script is for 1.8.2
Гордий бути українцем, Ми - Радіо Вільної України.

DJ Garybaldy

Quote from: RFU on August 06, 2018, 08:32:55 PM
Unless DJ Garybaldy forgot to change the header, that script is for 1.8.2
Which header?

The script has been tested with v1.8.2 & the recent 2.x.x versions,

I've not heard of other people having this issue.
Worlds Biggest Fan of RadioDJ

Install MariaDB https://djgarybaldy.blogspot.com/2020/08/installing-maria-db.html

Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

Into Internet radio for 25 years 1999-2024

RadioDJ 2045 MariaDB 11.2 Windows 11

unpetru

So, after the first request it says I might make another one in 5 minutes. After 6-7 minutes, when I request, it says i have to wait almost 120 minutes.

Could you please find out the problem? It's really annoying and I need this script so bad... :(

Thanks man
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

DJ Garybaldy

#20
Quote from: unpetru on August 07, 2018, 09:09:53 AM
So, after the first request it says I might make another one in 5 minutes. After 6-7 minutes, when I request, it says i have to wait almost 120 minutes.

Could you please find out the problem? It's really annoying and I need this script so bad... :(

Thanks man
I've looked again at the script example you supplied your Time zone hasn't been changed to match your countries timezone maybe that isn't helping matters.

http://php.net/manual/en/timezones.php

Worlds Biggest Fan of RadioDJ

Install MariaDB https://djgarybaldy.blogspot.com/2020/08/installing-maria-db.html

Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

Into Internet radio for 25 years 1999-2024

RadioDJ 2045 MariaDB 11.2 Windows 11

unpetru

Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

unpetru

You were right!!! The timezone was the problem!

Thanks man!
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

unpetru

Have you thought of introducing a MOST REQUESTED category in your script? It would be nice to have a top 10 requested songs... :)
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

DJ Garybaldy

Quote from: unpetru on August 07, 2018, 09:56:35 AM
Have you thought of introducing a MOST REQUESTED category in your script? It would be nice to have a top 10 requested songs... :)
We're working on a PHP website template for RadioDJ and that is one of the pages planned, but for now i can't give you an ETA because the script hasn't really been started on yet my code monkey, He only has so much time in a week he can dedicate to any scripting.
I'm sure if you search the forums there may already be a script to show the most requested (I could be wrong)
Worlds Biggest Fan of RadioDJ

Install MariaDB https://djgarybaldy.blogspot.com/2020/08/installing-maria-db.html

Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

Into Internet radio for 25 years 1999-2024

RadioDJ 2045 MariaDB 11.2 Windows 11

unpetru

Is there a way to remove the name of the listener who requests songs? It adds "requested by" in the titles and because of that the album cover is not displayed in the webplaer, because the title is modified.
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

DJ Garybaldy

Quote from: unpetru on August 07, 2018, 10:19:57 AM
Is there a way to remove the name of the listener who requests songs? It adds "requested by" in the titles and because of that the album cover is not displayed in the webplaer, because the title is modified.

You do that from Options>Stream Titles>File Type Titles>Request  and change the stream variable to show something like this

$artist$ - $title$ (Requested)

Click the save Icon and the username won't go out over stream titles (You may need to restart RadioDJ for changes to take effect)
Worlds Biggest Fan of RadioDJ

Install MariaDB https://djgarybaldy.blogspot.com/2020/08/installing-maria-db.html

Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

Into Internet radio for 25 years 1999-2024

RadioDJ 2045 MariaDB 11.2 Windows 11

unpetru

Ok, but how can I delete the sections for Name and Message in the script without messing around with the code?
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

DJ Garybaldy

You need the Username requirement in the script otherwise you're going to be flooded with Spam requests (It technically stops bots from requesting) The username doesn't take up much space in the requests table so don't worry about it.

You could add a captcha somehow but that's something you would have to code yourself.
Worlds Biggest Fan of RadioDJ

Install MariaDB https://djgarybaldy.blogspot.com/2020/08/installing-maria-db.html

Install RadioDJ: https://djgarybaldy.blogspot.com/2020/08/how-to-install-radiodj-free-radio.html

Into Internet radio for 25 years 1999-2024

RadioDJ 2045 MariaDB 11.2 Windows 11

unpetru

Good point. Thanks man. You are a gold mine.
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com