Mediasite Plugin For MediaPortal (1 Viewer)

morpheus_xx

Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    pushed changes right now: menu button is there, screen loads, button can be clicked :)

    will be back tomorrow, TV time
     

    Vic Demented

    Retired Team Member
  • Premium Supporter
  • March 4, 2013
    42
    25
    49
    Brugge, Belgium
    United States of America United States of America
    So I made the change you suggested and placed a breakpoint on EnterModelContext, and it never fires. When is this supposed to fire?

    Code:
    public void EnterModelContext(NavigationContext oldContext, NavigationContext newContext)
    	{
    		_Presentations = loadPresentations();
     
    	}
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    The reason for not executing the EnterModelContext is a missing definition inside plugin.xml WorkflowStates:
    <Register Location="/Workflow/States">
    <WorkflowState Id="23DB4E53-EB0D-4315-9F4C-F5E1C13577C7" Name="MediasiteMain" MainScreen="MediasiteMainscreen"
    DisplayLabel="[Mediasite.StateDisplayLabel]" WorkflowModel="89A89847-7523-47CB-9276-4EC544B8F19A"/> <!-- Mediasite plugin model -->
    </Register>
    A note to language file:
    You have added ">>>" as text. When this is stored in xml, it needs to be escaped: "&gt;&gt;&gt;". I really wonder that the reader supports this unescaped form ;)
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    hehe, no :)

    But we have XAML and a powerful animation system. What you want to achieve?

    Next thing for coding would be to add a ListView to the -main.xaml Screen that uses the Presentation as binding source.
     

    Vic Demented

    Retired Team Member
  • Premium Supporter
  • March 4, 2013
    42
    25
    49
    Brugge, Belgium
    United States of America United States of America
    hehe, no :)

    But we have XAML and a powerful animation system. What you want to achieve?

    Next thing for coding would be to add a ListView to the -main.xaml Screen that uses the Presentation as binding source.

    Well the reason I asked was because mediasite requires (without some modification on my side) that we use their player SDK because it generates a 'playback ticket' which is required to play the stream. If you look at the list of objects I returned, you will notice the URL requires this playbackTicket.
     

    Vic Demented

    Retired Team Member
  • Premium Supporter
  • March 4, 2013
    42
    25
    49
    Brugge, Belgium
    United States of America United States of America
    "Next thing for coding would be to add a ListView to the -main.xaml Screen that uses the Presentation as binding source."
    So are you going to be working on that Morpheus? Sonic Foundry agreed to give us a development server so that I can make the modifications I need to their authentication provider (since we can't use their player api), so I will need to begin setting that up.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    Ok, I will add a basic list view later today.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    I created a new screen for showing all Presentations in a list (left side menu). On selection it loads all slides of selected presentation. They will be displayed in a second ListView on right side, but I couldn't find an example with items.

    So generally we have a good base for browsing presentations and slides and executing commands on the selected items.

    I removed all unneeded comments and code from Example-Plugin copy. Don't wonder about the many changes, it's mainly about style and naming conventions. Especially your "tab indentation" in VS is not setup "correctly". Please take a look at this wiki page: http://wiki.team-mediaportal.com/1_...t/Coding_Standards?highlight=coding+standards, configure VS accordingly and please try to keep up on those guidelines :)

    I've warned you :D ;)
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    C Can the XmlTv Plugin handle 600+ channels? General 3
    M Online Video Plugin V.2.32 keine Installtion unter MediaPortal 1.22 ? TV / Streaming 3
    emphatic Pictures in the cloud - would a plugin be possible for services like Google Photos MediaPortal 1 Plugins 1
    C where is the Online Videos plugin General Support 1
    Similar threads

























    Top Bottom