Author Topic: Now Playing Plugin. Add genre?  (Read 3482 times)

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Now Playing Plugin. Add genre?
« on: November 16, 2017, 07:14:36 PM »
Is somebody can make Now Playing Plugin show the Genre.
I am willing to pay.
I am hosting educational radio for my students and they want to recognize what king of Dance you can dance on that song.
I already organize all my music library to Waltz, Tango, Cha Cha ... and put the correct Dance in Genre.

Have a web player which display the name of the song, but RadioDJ does not send a ~ $genre$
Is work right now only with Artist and Name of the songs ($artist$ ~ $title$)
Is somebody can add the Genre?

Link to the radio is:

https://www.dancepassionfl.com/

Thank you

Jhonny

  • Hero Member

  • Offline
  • *****
  • 4006
  • Personal Text
    Peace, enjoy life, last sleep is longer than live!
    • Jhonny's RadioDJ tutorials.
Re: Now Playing Plugin. Add genre?
« Reply #1 on: November 16, 2017, 09:04:44 PM »
You can send the $genre-id$ and in the script use it to get the genre from the database.

What file do you use?
From the docs folder of radiodj (RadioDJ\Docs\Now Playing Plugin Help\PHP Script\song_update1.php or song_update2.php) ?


R.T.F.M. means to me, Read The Fantastic Messages.
Einstein says: Make things simple, but don't make simple things simpler! (wise) this is just my life lesson you know.

I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Re: Now Playing Plugin. Add genre?
« Reply #2 on: November 16, 2017, 09:18:13 PM »
I am not using them. I am using the simple:

c:/Program Files x86/RadioDJ/Docs/now_playing.txt

send to

MB Recaster

then to

icecast

Jhonny

  • Hero Member

  • Offline
  • *****
  • 4006
  • Personal Text
    Peace, enjoy life, last sleep is longer than live!
    • Jhonny's RadioDJ tutorials.
Re: Now Playing Plugin. Add genre?
« Reply #3 on: November 16, 2017, 09:40:10 PM »
What RadioDJ version are you using?

R.T.F.M. means to me, Read The Fantastic Messages.
Einstein says: Make things simple, but don't make simple things simpler! (wise) this is just my life lesson you know.

I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Re: Now Playing Plugin. Add genre?
« Reply #4 on: November 17, 2017, 12:13:25 AM »
RadioDJ v1.8.2.0

Jhonny

  • Hero Member

  • Offline
  • *****
  • 4006
  • Personal Text
    Peace, enjoy life, last sleep is longer than live!
    • Jhonny's RadioDJ tutorials.
Re: Now Playing Plugin. Add genre?
« Reply #5 on: November 17, 2017, 12:52:15 AM »
Will see if it can be done, and have to test it.
Will take some time!


R.T.F.M. means to me, Read The Fantastic Messages.
Einstein says: Make things simple, but don't make simple things simpler! (wise) this is just my life lesson you know.

I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Re: Now Playing Plugin. Add genre?
« Reply #6 on: November 17, 2017, 01:07:17 AM »
thank you

Jhonny

  • Hero Member

  • Offline
  • *****
  • 4006
  • Personal Text
    Peace, enjoy life, last sleep is longer than live!
    • Jhonny's RadioDJ tutorials.
Re: Now Playing Plugin. Add genre?
« Reply #7 on: November 19, 2017, 02:05:34 AM »
I can't get it done with the txt file, sorry.
Maybe in the new version that there is the variable $genre$.
R.T.F.M. means to me, Read The Fantastic Messages.
Einstein says: Make things simple, but don't make simple things simpler! (wise) this is just my life lesson you know.

I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit  https://radiodj.info

Testing RadioDJ v2.0.2.0 Beta

Brodephat

  • Sr. Member

  • Offline
  • ****
  • 434
  • Personal Text
    Pushing content to the world via an ethernet cable
    • Free RadioDJ Video Tutorials
Re: Now Playing Plugin. Add genre?
« Reply #8 on: November 19, 2017, 08:38:36 AM »
Yeah, currently the genre "name" is not a part of the stream variables but could be added into the next version. You would have to have the genre id numbers listed as variables in your php script and assigned the name values to the corresponding id number in the script.

It can be done but not through RadioDJ unless you are connecting to the MYSQL database directly.

example php:

If genre Rock had the id number 12

if ($genreid == "12") { $genre = "Rock";
}
"Think Outside The Box And Make Something Truly Wonderful Happen"

My RadioDJ Stations:
NiaRadioNetwork.com
24HourPreachingNetwork.com
RealPeopleTalkRadio.com
TheTriadComeUp.com

Radio Imaging:
CarterScripts.com

Free RDJ Video tutorials
HowToUseRadioDJ.com

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Re: Now Playing Plugin. Add genre?
« Reply #9 on: November 20, 2017, 07:48:37 PM »
Thank you Jhonny & Brodephat for the effort. Changing the MYSQL is far away of my knowledge.
I will wait for next version of RadioDJ and hope this option will be added.

Thank you again.

Ivan

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Re: Now Playing Plugin. Add genre?
« Reply #10 on: January 12, 2018, 12:16:05 AM »
I upgrade RadioDJ to v 2.0.0
I have a lot more options, but still I can't make $gender$ to work

Everything else is work except $gender$

Any ideas?

Marius

  • Administrator
  • Hero Member

  • Offline
  • *****
  • 5689
    • Radio DJ
Re: Now Playing Plugin. Add genre?
« Reply #11 on: January 12, 2018, 08:06:07 AM »
Do you need GENDER or GENRE?
I ask this because you've mentioned both...
DOWNLOADS PAGE

HOW TO FIX RADIODJ DATABASE
----------------
Please don't PM me for support requests. Use the forums instead.

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Re: Now Playing Plugin. Add genre?
« Reply #12 on: January 12, 2018, 07:05:03 PM »
Sorry Marius
It is my mistake, English is not my first language.
I organize my music library to genre:
Waltz
Tango
Salsa
...

I want to educate my student, to show what dance is the song.
When I use:
$genre-id$ - $title$ - The beats per minute is: $bpm$

I got:
165 - Softly As I Leave You - The beats per minute is: 74

instead of:
Waltz - Softly As I Leave You - The beats per minute is: 74

DancePassionFL

  • New User

  • Offline
  • *
  • 12
Re: Now Playing Plugin. Add genre?
« Reply #13 on: January 12, 2018, 10:44:48 PM »
I did it.

I "trick" RadioDj.

Instead of "genre" I use "composer"

So first I replace the "composer" with "Waltz" or "Tango" or "Salsa" ....

Then my Now Playing Template is:

$composer$ - $title$ - The beats per minute is $bpm$

You can check at:

https://www.dancepassionfl.com/

Thank you Marius for that beautiful software.

Ivan


PresidentOfACPJ

  • Full Member

  • Offline
  • ***
  • 147
  • Personal Text
    We play all kinds of Rock!
    • RADIO ROCK FM - O ROCK ALTERNATIVO COM PITADAS DE CLASSIC ROCK!
Re: Now Playing Plugin. Add genre?
« Reply #14 on: February 13, 2019, 04:04:21 AM »
I wanna know if is it posible t add, the current song playing tags into radiodj database, gettint the tag on the web, then insertin into db then use heid sql manually or automatically to insert tags from database into original mp3 files.

IS IT POSIBLE?

i want to do it automatically in mass. a lot of files at the same time, can it be done automatically only by playing songs normally in radiodj, and using demoscript? nad maybe a script else to make the databse be inserted into mp3 files?

Does someone have this script?


THNK YOU GUYS.
Rádio Rock FM:

http://radiorockfm.com.br/
twitter.com/radiorockfmreal/
fb.com/radiorockfmreal/