[Info] - MPExtended 0.6 Beta Release | Page 7

Discussion in 'MPExtended' started by DieBagger, April 22, 2014.

Loading...
  1. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    This is the standalone version but I can bulid the IIS one too.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. DragonQ

    DragonQ Portal Pro

    Joined:
    August 30, 2011
    Messages:
    644
    Likes Received:
    61
    Ratings:
    +74 / 2
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    The IIS version would be great, thanks a lot. I had do some trickery to get it all working so I'm hoping I either noted the steps down or it just works when upgrading...
     
  4. Threadmarks: WebMediaPortalIIS v6.0 Beta
    regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    WebMediaPortalIIS v6.0 Beta
     

    Attached Files:

    • Thank You! Thank You! x 1
  5. DragonQ

    DragonQ Portal Pro

    Joined:
    August 30, 2011
    Messages:
    644
    Likes Received:
    61
    Ratings:
    +74 / 2
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Seems to work, thanks for that. For anyone else wanting to get it working, I had to put my customised streaming profiles back because the new version of MPExtended overwrites them by default, and then I had to edit the default profiles in WebMediaPortal.xml to ones that actually existed.
     
    • Like Like x 1
  6. DragonQ

    DragonQ Portal Pro

    Joined:
    August 30, 2011
    Messages:
    644
    Likes Received:
    61
    Ratings:
    +74 / 2
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    I understand this is part of the API, but it wasn't implemented in aMPdroid. I can't find anything in MPTvScheduler that suggests it supports it either. :(
     
  7. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Yes because there is no information regards audio channels in live tv. So there is api to select audio channel but you don't know how many audio channels are there.
     
  8. DragonQ

    DragonQ Portal Pro

    Joined:
    August 30, 2011
    Messages:
    644
    Likes Received:
    61
    Ratings:
    +74 / 2
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    I assume it chooses stream 0 by default; I know for UK TV you usually want to pick the second audio stream (i.e. stream 1) since the first is audio description. There are some cases where there is only one stream though. I wonder how the MediaPortal main client application does it? It has settings for choosing AC3 over MP2 for example, so I assume it must have more knowledge about the available streams than MPExtended provides.
     
  9. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    In general each player (TV/TsReader, DVD, video etc.) implements the IPlayer interface:
    https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/Player/IPlayer.cs#L87

    ...which exposes a bunch of properties:
    • AudioStreams = get the number of audio streams available
    • CurrentAudioStream = get/set the index of the current audio stream
    • AudioLanguage = get the language for the audio stream with a given index
    • AudioType = get the type for the audio stream with a given index

    For TV and radio that player interface is implemented here:
    https://github.com/MediaPortal/Medi...mediaportal/Core/Player/BaseTSReaderPlayer.cs
    https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/Player/TSReaderPlayer.cs

    ...using the IAMStreamSelect interface provided by TsReader:
    https://msdn.microsoft.com/en-us/library/windows/desktop/dd319793(v=vs.85).aspx

    So the number of audio streams is definitely available from the lowest levels for TV (and radio). Whether higher layers such as MPExtended expose those details/properties is a different question.
     
    • Like Like x 1
    • Thank You! Thank You! x 1
  10. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    MPExtended:

    1. call InitStream (result true or false). This will start timeshifting.
    2. call StartStreamWithStreamSelection (result the url of the stream). This will start ffmpeg/vlc transcoding. It means you have to set audio id without you know anything from the stream.


    InitStream

    Parameters
    • type (WebMediaType)
    • provider (nullable int)
    • itemId (string)
    • clientDescription (string)
    • identifier (string)
    • idleTimeout (nullable int)
    Returns
    WebStringResult
    • Result (string)
    StartStreamWithStreamSelection
    Parameters
    • identifier (string)
    • profileName (string)
    • startPosition (long)
    • audioId (int)
    • subtitleId (int)
    Returns
    WebStringResult
    • Result (string)
     
    • Like Like x 1
    • Informative Informative x 1
  11. pünktchen

    pünktchen Portal Pro

    Joined:
    October 26, 2010
    Messages:
    537
    Likes Received:
    147
    Ratings:
    +200 / 0
    Home Country:
    Germany Germany
    You could try to call "GetMediaInfo" between "InitStream" and "StartStreamWithStreamSelection". Probably you have to check for timeshift file existence before calling "GetMediaInfo".
     
    • Great Idea! Great Idea! x 1
Loading...
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!