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

Now Playing Plugin. Add genre?

Started by DancePassionFL, November 16, 2017, 07:14:36 PM

DancePassionFL

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

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 ( ͡° ͜ʖ ͡°)
The Radiodj tutorials site is now managed by Domstad radio .nl still  Just in English

DancePassionFL

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

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 ( ͡° ͜ʖ ͡°)
The Radiodj tutorials site is now managed by Domstad radio .nl still  Just in English


Jhonny

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 ( ͡° ͜ʖ ͡°)
The Radiodj tutorials site is now managed by Domstad radio .nl still  Just in English


Jhonny

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 ( ͡° ͜ʖ ͡°)
The Radiodj tutorials site is now managed by Domstad radio .nl still  Just in English

Brodephat

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"

Youtube Channel: https://bit.ly/3fGBsKJ

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

Radio Imaging & Tools:
CarterScripts.com

Free RDJ Videos:
HowToUseRadioDJ.com

DancePassionFL

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

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

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

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

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

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.
KBMZ RADIO:

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

studioflashback.com.br
twitter: @radiosflashback
fb: @radiostudioflashback

BR The Classic Rock:
radiorockfm.com.br/br
twitter. @classicrockbr
fb: @classicrockbr

ZTOP:
radiorockfm.com.br/ztop
twitter: @ztop
fb: @ztop