Using MePo TV Server 1.23 via MPExtended/WebMediaPortal as a Backend for Plex

Discussion in 'MPExtended' started by benicehavefun, October 25, 2019.

  1. benicehavefun

    benicehavefun Portal Member

    Joined:
    September 12, 2014
    Messages:
    41
    Likes Received:
    4
    Ratings:
    +13 / 0
    Home Country:
    United States of America United States of America
    Love MediaPortal 1! I've been using it for years, originally with the MePo client and for the last few years as a backend for Kodi. The TV Server support for the HD-PVR and IP channel tuning allows me to use MePo with DirecTV -- which works great.



    My current interest is to get TV Server working with Plex, so I can use the HD-PVR with a cable TV box in a remote location. This local cable company has poor support for the HDHomeRun Prime (via CableCard), so using a capture box like the HD-PVR looks like a good option. Remote recording of OTA broadcasts is an area where Plex has really gotten good, and so I'd like to throw some remote cable box recording into the mix.

    My plan is to use a virtual tuner for Plex, that supports M3U playlists, called xTeVe:

    xTeVe - IPTV for Plex DVR

    Based on an older post in this very forum, I believe I have what I need to be able to create an M3U playlist for all channels through MPExtended and WebMediaPortal:

    is ther a mpextended plugin (slimtv) for mp1

    Post #5 has some specific information about doing this, the problem is I don't understand how to go about it. Specifically, this part:

    Can anyone decipher the above, and give me some additional detail on how to create an M3U playlist for all channels? It's easy enough to output an M3U for a single channel -- which, I've done and tested via VLC. So, the basics are all working. Here's what my M3U looks like for one channel:

    I especially don't understand the first part beginning with SELECT. I this a database command? Or, is it some sort of HTML or other code I'm supposed to execute somewhere to generate the M3U playlist? Is that playlist then static, or does it have to be regenerated regularly? Why is the transcoder different, and what's the significance of that? Why does my single channel playlist have a continuationId and the example doesn't? More questions than answers at this point -- sorry.

    The approach I'm planning to take would be:

    TV Server --> MediaPortal Extended / WebMediaPortal --> xTeVe Virtual Tuner --> Plex Media Server
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,821
    Likes Received:
    2,788
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,788 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Its DB Command and for you:
    Code (Text):
    1. SELECT concat('#EXTINF:0,',displayName) , concat('http://hometheater-pc2:8080/Stream/TV?item=',idChannel,'&transcoder=Android VLC HD') FROM channel where isTV=1;
    If in DB one channel with displayName - NFL Network HD and idChannel - 382 should return:
    Code (Text):
    1. #EXTINF:-1, NFL Network HD
    2. http://hometheater-pc2:8080/Stream/TV?item=382&transcoder='Android VLC HD'
     
  4. benicehavefun

    benicehavefun Portal Member

    Joined:
    September 12, 2014
    Messages:
    41
    Likes Received:
    4
    Ratings:
    +13 / 0
    Home Country:
    United States of America United States of America
    Thanks for responding! I've made some progress since I originally posted this, including determining that this was a MySQL command. I've been using MySQL Workbench, which I've only used occasionally in the past -- but have been able to output an M3U file that xTeVe has been able to import. And, it looks like this:

    Code (Text):
    1. #EXTM3U
    2. #EXTINF:-1,The Movie Channel (Pacific)
    3. http://hometheater-pc2:8080/Stream/TV?item=364&transcoder=Android%20VLC%20Direct
    4. #EXTINF:-1,Encore Classic
    5. http://hometheater-pc2:8080/Stream/TV?item=365&transcoder=Android%20VLC%20Direct
    6. #EXTINF:-1,Encore Suspense
    7. http://hometheater-pc2:8080/Stream/TV?item=366&transcoder=Android%20VLC%20Direct
    8. #EXTINF:-1,Encore Black
    9. http://hometheater-pc2:8080/Stream/TV?item=367&transcoder=Android%20VLC%20Direct
    10. #EXTINF:-1,Encore (Pacific)
    11. http://hometheater-pc2:8080/Stream/TV?item=371&transcoder=Android%20VLC%20Direct
    12. #EXTINF:-1,CBSw (KCBS-DT)
    13. http://hometheater-pc2:8080/Stream/TV?item=372&transcoder=Android%20VLC%20Direct
    14. #EXTINF:-1,NBCw (KNBC-DT)
    15. http://hometheater-pc2:8080/Stream/TV?item=373&transcoder=Android%20VLC%20Direct
    16. #EXTINF:-1,ABCw (KABC-DT)
    17. http://hometheater-pc2:8080/Stream/TV?item=374&transcoder=Android%20VLC%20Direct
    18. #EXTINF:-1,FOXw (KTTV-DT)
    19. http://hometheater-pc2:8080/Stream/TV?item=375&transcoder=Android%20VLC%20Direct
    20. #EXTINF:-1,AXS TV
    21. http://hometheater-pc2:8080/Stream/TV?item=377&transcoder=Android%20VLC%20Direct
    22. #EXTINF:-1,ESPN HD
    23. http://hometheater-pc2:8080/Stream/TV?item=378&transcoder=Android%20VLC%20Direct
    24. #EXTINF:-1,The Movie Channel HD
    25. http://hometheater-pc2:8080/Stream/TV?item=379&transcoder=Android%20VLC%20Direct
    26. #EXTINF:-1,Encore HD
    27. http://hometheater-pc2:8080/Stream/TV?item=380&transcoder=Android%20VLC%20Direct
    28. #EXTINF:-1,Turner Network TV HD
    29. http://hometheater-pc2:8080/Stream/TV?item=381&transcoder=Android%20VLC%20Direct
    30. #EXTINF:-1,NFL Network HD
    31. http://hometheater-pc2:8080/Stream/TV?item=382&transcoder=Android%20VLC%20Direct
    32. #EXTINF:-1,ESPN2 HD
    33. http://hometheater-pc2:8080/Stream/TV?item=383&transcoder=Android%20VLC%20Direct
    34. #EXTINF:-1,NBA TV HDTV
    35. http://hometheater-pc2:8080/Stream/TV?item=384&transcoder=Android%20VLC%20Direct
    36. #EXTINF:-1,NBC Sports Network HD
    37. http://hometheater-pc2:8080/Stream/TV?item=385&transcoder=Android%20VLC%20Direct
    38. #EXTINF:-1,Audience Channel
    39. http://hometheater-pc2:8080/Stream/TV?item=386&transcoder=Android%20VLC%20Direct
    40. #EXTINF:-1,National Geographic Channel HD
    41. http://hometheater-pc2:8080/Stream/TV?item=387&transcoder=Android%20VLC%20Direct
    42. #EXTINF:-1,Home & Garden Television HD
    43. http://hometheater-pc2:8080/Stream/TV?item=388&transcoder=Android%20VLC%20Direct
    44. #EXTINF:-1,Lifetime Movie Network HD
    45. http://hometheater-pc2:8080/Stream/TV?item=390&transcoder=Android%20VLC%20Direct
    46. #EXTINF:-1,The Learning Channel HD
    47. http://hometheater-pc2:8080/Stream/TV?item=391&transcoder=Android%20VLC%20Direct
    48. #EXTINF:-1,History HD
    49. http://hometheater-pc2:8080/Stream/TV?item=392&transcoder=Android%20VLC%20Direct
    50. #EXTINF:-1,Big Ten HD
    51. http://hometheater-pc2:8080/Stream/TV?item=393&transcoder=Android%20VLC%20Direct
    52. #EXTINF:-1,USA Network HD
    53. http://hometheater-pc2:8080/Stream/TV?item=394&transcoder=Android%20VLC%20Direct
    54. #EXTINF:-1,TBS HD
    55. http://hometheater-pc2:8080/Stream/TV?item=395&transcoder=Android%20VLC%20Direct
    56. #EXTINF:-1,FX HD
    57. http://hometheater-pc2:8080/Stream/TV?item=396&transcoder=Android%20VLC%20Direct
    58. #EXTINF:-1,Syfy HD
    59. http://hometheater-pc2:8080/Stream/TV?item=397&transcoder=Android%20VLC%20Direct
    60. #EXTINF:-1,Bravo HD
    61. http://hometheater-pc2:8080/Stream/TV?item=398&transcoder=Android%20VLC%20Direct
    62. #EXTINF:-1,CNN HD
    63. http://hometheater-pc2:8080/Stream/TV?item=399&transcoder=Android%20VLC%20Direct
    64. #EXTINF:-1,NHL Network HD
    65. http://hometheater-pc2:8080/Stream/TV?item=400&transcoder=Android%20VLC%20Direct
    66. #EXTINF:-1,Spike TV HD
    67. http://hometheater-pc2:8080/Stream/TV?item=401&transcoder=Android%20VLC%20Direct
    68. #EXTINF:-1,CBS Sports Network HD
    69. http://hometheater-pc2:8080/Stream/TV?item=402&transcoder=Android%20VLC%20Direct
    70. #EXTINF:-1,Fox Sports 2 HD
    71. http://hometheater-pc2:8080/Stream/TV?item=403&transcoder=Android%20VLC%20Direct
    72. #EXTINF:-1,AMC HD
    73. http://hometheater-pc2:8080/Stream/TV?item=404&transcoder=Android%20VLC%20Direct
    74. #EXTINF:-1,Disney Channel HD
    75. http://hometheater-pc2:8080/Stream/TV?item=406&transcoder=Android%20VLC%20Direct
    76. #EXTINF:-1,VH1 HD
    77. http://hometheater-pc2:8080/Stream/TV?item=407&transcoder=Android%20VLC%20Direct
    78. #EXTINF:-1,Lifetime HD
    79. http://hometheater-pc2:8080/Stream/TV?item=408&transcoder=Android%20VLC%20Direct
    80. #EXTINF:-1,Tennis Channel HD
    81. http://hometheater-pc2:8080/Stream/TV?item=409&transcoder=Android%20VLC%20Direct
    82. #EXTINF:-1,ESPN University HD
    83. http://hometheater-pc2:8080/Stream/TV?item=410&transcoder=Android%20VLC%20Direct
    84. #EXTINF:-1,MLB Network HD
    85. http://hometheater-pc2:8080/Stream/TV?item=411&transcoder=Android%20VLC%20Direct
    86. #EXTINF:-1,Comedy Central HD
    87. http://hometheater-pc2:8080/Stream/TV?item=412&transcoder=Android%20VLC%20Direct
    88. #EXTINF:-1,PBSe (SD01)
    89. http://hometheater-pc2:8080/Stream/TV?item=413&transcoder=Android%20VLC%20Direct
    90. #EXTINF:-1,Turner Classic Movies HD
    91. http://hometheater-pc2:8080/Stream/TV?item=414&transcoder=Android%20VLC%20Direct
    92. #EXTINF:-1,truTV HD
    93. http://hometheater-pc2:8080/Stream/TV?item=415&transcoder=Android%20VLC%20Direct
    94. #EXTINF:-1,BBC America HD
    95. http://hometheater-pc2:8080/Stream/TV?item=416&transcoder=Android%20VLC%20Direct
    96. #EXTINF:-1,Hallmark Channel HD
    97. http://hometheater-pc2:8080/Stream/TV?item=417&transcoder=Android%20VLC%20Direct
    98. #EXTINF:-1,FXX HD
    99. http://hometheater-pc2:8080/Stream/TV?item=418&transcoder=Android%20VLC%20Direct
    100. #EXTINF:-1,Do-It-Yourself Network HD
    101. http://hometheater-pc2:8080/Stream/TV?item=419&transcoder=Android%20VLC%20Direct
    102. #EXTINF:-1,Encore Action HD
    103. http://hometheater-pc2:8080/Stream/TV?item=420&transcoder=Android%20VLC%20Direct
    104. #EXTINF:-1,TV Land HD
    105. http://hometheater-pc2:8080/Stream/TV?item=421&transcoder=Android%20VLC%20Direct
    106. #EXTINF:-1,ION Television HD
    107. http://hometheater-pc2:8080/Stream/TV?item=422&transcoder=Android%20VLC%20Direct
    108. #EXTINF:-1,Fox Sports 1 HD
    109. http://hometheater-pc2:8080/Stream/TV?item=423&transcoder=Android%20VLC%20Direct
    110. #EXTINF:-1,Sundance HD
    111. http://hometheater-pc2:8080/Stream/TV?item=424&transcoder=Android%20VLC%20Direct
    112. #EXTINF:-1,Arts & Entertainment HD
    113. http://hometheater-pc2:8080/Stream/TV?item=431&transcoder=Android%20VLC%20Direct
    114. #EXTINF:-1,WGN America HD
    115. http://hometheater-pc2:8080/Stream/TV?item=484&transcoder=Android%20VLC%20Direct
    116. #EXTINF:-1,Freeform HD
    117. http://hometheater-pc2:8080/Stream/TV?item=488&transcoder=Android%20VLC%20Direct
    118. #EXTINF:-1,MTV Classic
    119. http://hometheater-pc2:8080/Stream/TV?item=502&transcoder=Android%20VLC%20Direct
    120. #EXTINF:-1,IFC HD
    121. http://hometheater-pc2:8080/Stream/TV?item=507&transcoder=Android%20VLC%20Direct
    122. #EXTINF:-1,BBC World News HD
    123. http://hometheater-pc2:8080/Stream/TV?item=510&transcoder=Android%20VLC%20Direct
    124. #EXTINF:-1,CNBC HD
    125. http://hometheater-pc2:8080/Stream/TV?item=530&transcoder=Android%20VLC%20Direct
    126. #EXTINF:-1,MSNBC HD
    127. http://hometheater-pc2:8080/Stream/TV?item=533&transcoder=Android%20VLC%20Direct
    128. #EXTINF:-1,Comedy.TV HD
    129. http://hometheater-pc2:8080/Stream/TV?item=544&transcoder=Android%20VLC%20Direct
    130. #EXTINF:-1,Turner Classic Movies
    131. http://hometheater-pc2:8080/Stream/TV?item=585&transcoder=Android%20VLC%20Direct
    132. #EXTINF:-1,Fox Sports 2
    133. http://hometheater-pc2:8080/Stream/TV?item=586&transcoder=Android%20VLC%20Direct
    134. #EXTINF:-1,Hallmark Channel
    135. http://hometheater-pc2:8080/Stream/TV?item=587&transcoder=Android%20VLC%20Direct
    136. #EXTINF:-1,NBC Sports Network
    137. http://hometheater-pc2:8080/Stream/TV?item=588&transcoder=Android%20VLC%20Direct
    138. #EXTINF:-1,Hallmark Movies
    139. http://hometheater-pc2:8080/Stream/TV?item=589&transcoder=Android%20VLC%20Direct
    140. #EXTINF:-1,FXX
    141. http://hometheater-pc2:8080/Stream/TV?item=641&transcoder=Android%20VLC%20Direct
    142. #EXTINF:-1,Discovery Family Channel HD
    143. http://hometheater-pc2:8080/Stream/TV?item=898&transcoder=Android%20VLC%20Direct
    144. #EXTINF:-1,American Heroes Channel HD
    145. http://hometheater-pc2:8080/Stream/TV?item=899&transcoder=Android%20VLC%20Direct
    146. #EXTINF:-1,FX Movie Channel HD
    147. http://hometheater-pc2:8080/Stream/TV?item=900&transcoder=Android%20VLC%20Direct
    148. #EXTINF:-1,Outdoor Channel HD
    149. http://hometheater-pc2:8080/Stream/TV?item=920&transcoder=Android%20VLC%20Direct
    150. #EXTINF:-1,Fox Sports Detroit HD
    151. http://hometheater-pc2:8080/Stream/TV?item=1000&transcoder=Android%20VLC%20Direct
    152. #EXTINF:-1,CWw (KTLA-DT)
    153. http://hometheater-pc2:8080/Stream/TV?item=1006&transcoder=Android%20VLC%20Direct
    154. #EXTINF:-1,AccuWeather HD Satellite
    155. http://hometheater-pc2:8080/Stream/TV?item=1037&transcoder=Android%20VLC%20Direct
    156. #EXTINF:-1,ION Television Satellite Feed (Pacific) Satellite
    157. http://hometheater-pc2:8080/Stream/TV?item=1041&transcoder=Android%20VLC%20Direct
    158. #EXTINF:-1,CNN International Satellite
    159. http://hometheater-pc2:8080/Stream/TV?item=1061&transcoder=Android%20VLC%20Direct
    160. #EXTINF:-1,TBS HD (Pacific) Satellite
    161. http://hometheater-pc2:8080/Stream/TV?item=1071&transcoder=Android%20VLC%20Direct
    162. #EXTINF:-1,Turner Network TV HD (Pacific) Satellite
    163. http://hometheater-pc2:8080/Stream/TV?item=1072&transcoder=Android%20VLC%20Direct
    164. #EXTINF:-1,Encore Family
    165. http://hometheater-pc2:8080/Stream/TV?item=1073&transcoder=Android%20VLC%20Direct
    166. #EXTINF:-1,Encore Westerns
    167. http://hometheater-pc2:8080/Stream/TV?item=1074&transcoder=Android%20VLC%20Direct
    168. #EXTINF:-1,Audience Channel HD Satellite
    169. http://hometheater-pc2:8080/Stream/TV?item=1075&transcoder=Android%20VLC%20Direct
    170.  
    So far, so good. In addition, I've been able to use mc2xml to grab my already defined SchedulesDirect data and save it in xmltv format. Configuration went smoothly then in xTeVe and Plex.

    The problem is that I can't figure out a WebMediaPortal URL that will work. I've tried most transcoder variations that I could identify, including:

    http://hometheater-pc2:8080/Stream/TV?item=[idChannel]&transcoder=Direct
    http://hometheater-pc2:8080/Stream/TV?item=[idChannel]&transcoder=Android VLC Direct
    http://hometheater-pc2:8080/Stream/TV?item=[idChannel]&transcoder=Android VLC HD
    http://hometheater-pc2:8080/Stream/TV?item=[idChannel]&transcoder=HTTP Live Streaming HD
    http://hometheater-pc2:8080/Stream/TV?item=[idChannel]&transcoder=FFmpeg HTTP Live Streaming HD

    The spaces in the above URLs are %20's, which disappear when posting.

    All return playback errors in Plex. The only way, so far, I've been able to successfully get any WebMediaPortal stream going is through VLC using the "transcoder=Direct" construct. Any ideas on what the correct streaming URL should be?
     
    Last edited: October 27, 2019
  5. benicehavefun

    benicehavefun Portal Member

    Joined:
    September 12, 2014
    Messages:
    41
    Likes Received:
    4
    Ratings:
    +13 / 0
    Home Country:
    United States of America United States of America
  6. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,821
    Likes Received:
    2,788
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,788 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Sorry, i dont use TV in Mediaportal at all. :)

    --
    WBR, ajs :):whistle::coffee:
     
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!