home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
OnlineVideos 2.8.0.1 [2025/02/16]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pilehave" data-source="post: 1199653" data-attributes="member: 71550"><p>Hi again</p><p></p><p>Other question, I would like to add a custom setting in the Sites tab for the DR TV site, I had hoped that it was easy. Took a look at the YouTube site, as it has many fields:</p><p></p><p>[ATTACH]183243[/ATTACH] </p><p> </p><p>In my plugin I have added this code:</p><p></p><p>[code] public enum VideoSubtitles { Enabled, Disabled };</p><p></p><p> [Category("OnlineVideosUserConfiguration"), LocalizableDisplayName("Subtitles", TranslationFieldName = "Subtitles"), Description("Choose if subtitles should be enabled or disabled.")]</p><p> VideoSubtitles subtitleState = VideoSubtitles.Disabled;[/code]</p><p></p><p>This doesn't actually do anything yet, but I need to sort the error first.</p><p></p><p>OLV casts an error when I click the "Sites" tab. Why is that? Do I really need al the localization that is in the YouTube plugin?</p><p></p><p>[code]Se slutningen af denne meddelelse, hvis du vil have detaljer om,</p><p>hvordan du starter JIT-fejlfinding i stedet for denne dialogboks.</p><p></p><p>************** Undtagelsestekst **************</p><p>System.NullReferenceException: Objektreferencen er ikke indstillet til en forekomst af et objekt.</p><p> ved System.Windows.Forms.PropertyGridInternal.GridEntry.NonParentEquals(Object obj)</p><p> ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.FindEquivalentGridEntry(GridEntryCollection ipeHier)</p><p> ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.GridPositionData.Restore(PropertyGridView gridView)</p><p> ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.Refresh(Boolean fullRefresh, Int32 rowStart, Int32 rowEnd)</p><p> ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.Refresh()</p><p> ved System.Windows.Forms.PropertyGrid.Refresh(Boolean clearCached)</p><p> ved System.Windows.Forms.PropertyGrid.set_SelectedObjects(Object[] value)</p><p> ved System.Windows.Forms.PropertyGrid.set_SelectedObject(Object value)</p><p> ved OnlineVideos.MediaPortal1.Configuration.siteList_SelectionChanged(Object sender, EventArgs e)</p><p> ved BrightIdeasSoftware.ObjectListView.OnSelectionChanged(EventArgs e)</p><p> ved BrightIdeasSoftware.ObjectListView.HandleApplicationIdle(Object sender, EventArgs e)</p><p> ved System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)</p><p> ved System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)</p><p> ved System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)</p><p> ved System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)</p><p> ved System.Windows.Forms.Application.RunDialog(Form form)</p><p> ved System.Windows.Forms.Form.ShowDialog(IWin32Window owner)</p><p> ved System.Windows.Forms.Form.ShowDialog()</p><p> ved OnlineVideos.MediaPortal1.GUIOnlineVideos.MediaPortal.GUI.Library.ISetupForm.ShowPlugin()</p><p> ved MediaPortal.Configuration.Sections.PluginsNew.itemConfigure_Click(Object sender, EventArgs e)</p><p> ved System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)</p><p> ved System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)</p><p> ved System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)</p><p> ved System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)</p><p> ved System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)</p><p> ved System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)</p><p> ved System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)</p><p> ved System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)</p><p> ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)</p><p> ved System.Windows.Forms.Control.WndProc(Message& m)</p><p> ved System.Windows.Forms.ScrollableControl.WndProc(Message& m)</p><p> ved System.Windows.Forms.ToolStrip.WndProc(Message& m)</p><p> ved System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)</p><p> ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)</p><p> ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)</p><p> ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)[/code]</p></blockquote><p></p>
[QUOTE="pilehave, post: 1199653, member: 71550"] Hi again Other question, I would like to add a custom setting in the Sites tab for the DR TV site, I had hoped that it was easy. Took a look at the YouTube site, as it has many fields: [ATTACH]183243[/ATTACH] In my plugin I have added this code: [code] public enum VideoSubtitles { Enabled, Disabled }; [Category("OnlineVideosUserConfiguration"), LocalizableDisplayName("Subtitles", TranslationFieldName = "Subtitles"), Description("Choose if subtitles should be enabled or disabled.")] VideoSubtitles subtitleState = VideoSubtitles.Disabled;[/code] This doesn't actually do anything yet, but I need to sort the error first. OLV casts an error when I click the "Sites" tab. Why is that? Do I really need al the localization that is in the YouTube plugin? [code]Se slutningen af denne meddelelse, hvis du vil have detaljer om, hvordan du starter JIT-fejlfinding i stedet for denne dialogboks. ************** Undtagelsestekst ************** System.NullReferenceException: Objektreferencen er ikke indstillet til en forekomst af et objekt. ved System.Windows.Forms.PropertyGridInternal.GridEntry.NonParentEquals(Object obj) ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.FindEquivalentGridEntry(GridEntryCollection ipeHier) ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.GridPositionData.Restore(PropertyGridView gridView) ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.Refresh(Boolean fullRefresh, Int32 rowStart, Int32 rowEnd) ved System.Windows.Forms.PropertyGridInternal.PropertyGridView.Refresh() ved System.Windows.Forms.PropertyGrid.Refresh(Boolean clearCached) ved System.Windows.Forms.PropertyGrid.set_SelectedObjects(Object[] value) ved System.Windows.Forms.PropertyGrid.set_SelectedObject(Object value) ved OnlineVideos.MediaPortal1.Configuration.siteList_SelectionChanged(Object sender, EventArgs e) ved BrightIdeasSoftware.ObjectListView.OnSelectionChanged(EventArgs e) ved BrightIdeasSoftware.ObjectListView.HandleApplicationIdle(Object sender, EventArgs e) ved System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) ved System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) ved System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) ved System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) ved System.Windows.Forms.Application.RunDialog(Form form) ved System.Windows.Forms.Form.ShowDialog(IWin32Window owner) ved System.Windows.Forms.Form.ShowDialog() ved OnlineVideos.MediaPortal1.GUIOnlineVideos.MediaPortal.GUI.Library.ISetupForm.ShowPlugin() ved MediaPortal.Configuration.Sections.PluginsNew.itemConfigure_Click(Object sender, EventArgs e) ved System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) ved System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) ved System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) ved System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) ved System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) ved System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) ved System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) ved System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) ved System.Windows.Forms.Control.WndProc(Message& m) ved System.Windows.Forms.ScrollableControl.WndProc(Message& m) ved System.Windows.Forms.ToolStrip.WndProc(Message& m) ved System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
OnlineVideos 2.8.0.1 [2025/02/16]
Contact us
RSS
Top
Bottom