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

Teaser - Help!

Started by bazclack, May 27, 2014, 03:02:05 PM

chitam007

#15
Hi

I tried it, but nothing load.  Therefore I create a shortcut to manually Generate Preview for Current Playlist, but I got the following errors:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Plugin_Teaser.PluginClass.GenPreview(Boolean WithElements)
   at Plugin_Teaser.PluginClass.RunAction(String ActionName, String[] args)
   at RadioDJ.MainForm.MainFormKeyDown(Object sender, KeyEventArgs e)
   at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Form.ProcessKeyPreview(Message& m)
   at System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
RadioDJ
    Assembly Version: 1.6.5.8
    Win32 Version: 1.6.5.8
    CodeBase: file:///C:/RadioDJ/RadioDJ.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
PluginInterface
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/RadioDJ/PluginInterface.DLL
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
MdiTabControl
    Assembly Version: 1.1.4874.26969
    Win32 Version: 1.1.4874.26969
    CodeBase: file:///C:/RadioDJ/MdiTabControl.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Devart.Data.MySql
    Assembly Version: 6.60.268.0
    Win32 Version: 6.60.268.0
    CodeBase: file:///C:/RadioDJ/Devart.Data.MySql.DLL
----------------------------------------
Devart.Data
    Assembly Version: 5.0.367.0
    Win32 Version: 5.0.367.0
    CodeBase: file:///C:/RadioDJ/Devart.Data.DLL
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
VU_MeterLibrary
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/RadioDJ/VU_MeterLibrary.DLL
----------------------------------------
JCS.Components.NeroBar
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/RadioDJ/JCS.Components.NeroBar.DLL
----------------------------------------
Bass.Net
    Assembly Version: 2.4.10.3
    Win32 Version: 2.4.10.3
    CodeBase: file:///C:/RadioDJ/Bass.Net.DLL
----------------------------------------
Bass.Net
    Assembly Version: 2.4.9.1
    Win32 Version: 2.4.9.1
    CodeBase: file:///C:/RadioDJ/Plugins/Bass.Net.dll
----------------------------------------
Plugin_AuxPlayers
    Assembly Version: 2.5.0.0
    Win32 Version: 2.5.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_AuxPlayers.dll
----------------------------------------
Plugin_Carts
    Assembly Version: 2.5.0.0
    Win32 Version: 2.5.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_Carts.dll
----------------------------------------
Plugin_DSP
    Assembly Version: 1.0.5013.23894
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_DSP.dll
----------------------------------------
Plugin_Encoder
    Assembly Version: 1.0.5234.40261
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_Encoder.dll
----------------------------------------
Plugin_History
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_History.dll
----------------------------------------
Plugin_PlayingInfo
    Assembly Version: 3.1.0.0
    Win32 Version: 3.1.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_PlayingInfo.dll
----------------------------------------
Plugin_Playlist
    Assembly Version: 3.5.3.0
    Win32 Version: 3.5.3.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_Playlist.dll
----------------------------------------
Plugin_PlaylistBuilder
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_PlaylistBuilder.dll
----------------------------------------
Plugin_Search
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_Search.dll
----------------------------------------
Plugin_SongDetails
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_SongDetails.dll
----------------------------------------
Plugin_SoundProcessing
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_SoundProcessing.dll
----------------------------------------
Plugin_Teaser
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_Teaser.dll
----------------------------------------
Plugin_TracksManager
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_TracksManager.dll
----------------------------------------
Plugin_Utilities
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/RadioDJ/Plugins/Plugin_Utilities.dll
----------------------------------------
SPB
    Assembly Version: 1.0.3529.753
    Win32 Version: 1.0.3529.753
    CodeBase: file:///C:/RadioDJ/SPB.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.





Quote from: Jhonny on June 04, 2014, 12:00:43 AM
Generate Preview for Current playlist

as it says Generate on the playlist

So make a event like

clear play list
load play list
Generate Preview for Current playlist
Start play

   try this.
grtz.

molnarb83

This is a coolest plugin in radiodj...

But a feature request, Marius! :) If it's not big problem.

I can set the teasers number, so the plugin puts teasers randomly to playlist. But it would be cool to set the plugin, to set the next song's teaser.
The commercials are come with an event at RadioDJ, and would be nice to put a teaser before commercial break, which song will be come after the short break, but at this moment, the program puts the teasers randomly, so at this time not sure is the next song's teaser will be played by the plugin. Can you put this function? That would be nice before the breaks (news, commercial, etc.)

rogiermaas

Quote from: molnarb83 on June 04, 2014, 03:08:44 PM
This is a coolest plugin in radiodj...

But a feature request, Marius! :) If it's not big problem.

I can set the teasers number, so the plugin puts teasers randomly to playlist. But it would be cool to set the plugin, to set the next song's teaser.
The commercials are come with an event at RadioDJ, and would be nice to put a teaser before commercial break, which song will be come after the short break, but at this moment, the program puts the teasers randomly, so at this time not sure is the next song's teaser will be played by the plugin. Can you put this function? That would be nice before the breaks (news, commercial, etc.)

That's weird: before my commercial break, I do a teaser-insert (so the playlist I had still stands, it just inserts the teasers, commercials and jingles, etc) and it plays in the correct order. My Rotation is set to Least Times Played; perhaps the plugin doesn't actually read the playlist (which I can't imagine) but I'm sure Marius can explain what it does under the hood.

Tip: don't clear the playlist before loading your teasers and TOTH-things, just insert them on top.

- Rogier
DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

nitram78

I think I get what molnarb83 means, in that the "ORDER" of songs in the teaser plugin, don't follow the same order as they are being picked up in the playlist??

If so, maybe this could be an option in Plugin....total songs selected "x" and then play found songs as either "Play songs in Order" or "Play songs at Random"


molnarb83

Quote from: nitram78 on June 04, 2014, 05:48:42 PM
If so, maybe this could be an option in Plugin....total songs selected "x" and then play found songs as either "Play songs in Order" or "Play songs at Random

Yeah! Absolutely!

chitam007

Hi Everyone,

Can someone help me? or point out what I did wrong?

I created a shortcut to manually Generate Preview for Current Playlist, but I got the error.

However, if I created by using the "Dry" playlist, it works just fine.

Thanks,

Regards

Danny

Jhonny

#21
Well then I guess you do not have the correct settings, a start, next and end sweeper / jingle.

J.

PS. I have one folder and three subfolders created in my library miziek
called
teasers
- start (sub in teasers)
- next (sub in teasers)
- end (sub in teasers)

And it filled them.

And in options >> categorys
In main
Teasers and in the sub start, next and end.




[attachment deleted by admin]
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

chitam007

Hi J,

I am not sure why it does not work.  Please see attached screen of my setting and point out what I did wrong ?  :-[

Thanks,

Regards,

Danny

Quote from: Jhonny on June 05, 2014, 05:40:55 PM
Well then I guess you do not have the correct settings, a start, next and end sweeper / jingle.

J.

PS. I have one folder and three subfolders created in my library miziek
called
teasers
- start (sub in teasers)
- next (sub in teasers)
- end (sub in teasers)

And it filled them.

And in options >> categorys
In main
Teasers and in the sub start, next and end.

Jhonny

Mis a attached screen.
J.
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

chitam007

See Attached in this post and next post

Quote from: Jhonny on June 05, 2014, 09:42:49 PM
Mis a attached screen.
J.

[attachment deleted by admin]

chitam007



rogiermaas

Well those look perfectly fine to me. I also have those categories. I found, however, that if you select an empty category in the plugin (Teaser>Trans for instance and you don't have a Transition-sound in it), it doesn't work. My transition sound is of the Sound Effect-type by the way.

Hope this helps.

- Rogier
DJ Garybaldy is RIGHT! RadioDJ WILL defeat the Evil SAM!
Musicbox Live! - musicboxlive.nl

chitam007

Hi J and Rogier,

Thank you so much for your help.  I got it to work. 

J - Thanks for helping with the configuration and the format.

Rogier - Thanks for point out the problem that we MUST have something in all three phrases (Start, Next, and END), otherwise it will not work. 

Regards,

Danny

Quote from: rogiermaas on June 10, 2014, 06:05:54 PM
Well those look perfectly fine to me. I also have those categories. I found, however, that if you select an empty category in the plugin (Teaser>Trans for instance and you don't have a Transition-sound in it), it doesn't work. My transition sound is of the Sound Effect-type by the way.

Hope this helps.

- Rogier

Jhonny

No thanks, and have fun with RDJ.

Grtz. J.
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