Author Topic: Encoder Plugin v2.0 for RDJ  (Read 8900 times)

SnowHow

  • Hero Member

  • Offline
  • *****
  • 911
  • Personal Text
    A-1 Radio - The Variety Channel
    • A-1 Radio - The Variety Channel
Encoder Plugin v2.0 for RDJ
« on: July 09, 2013, 12:33:00 AM »
Update 7-8-13

Encoder Plugin v2.0 is finally here!

Corrected confirmation dialog to cancel without deleting anything [FIXED]

User can click directly on LED image in connected column to start/stop encoder [NEW]

Shoutcast v2 encoding support with statistics [NEW]



Because of the new updates, the tables in the Plugin_Encoders_List.xml file have changed.

The easy way:

Simply delete Plugin_Encoders_List.xml and recreate your encoders

The advanced way:

If you don't want to recreate everything again, you can edit the xml file. Open Plugin_Enoders_List.xml in notepad and find this line under each encoder you have created:

Code: [Select]
<IsPublic>True</IsPublic>

below that add this line:
Code: [Select]
    <streamID>1</streamID>

Now find this line (the value may vary):
Code: [Select]
<reConnectSeconds>10</reConnectSeconds>

Copy the value from there and change this line:

Code: [Select]
<reConnect>True</reConnect>

To this:
Code: [Select]
<reConnect>10</reConnect>

Do that to each encoder you have in the xml file and save it. If you did it correctly RDJ will come right up

I recommend just recreating your encoders over again, but that is up to you... :)

It's becoming too much of a hassle to keep two different projects identical, so there will not be a C# version.

The files:

Plugin_Encoder.VB.2.0.zip - Encoder plugin

EncoderPlugin2.0.zip - Download link for installer or no install zip file



Enjoy!  ;D


J-


[attachment deleted by admin]

704djs

  • Hero Member

  • Offline
  • *****
  • 928
  • Personal Text
    704djs We break records like Dj's suppose
    • Hot 107.9 fm
Re: Encoder Plugin v2.0 for RDJ
« Reply #1 on: July 09, 2013, 04:51:40 AM »
i think i did it right to get Shoutcast v2 encoding show with statistics i deleted the encoder and re set them we use the VB.2.0 - Encoder plugin
Beat 94.7/Hot 107.9  fm banging the hitz that you wanna hear.

Vanlen

  • Hero Member

  • Offline
  • *****
  • 1165
    • Music for your senses
Re: Encoder Plugin v2.0 for RDJ
« Reply #2 on: July 09, 2013, 10:05:02 AM »
Quote
Shoutcast v2 encoding support with statistics [NEW]
YES!

Thanks for the update

Cheers
Forest Green - Music in Nature's Frequency
www.forestgreenradio.ca

DJ Garybaldy

  • Global Moderator
  • Hero Member

  • Offline
  • *****
  • 4374
  • Personal Text
    Don't Shoot! I'm only the Moderator
    • DJ Garybaldy Blog
Re: Encoder Plugin v2.0 for RDJ
« Reply #3 on: July 09, 2013, 12:52:13 PM »
Think i have it sorted now for some reason the plugin_encoders file was in the wrong location.  :bash:


Added a clean copy of the plugin_encoders_list.xml file just incase anyone else has issues just unzip and place inside the plugins folder.

[attachment deleted by admin]
Retired Radio DJ & Proud USER of RadioDJ since 2010

https://djgarybaldy.blogspot.com

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

Think of RadioDJ as the Swiss Army Knife of radio playout software

Rcflyer30

  • Guest
Re: Encoder Plugin v2.0 for RDJ
« Reply #4 on: July 10, 2013, 08:32:50 PM »
Ok thanks. I changed it from 172.0.0.1 to localhost and that seemed to do the trick.

704djs

  • Hero Member

  • Offline
  • *****
  • 928
  • Personal Text
    704djs We break records like Dj's suppose
    • Hot 107.9 fm
Re: Encoder Plugin v2.0 for RDJ
« Reply #5 on: July 11, 2013, 09:10:30 PM »
we can't get the listeners count to come up and we are running shoutcast version 2 as well as version 1
and on both test feed there is no number count showing
Beat 94.7/Hot 107.9  fm banging the hitz that you wanna hear.

ThP

  • Full Member

  • Offline
  • ***
  • 102
Re: Encoder Plugin v2.0 for RDJ
« Reply #6 on: July 12, 2013, 01:52:04 AM »
It seems to be a problem with the plugin some encoder 2.0.
It add to database history some empty lines every 15 seconds (artist and title fields are blank, the rest filled with 0/default date). The weird part is that if you change the track, the lines are deleted from the database. After a few seconds, begin to add lines.
If I close RDJ, the line are deleted. I was not careful to see if the index is incremented.
I turned off, one by one, each plugin (moved from the directory).
some encoder 2.0, RDJ 1.6.4.2RC1, Windows 7 Ultimate x86, net Framework 2.xx.

A picture is worth 1000 words.

[attachment deleted by admin]

Marius

  • Administrator
  • Hero Member

  • Offline
  • *****
  • 5688
    • Radio DJ
Re: Encoder Plugin v2.0 for RDJ
« Reply #7 on: July 12, 2013, 06:29:59 AM »
That's something weird thing over there! Are you sure that some encoder is writing to the history table? Normally, that's rdj's job, but i checked my history and i don't have anything suspect there.
If you remove the some encoder plugin, this behavior disappears?

LATER: i would try to run a repair on songs and history table and a scan for invalid files.
The fact that the invalid entries are disappearing is normal because there is a query that removes the entries older than your "days to keep to history" setting.
DOWNLOADS PAGE

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

ThP

  • Full Member

  • Offline
  • ***
  • 102
Re: Encoder Plugin v2.0 for RDJ
« Reply #8 on: July 12, 2013, 02:14:27 PM »
I'm not sure that some encoder is writing to mysql.
I'm sure that when some encoder is enable, that lines are added. Maybe from here I draw the conclusion that some encoder is to blame. Sory.


This morning i've tested some encoder 1.5 (old ver).
Same problem but only 1 row is inserted and always the latest (as ID). When track change the following sequence occurs:
- The last "empty" line is deleted;
- The correct line with artist/title is added;
- After few seconds the empty line is added.

With some encoder 2.0, same sequence but multiple lines are added/deleted.

Screens here.

Remember that the interval when the lines are added is 10-15 seconds. So what function has in RDJ a 10-15 seconds a check/refresh interval.

I've tested with mysql on:
- localhost (windows xampp) MySQL Server version: 5.1.41
- remote (on same lan Centos 6.4) MySQL Server version: 5.1.69
- remote (on same lan Slackware 14.??) MySQL Server version: 5.5.27

Marius, I can run a teamviewer to see in realtime. PM for details.

Marius

  • Administrator
  • Hero Member

  • Offline
  • *****
  • 5688
    • Radio DJ
Re: Encoder Plugin v2.0 for RDJ
« Reply #9 on: July 12, 2013, 02:34:54 PM »
I still don't get it, if you remove the some encoder plugin from rdj, these things doesn't happen anymore?
About the teamviewer, it would be great, but now i'm at my job so i can't.
DOWNLOADS PAGE

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

ThP

  • Full Member

  • Offline
  • ***
  • 102
Re: Encoder Plugin v2.0 for RDJ
« Reply #10 on: July 12, 2013, 03:48:18 PM »
Without some encoder, no problems.


[attachment deleted by admin]

SnowHow

  • Hero Member

  • Offline
  • *****
  • 911
  • Personal Text
    A-1 Radio - The Variety Channel
    • A-1 Radio - The Variety Channel
Re: Encoder Plugin v2.0 for RDJ
« Reply #11 on: July 12, 2013, 04:04:16 PM »
I'm at a bit of a loss...

A******t uses depends on the history plugin to make entries. The encoder only populates the listeners number....


DJ Garybaldy

  • Global Moderator
  • Hero Member

  • Offline
  • *****
  • 4374
  • Personal Text
    Don't Shoot! I'm only the Moderator
    • DJ Garybaldy Blog
Re: Encoder Plugin v2.0 for RDJ
« Reply #12 on: July 12, 2013, 04:15:20 PM »
I've noticed when the listener count increases it can sometime freeze radiodj don't know if that's connected to ThP's problem or not. Other than that the encoders are working great especially the opus encoder.
Retired Radio DJ & Proud USER of RadioDJ since 2010

https://djgarybaldy.blogspot.com

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

Think of RadioDJ as the Swiss Army Knife of radio playout software

ThP

  • Full Member

  • Offline
  • ***
  • 102
Re: Encoder Plugin v2.0 for RDJ
« Reply #13 on: July 12, 2013, 04:18:01 PM »
I've noticed when the listener count increases it can sometime freeze radiodj don't know if that's connected to ThP's problem or not. Other than that the encoders are working great especially the opus encoder.

Shoutcast server & RDJ are on the same machine ?
Try to increase metainterval on shoutcast config.

DJ Garybaldy

  • Global Moderator
  • Hero Member

  • Offline
  • *****
  • 4374
  • Personal Text
    Don't Shoot! I'm only the Moderator
    • DJ Garybaldy Blog
Re: Encoder Plugin v2.0 for RDJ
« Reply #14 on: July 12, 2013, 04:18:47 PM »
Shoutcast server & RDJ are on the same machine ?
Try to increase metainterval on shoutcast config.

No both the Icecast and Shoutcast servers are on our VPS.
Retired Radio DJ & Proud USER of RadioDJ since 2010

https://djgarybaldy.blogspot.com

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

Think of RadioDJ as the Swiss Army Knife of radio playout software