Guide: DVBLink v4 and MediaPortal Guide!*Updated 2012-01-24* (1 Viewer)

pjotr2k

MP Donator
  • Premium Supporter
  • January 28, 2007
    24
    4
    Home Country
    Sweden Sweden
    This is a small guide for using DVBLink v4 with MediaPortal.


    ***** NOTICE ***** NOTICE ***** NOTICE ***** NOTICE *****

    For DVBLink v4.0.0 Use port 8080

    For DVBLink v4.0.1 Use port 8081

    Using DVB-IP MediaPortal IPTV Source Filter built on 18th of January, 2012 will resort in channel scan showing as radio channels.

    To fix this you have to remove MPIPTV_KARTINA.dll from the TV-Server folder.

    ***** NOTICE ***** NOTICE ***** NOTICE ***** NOTICE *****


    Follow these instructions.

    1. Configure DVBLink v4 to fit your DVBLink needs.
    2. Install MediaPortal (TVServer).
    3. Download the DVB-IP patch for the TVServer part. (Follow the instructions on the page for installing it)
    https://forum.team-mediaportal.com/...here-48/dvb-ip-mediaportal-iptv-filter-96726/

    The tricky stuff.

    i. Single Tuner Guide


    *** This part is now obsolete use the attached script instead *** Keeping this part if someone needs to error search ***


    Go to the mp tuningparameters path for DVBIP (x:\ProgramData\Team MediaPortal\MediaPortal TV Server\TuningParameters\dvbip\)
    Create a new tuning file ex. DVBLink.Comhem.m3u
    Write this in the file

    #EXTM3U
    #EXTINF:0,<Channelname>
    http://<Serverip>:8080/dvblink/direct?client=<ClientIdentifier>&channel=<ChannelTuningFrequens>

    Example.
    #EXTM3U
    #EXTINF:0,SVT1
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAA&channel=10370000
    #EXTINF:0,SVT2
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAA&channel=10390000

    <Channelname> Speaks for itself the name of the channel you want to link to the stream
    <Serverip> Doh!!! if u dont know what it is stop reading here ;)
    <ClientIdentifier> can be just about anything without spaces, for simplicity i use AAAAAAAAA
    AAAAAAAAA is what the stream will identify as (client so to speak).
    <ChannelTuningFrequens> Open up the dvblink_channel_storage.xml (located in x:\Program Files (x86)\DVBLogic\DVBLink\)
    Search for the channel name, it will look something like this.


    <logical_channel>
    <childlock>0</childlock>
    <type>TV</type>
    <number>1</number>
    <subnumber>0</subnumber>
    <name>SVT1</name>
    <category></category>
    <frequency>10370000</frequency>
    <physical_channel>
    <number>1</number>
    <subnumber>0</subnumber>
    <type>TV</type>
    <id>c1e0bca4-1b93-4276-a78c-74ba63ca2dad:290000:40999:45:1097</id>
    <source_id>B05BFF15-D6C0-4993-9867-85D0FE6EDF7D</source_id>
    <source_name></source_name>
    <name>SVT1</name>
    <category>\DVB-C ComHem Göteborg\TV\By Name\</category>
    <altid>5500.ini:290:40999:45:1097</altid>
    <fta>1</fta>
    </physical_channel>


    Here you are intereseted in the <frequency>10370000</frequency> line, add the number to the <ChannelTuningFrequens> part of the url.

    Repeat for ALL your channels, end result will look something like this depending on how many channels you got.

    #EXTM3U
    #EXTINF:0,SVT1
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAAA&channel=10370000
    #EXTINF:0,SVT2
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAAA&channel=10390000
    #EXTINF:0,SVT1 HD
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAAA&channel=10380000
    #EXTINF:0,SVT2 HD
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAAA&channel=10400000
    #EXTINF:0,TV3
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAAA&channel=10520000
    #EXTINF:0,TV4
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAAA&channel=10530000
    #EXTINF:0,Kanal 5
    http://192.168.0.201:8080/dvblink/direct?client=AAAAAAAAA&channel=10270000


    *** END *** END ***END ***END ***END ***END ***END ***END ***END ***END ***END ***END ***


    Now load up MP Server Config goto TV Servers > <YourServersName> in the top of the right column make sure you have at least one DVBIP card active.
    Go to the DVBIP card to scan and choose the tuning file you created DVBLink.Comhem.
    Make sure the checkboxes are unchecked and then press scan and your channels will show up.
    After the scan go to the TV Channels > Channels tab and make sure ALL your channels are GREEN (Free to Air) THIS IS IMPORTANT!!!
    If the channels are red (Crypted) you wont get any picture.
    Changing the channels to FTA is as simple as right clicking the channel and choose edit channel and tick Free to Air checkbox.

    All done for singel tuner setup!!! :)


    ii. Multituner Setup (example is for 4 tumers)

    Follow the Singel tuner setup guide all the way to the MP Server Config part, dont load up the server just yet!
    Copy the file that we created DVBLink.Comhem.m3u to DVBLink.Comhem2.m3u, DVBLink.Comhem3.m3u, DVBLink.Comhem4.m3u.
    Edit the newly created files and change the <Clientidentifier> to something else, for simplicity ive made it BBBBBBBBB for DVBLink.Comhem2.m3u
    CCCCCCCCC for DVBLink.Comhem3.m3u and DDDDDDDDD for DVBLink.Comhem4.m3u.

    Now load up MP Server Config goto TV Servers > <YourServersName> in the top of the right column make sure you have 4 DVBIP cards active.
    On the first card scan with DVBLink.Comhem.m3u, on the second use DVBLink.Comhem2.m3u and so on.

    When this is done you will end up with 4 duplicate channels of every channel in the Channels tab.
    And as before make sure ALL the channels are green (Free to Air) even the DUPES!!

    Then go to TV Channels > Mappings and make sure that every tuner just has 1 channel of every channel assigned to each tuner and not all 4.

    Then we go to TV Channels > TV Combinations
    Mark the first channel in the left column and you will get channels that are 100% match in the right column
    Mark the channels that are 100% match and press combine, then do this for all your channels.

    After this go to TV Channels and under Channels you will only see one channel of each channel and no dupes.
    Now the Tuningdetails column of each channel under channels will say 4 instead of 1.


    If all this checks out for you then you are good to go Enjoy MediaPortal with multiple tuners and DVBLink!!! :)

    //Pjotr2k


    ******* Updated with a script for creating the m3u file ****** Big Thanx to vuego for the help ********


    Open up the script file and change ip/port etc to suit your needs.
    Change paths if its needed (This script defaults to C:\Program Files (x86) for 64-bit users.)

    Tip!
    Setting channels to Free to air can be simple!
    When you have scanned for your channels on all transponders export the channels with the mp config Import/export choose export channels.
    After export delete all channels.
    Open up the exported xml change all FreeToAir"False" with FreeToAir"True" any good editor (even notepad) has a replace all funktion.
    Import the Channels again!
    This should save you a bit of time atleast :)

    ******* Updated with a script for creating the m3u file ****** Big Thanx to vuego for the help ********
     

    Attachments

    • DVBLink2m3u.zip
      767 bytes

    Koen Zomers

    Portal Pro
    November 7, 2010
    66
    3
    Twente, Overijssel
    Home Country
    Netherlands Netherlands
    Re: Guide: DVBLink v4 and MediaPortal Guide!

    Great stuff! Thanks for sharing your findings. It would be fairly easy for me to write a simple application that would create the m3u file automatically. Probably would save a lot of time when having 300+ channels like I do. I won't have time to do that in the next 2 weeks at least though. Please if someone else has the same idea of doing so and does have time to create it, share it in this topic.

    pjotr2k, I assume this method does not allow the EPG to be imported into Team Media Portal using the DVBLogic virtualized tuners or does it? How do you solve this problem? I currently have assigned one out of my 5 DVB-C tuners dedicated to Team Media Portal to grab the EPG stream and the other 4 dedicated to DVBLogic. Maybe there's a better way. Would love to hear it.
     

    pjotr2k

    MP Donator
  • Premium Supporter
  • January 28, 2007
    24
    4
    Home Country
    Sweden Sweden
    Re: Guide: DVBLink v4 and MediaPortal Guide!*Updated 2011-10-16*

    Koen.

    Since this workaround doesent use any tuners, but instead uses a http direct transportstream its not actually a tuner.

    So no the epg wont work since the transportstream dosent include the epg data, im using xmltv for the epg data.
     

    pjotr2k

    MP Donator
  • Premium Supporter
  • January 28, 2007
    24
    4
    Home Country
    Sweden Sweden
    Re: Guide: DVBLink v4 and MediaPortal Guide!*Updated 2011-10-16*

    I use tvxb to ripout the info from dagenstv.com.

    If you want a guide on tvxb i suggest google to be your friend :) cant do a writeup on everything. :p
    There are plenty of good guides for it.

    Else you can use the webepg funktion in MP if your country is supported.

    //Pjotr2k
     

    Koen Zomers

    Portal Pro
    November 7, 2010
    66
    3
    Twente, Overijssel
    Home Country
    Netherlands Netherlands
    Re: Guide: DVBLink v4 and MediaPortal Guide!*Updated 2011-10-17*

    Thanks again for your pointers. I was just curious on how you have it set up. I can still use my one dedicated tuner to grab the EPG from the stream. Another option I can think of is simply using the new API of DVBLogic v4 to extract the EPG info, use an xslt to convert it into the xmltv format and have Team Media Portal pick that one up. Would you happen to have a sample xmltv file for me I can use as a reference to create the xslt? I have been looking into this before, but I couldnt find a good xmltv sample file.
     

    pjotr2k

    MP Donator
  • Premium Supporter
  • January 28, 2007
    24
    4
    Home Country
    Sweden Sweden
    Re: Guide: DVBLink v4 and MediaPortal Guide!*Updated 2011-10-17*

    Here is a sample xml from my setup....hope it helps you out a bit :)
     

    shummi

    Portal Pro
    February 24, 2010
    51
    2
    Home Country
    Denmark Denmark
    Hi

    Have anyone experience with dvblink 4.5.2, i have tried this guide but i don´t get any channels in Mediaportal

    /BR shummi
     

    Users who are viewing this thread

    Top Bottom