RadioDJ - Free Radio Automation Software Forum

[SOLVED] Duplicated entries in Search Results

Offline RFU

  • ****
  • 447
    • Radio Free Ukraine
Re: Duplicated entries in Search Results
« Reply #15 on: August 06, 2018, 08:10:02 PM »
Quick question, what version of RadioDJ are you using?
Гордий бути українцем, Ми - Радіо Вільної України.

Re: Duplicated entries in Search Results
« Reply #16 on: August 06, 2018, 08:12:14 PM »
2.0.0.2 - search results online, not in rdj. the wp plugin
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

Offline RFU

  • ****
  • 447
    • Radio Free Ukraine
Re: Duplicated entries in Search Results
« Reply #17 on: August 06, 2018, 08:32:55 PM »
Unless DJ Garybaldy forgot to change the header, that script is for 1.8.2
Гордий бути українцем, Ми - Радіо Вільної України.

Offline DJ Garybaldy

  • *****
  • 3978
  • Never Get Angry At the Stupid People (Erasure)
    • DJ Garybaldy
Re: Duplicated entries in Search Results
« Reply #18 on: August 07, 2018, 09:07:00 AM »
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.
USER of RadioDJ since 2010

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

I cannot give help and support via Private message!

I'm not as scary as I look Honest!

My little pet project: https://t.co/YyVaPOBYBK

Re: Duplicated entries in Search Results
« Reply #19 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
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

Offline DJ Garybaldy

  • *****
  • 3978
  • Never Get Angry At the Stupid People (Erasure)
    • DJ Garybaldy
Re: Duplicated entries in Search Results
« Reply #20 on: August 07, 2018, 09:14:12 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

« Last Edit: August 07, 2018, 09:45:33 AM by DJ Garybaldy »
USER of RadioDJ since 2010

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

I cannot give help and support via Private message!

I'm not as scary as I look Honest!

My little pet project: https://t.co/YyVaPOBYBK

Re: Duplicated entries in Search Results
« Reply #21 on: August 07, 2018, 09:27:52 AM »
Php 7.1
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

Re: Duplicated entries in Search Results
« Reply #22 on: August 07, 2018, 09:43:16 AM »
You were right!!! The timezone was the problem!

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

Re: [SOLVED] Duplicated entries in Search Results
« Reply #23 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... :)
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

Offline DJ Garybaldy

  • *****
  • 3978
  • Never Get Angry At the Stupid People (Erasure)
    • DJ Garybaldy
Re: [SOLVED] Duplicated entries in Search Results
« Reply #24 on: August 07, 2018, 10:11:10 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)
USER of RadioDJ since 2010

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

I cannot give help and support via Private message!

I'm not as scary as I look Honest!

My little pet project: https://t.co/YyVaPOBYBK

Re: [SOLVED] Duplicated entries in Search Results
« Reply #25 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.
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com

Offline DJ Garybaldy

  • *****
  • 3978
  • Never Get Angry At the Stupid People (Erasure)
    • DJ Garybaldy
Re: [SOLVED] Duplicated entries in Search Results
« Reply #26 on: August 07, 2018, 10:54:11 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)
USER of RadioDJ since 2010

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

I cannot give help and support via Private message!

I'm not as scary as I look Honest!

My little pet project: https://t.co/YyVaPOBYBK

Re: [SOLVED] Duplicated entries in Search Results
« Reply #27 on: August 07, 2018, 10:59:33 AM »
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

Offline DJ Garybaldy

  • *****
  • 3978
  • Never Get Angry At the Stupid People (Erasure)
    • DJ Garybaldy
Re: [SOLVED] Duplicated entries in Search Results
« Reply #28 on: August 07, 2018, 11:19:04 AM »
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.
USER of RadioDJ since 2010

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

I cannot give help and support via Private message!

I'm not as scary as I look Honest!

My little pet project: https://t.co/YyVaPOBYBK

Re: [SOLVED] Duplicated entries in Search Results
« Reply #29 on: August 07, 2018, 11:20:20 AM »
Good point. Thanks man. You are a gold mine.
Lounge Avenue (Chillout Radio)
http://lounge-avenue.com