OnlineVideos 2.5.0.0 [2024/11/11] (6 Viewers)

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Is there a way to mark videos that I want to play on youtube using my computer and then find those through Online videos?
    You can link the YouTube site in OV with your youtube account.
    After that simply add videos to your watch later, subscription playlist or whatever on the YouTube website. Yu will see them as well in OV.
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    Is there a way to mark videos that I want to play on youtube using my computer and then find those through Online videos?

    Add them to watch later, or start them on your computer and go to Online Videos watch history in YouTube.

    Edit: Ignore me, this was already answered.

    Emph
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Hi

    I'm having issues with a part of the DR TV plugin in OLV called "Bonanza". It uses rather old rtmp-streams...
    Playing back streams gives me stutter like in the screenshot below:

    Bonanza issue.jpg

    Now, the call in OLV looks like this:
    string vUrl = new MPUrlSourceFilter.RtmpUrl("rtmp://" + q_l[1]) { PlayPath = playpath }.ToString();

    Is this using the MP URL Source Splitter?
    https://forum.team-mediaportal.com/...ortal-url-source-splitter-iptv-filter.121165/

    My guess is not. If possible, what should I do to fix my issue? I have it on both Windows 7 and Windows 10 PC's. Both using LAV for playback.

    Thanks :)
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    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:

    YouTube.PNG

    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;

    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)
     

    Attachments

    • DR TV.PNG
      DR TV.PNG
      49.5 KB

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    What happens if you try it with a static text instead of a localized one?
    If i use the following code, I get no exception:
    Code:
    [Category("OnlineVideosUserConfiguration"), LocalizableDisplayName("Subtitles"), Description("Choose if subtitles should be enabled or disabled.")]
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Well the class OnlineVideos.Translation does not have a field named "Subtitles", thats why you get a null pointer exception ;)
    Or simpler: We do not have a translation for "Subtitles" yet.
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    Hi.

    Problem with Amazon Prime UK.

    in logs - "Login at AP failed." - clearly most obvious cause, idiot cannot type in password correctly, but I have [to remove ANY possibility I cut & pasted user name and password from Chrome settings, on same machine after checking I can open & play Grand Tour:-] and have checked, so guessing change in API at Amazon end.

    Logs.

    Cheers - JCMP
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Hi.

    Problem with Amazon Prime UK.

    in logs - "Login at AP failed." - clearly most obvious cause, idiot cannot type in password correctly, but I have [to remove ANY possibility I cut & pasted user name and password from Chrome settings, on same machine after checking I can open & play Grand Tour:-] and have checked, so guessing change in API at Amazon end.

    Logs.

    Cheers - JCMP
    Can you please try this attached SiteUtil? It contains more features and was only tested inside MP2. But it should work in MP1 as well.
    New features:
    • InputStream player to support DRM protected content by internal players, incl. E-AC3 playback (MP2 only, one additional file needed)
    • New video categories "only less than 30 days available"
    Please extract the siteutil to C:\ProgramData\Team MediaPortal\MP2-Client\OnlineVideos\SiteUtils (for MP2), for MP1 I don't know.
     

    Attachments

    • OnlineVideos.Sites.JSurf.dll.7z
      271.8 KB

    Users who are viewing this thread

    • ysmp
    Top Bottom