Using MePo TV Server 1.23 via MPExtended/WebMediaPortal as a Backend for Plex (1 Viewer)

benicehavefun

Portal Member
September 12, 2014
41
8
United States of America United States of America
Country flag
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:

SELECT concat('#EXTINF:0,',displayName) , concat('http:/xxx.dynalias.org:8080/Stream/TV?item=',idChannel,'&transcoder=Android VLC HD') FROM channel
where isTV=1;

ex.: (select profile according to upload bandwith)
#EXTM3U
#EXTINF:0,
http://xxx.dynalias.org:8080/Stream/TV?item=1048&transcoder=Android VLC HD
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
 

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    12,063
    6,850
    Kyiv
    Ukraine Ukraine
    Country flag
    I especially don't understand the first part beginning with SELECT
    Its DB Command and for you:
    Code:
    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:
    #EXTINF:-1, NFL Network HD
    http://hometheater-pc2:8080/Stream/TV?item=382&transcoder='Android VLC HD'
     

    benicehavefun

    Portal Member
    September 12, 2014
    41
    8
    United States of America United States of America
    Country flag
    Its DB Command and for you:
    Code:
    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:
    #EXTINF:-1, NFL Network HD
    http://hometheater-pc2:8080/Stream/TV?item=382&transcoder='Android VLC HD'
    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:
    #EXTM3U
    #EXTINF:-1,The Movie Channel (Pacific)
    http://hometheater-pc2:8080/Stream/TV?item=364&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore Classic
    http://hometheater-pc2:8080/Stream/TV?item=365&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore Suspense
    http://hometheater-pc2:8080/Stream/TV?item=366&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore Black
    http://hometheater-pc2:8080/Stream/TV?item=367&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore (Pacific)
    http://hometheater-pc2:8080/Stream/TV?item=371&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,CBSw (KCBS-DT)
    http://hometheater-pc2:8080/Stream/TV?item=372&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,NBCw (KNBC-DT)
    http://hometheater-pc2:8080/Stream/TV?item=373&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,ABCw (KABC-DT)
    http://hometheater-pc2:8080/Stream/TV?item=374&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,FOXw (KTTV-DT)
    http://hometheater-pc2:8080/Stream/TV?item=375&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,AXS TV
    http://hometheater-pc2:8080/Stream/TV?item=377&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,ESPN HD
    http://hometheater-pc2:8080/Stream/TV?item=378&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,The Movie Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=379&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore HD
    http://hometheater-pc2:8080/Stream/TV?item=380&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Turner Network TV HD
    http://hometheater-pc2:8080/Stream/TV?item=381&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,NFL Network HD
    http://hometheater-pc2:8080/Stream/TV?item=382&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,ESPN2 HD
    http://hometheater-pc2:8080/Stream/TV?item=383&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,NBA TV HDTV
    http://hometheater-pc2:8080/Stream/TV?item=384&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,NBC Sports Network HD
    http://hometheater-pc2:8080/Stream/TV?item=385&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Audience Channel
    http://hometheater-pc2:8080/Stream/TV?item=386&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,National Geographic Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=387&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Home & Garden Television HD
    http://hometheater-pc2:8080/Stream/TV?item=388&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Lifetime Movie Network HD
    http://hometheater-pc2:8080/Stream/TV?item=390&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,The Learning Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=391&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,History HD
    http://hometheater-pc2:8080/Stream/TV?item=392&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Big Ten HD
    http://hometheater-pc2:8080/Stream/TV?item=393&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,USA Network HD
    http://hometheater-pc2:8080/Stream/TV?item=394&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,TBS HD
    http://hometheater-pc2:8080/Stream/TV?item=395&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,FX HD
    http://hometheater-pc2:8080/Stream/TV?item=396&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Syfy HD
    http://hometheater-pc2:8080/Stream/TV?item=397&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Bravo HD
    http://hometheater-pc2:8080/Stream/TV?item=398&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,CNN HD
    http://hometheater-pc2:8080/Stream/TV?item=399&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,NHL Network HD
    http://hometheater-pc2:8080/Stream/TV?item=400&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Spike TV HD
    http://hometheater-pc2:8080/Stream/TV?item=401&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,CBS Sports Network HD
    http://hometheater-pc2:8080/Stream/TV?item=402&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Fox Sports 2 HD
    http://hometheater-pc2:8080/Stream/TV?item=403&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,AMC HD
    http://hometheater-pc2:8080/Stream/TV?item=404&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Disney Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=406&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,VH1 HD
    http://hometheater-pc2:8080/Stream/TV?item=407&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Lifetime HD
    http://hometheater-pc2:8080/Stream/TV?item=408&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Tennis Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=409&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,ESPN University HD
    http://hometheater-pc2:8080/Stream/TV?item=410&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,MLB Network HD
    http://hometheater-pc2:8080/Stream/TV?item=411&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Comedy Central HD
    http://hometheater-pc2:8080/Stream/TV?item=412&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,PBSe (SD01)
    http://hometheater-pc2:8080/Stream/TV?item=413&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Turner Classic Movies HD
    http://hometheater-pc2:8080/Stream/TV?item=414&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,truTV HD
    http://hometheater-pc2:8080/Stream/TV?item=415&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,BBC America HD
    http://hometheater-pc2:8080/Stream/TV?item=416&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Hallmark Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=417&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,FXX HD
    http://hometheater-pc2:8080/Stream/TV?item=418&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Do-It-Yourself Network HD
    http://hometheater-pc2:8080/Stream/TV?item=419&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore Action HD
    http://hometheater-pc2:8080/Stream/TV?item=420&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,TV Land HD
    http://hometheater-pc2:8080/Stream/TV?item=421&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,ION Television HD
    http://hometheater-pc2:8080/Stream/TV?item=422&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Fox Sports 1 HD
    http://hometheater-pc2:8080/Stream/TV?item=423&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Sundance HD
    http://hometheater-pc2:8080/Stream/TV?item=424&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Arts & Entertainment HD
    http://hometheater-pc2:8080/Stream/TV?item=431&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,WGN America HD
    http://hometheater-pc2:8080/Stream/TV?item=484&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Freeform HD
    http://hometheater-pc2:8080/Stream/TV?item=488&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,MTV Classic
    http://hometheater-pc2:8080/Stream/TV?item=502&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,IFC HD
    http://hometheater-pc2:8080/Stream/TV?item=507&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,BBC World News HD
    http://hometheater-pc2:8080/Stream/TV?item=510&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,CNBC HD
    http://hometheater-pc2:8080/Stream/TV?item=530&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,MSNBC HD
    http://hometheater-pc2:8080/Stream/TV?item=533&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Comedy.TV HD
    http://hometheater-pc2:8080/Stream/TV?item=544&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Turner Classic Movies
    http://hometheater-pc2:8080/Stream/TV?item=585&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Fox Sports 2
    http://hometheater-pc2:8080/Stream/TV?item=586&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Hallmark Channel
    http://hometheater-pc2:8080/Stream/TV?item=587&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,NBC Sports Network
    http://hometheater-pc2:8080/Stream/TV?item=588&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Hallmark Movies
    http://hometheater-pc2:8080/Stream/TV?item=589&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,FXX
    http://hometheater-pc2:8080/Stream/TV?item=641&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Discovery Family Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=898&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,American Heroes Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=899&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,FX Movie Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=900&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Outdoor Channel HD
    http://hometheater-pc2:8080/Stream/TV?item=920&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Fox Sports Detroit HD
    http://hometheater-pc2:8080/Stream/TV?item=1000&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,CWw (KTLA-DT)
    http://hometheater-pc2:8080/Stream/TV?item=1006&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,AccuWeather HD Satellite
    http://hometheater-pc2:8080/Stream/TV?item=1037&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,ION Television Satellite Feed (Pacific) Satellite
    http://hometheater-pc2:8080/Stream/TV?item=1041&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,CNN International Satellite
    http://hometheater-pc2:8080/Stream/TV?item=1061&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,TBS HD (Pacific) Satellite
    http://hometheater-pc2:8080/Stream/TV?item=1071&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Turner Network TV HD (Pacific) Satellite
    http://hometheater-pc2:8080/Stream/TV?item=1072&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore Family
    http://hometheater-pc2:8080/Stream/TV?item=1073&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Encore Westerns
    http://hometheater-pc2:8080/Stream/TV?item=1074&transcoder=Android%20VLC%20Direct
    #EXTINF:-1,Audience Channel HD Satellite
    http://hometheater-pc2:8080/Stream/TV?item=1075&transcoder=Android%20VLC%20Direct
    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:

    benicehavefun

    Portal Member
    September 12, 2014
    41
    8
    United States of America United States of America
    Country flag

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,063
    6,850
    Kyiv
    Ukraine Ukraine
    Country flag
    Sorry, i dont use TV in Mediaportal at all. :)

    --
    WBR, ajs :):whistle::coffee:
     

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

    OP Similar threads Forum Replies Date
    J Info button is virtually pressed with each button use in MePo 1.19 Remotes 8
    toricred Using TMM, How to Stop Importer From Going to The Movie Database for Data General 1
    morpheus_xx [WiP] OnlineVideos: New browser based playback support using WebDriver, new Amazon siteutil MediaPortal 2 6
    toricred [solved] Configuring TV Server to use NAS General 5
    vvulture Using Windows 10 MediaPortal 1 Talk 8
    atlantic How to use Spotify inside Mediaportal? Listen Music 18
    Megane Too much RAM used (over 2 GB). General Support 18
    doskabouter 1.23.0 MatroskaTagInfo uses the wrong casing for tags Bugreports 27
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    D I just installed MP 1.23. Which version of Schedules Direct should I use, where do I obtain it from Newcomers Forum 6
    M Can i use my Vu+ Zero 4k Tuner for Mediaportal? General 0
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    1gkar Use Alternative Sites to Scrape Series Info My TVSeries 5
    T Can Emprex 3009ARF III MCE Remote Control be used to toggle Fullscreen/Windowed mode?? Remotes 7
    S [solved] Live TV subtitle issue if not using 100% font General 31
    N [Proposal] Make text input using remote control easier MediaPortal 2 4
    T Issues with MediaPortal not starting correctly using versions after 1.20 Final General Support 6
    erika jandova Using SD and MediaPortal 1 Newcomers Forum 4
    D Large xml database in My Movies Management. I remain unclear on use My Films as bridge to MP2.2 General 9
    N [solved] When MP2-Client is trying to register credentials, it uses the wrong machine name MediaPortal 2 7
    high [Help Me!] Atlassian Fisheye/Crucible still used? Team Lounge 8
    D [solved] HID remote for mp2 and w10 64 bit? using all tools: sony, cisco, homeworkx ng General 2
    Symphy Still being used? ASIO music player 0
    P no signal when scanning for channels using antenna and dual hd General Support 2
    N Using mediaportal in lieu of hauppauge wintv Newcomers Forum 10
    Similar threads

























    Top Bottom