This is a cut and paste taken from hxxp://dvbn.happysat.org/viewtopic.php?t=41743
MEDIAPORTAL 0.2.2/0.2.3RC1/0.2.3RC2
Using MDAPI + Fenrir + Yankse
Firstly, it is important to note that this guide has been put together by me, EViS, with the aid of research and development also conducted by mbb and bigflause. I do not take credit for everything described here. I hope this to be an ultimate guide on how to get MediaPortal working in conjunction with MDAPI, Fenrir, and Yankse.
1 ) Install Mediaportal 0.2.3 RC2 with latest SVN (http://www.team-mediaportal.com/download.html). All relevant installation and configuration information can be found in the MediaPortal Wiki, MediaPortal Tutorial Videos and MediaPortal Forums.
2 ) Install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) to prevent registration problems later. (http://www.microsoft.com/downloads/...D9-AE1A-4A14-984D-389C36F85647&displaylang=de)
3 ) Ensure your FTA channels are working. If no .dvbc file exists for your country/provider and you rather MediaPortal do an automatic scan as opposed to you having to carry this procedure out manually every time you decide to search for new channels you’ll have to create one yourself.
Create a new ‘<any name>.txt’ file in the following directory:
<path_to_mediaportal>\TuningParameters
Enter a frequency, QAM value, and transponder for your provider (see format in below code – note no spaces between data). I always recommend beginning from the lowest frequency a provider may use anywhere in the country to the highest frequency they use anywhere in the country. This will entail a much longer scan time however will guarantee all channels available to you are found. In the UK frequency’s change in steps of 8 Khz, thus as soon as you find a channel on one frequency, go down in steps of 8 Khz to around 100000 Hz and then go up in steps of 8 Khz to around 900000Hz. The easiest way to create a full provider list with 8 Khz jumps is in Excel and then copy/paste the data into the .txt file.
Alternatively, if you have access to a dBox2 scanned for your area, the correct frequencies, QAM value, and transponder can be extracted from there and modified to the format below. If you own an NTL STB, the correct transponder for your area can also be found in the engineers menu.
107000,64QAM,6887000
115000,64QAM,6887000
123000,64QAM,6887000
131000,64QAM,6887000
139000,64QAM,6887000
147000,64QAM,6887000
155000,64QAM,6887000
Rename the new ‘<any name>.txt’ file to ‘<any name>.dvbc’. In MediaPortal Configuration Channel Scan, select the <any name> file from the drop down menu and scan for channels. If the ‘<any name>.dvbc’ that you just created does not appear in the drop down list you have either not saved the .dvbc file in the TuningParameters directory or have not changed the file type from ‘.txt’ to ‘.dvbc’.
All FTA channels are marked with a green icon next to their name in MediaPortal Configuration. Encrypted channels are marked with a red icon next to their name. At this stage all your FTA channels should be working. If they are not you will need to go over to the MediaPortal Forums and ask for support there.
EDIT: BRUTEFORCE TW file posted on this forum by Bluemotion attached at bottom.
4 ) Find the following files on the internet:
- ‘ffdecsa.dll’: I cannot provide you with this.
- ‘mdapifilter.ax’: Agarwal took over development of the ‘mdapifilter.ax’ filter for us and his latest release can be found here(http://dvbn.happysat.org/viewtopic.php?t=37579&start=0). He has since become busy working on other projects and therefore released his source code for further ‘mdapifilter.ax’ development by the community here(http://dvbn.happysat.org/viewtopic.php?t=40140). The latest v2.0b5 of the filter can be found here(http://www.zshare.net/download/2550036212cd59/) or here(http://mbb-mp.neuf.fr/mdapifilter.rar).
- ‘Fenrir.dll’: Can be found at DVBSkystar. (http://www.dvbskystar.com/down_softcam.html)
- ‘Yankse.dll’: Can be found at DVBSkystar.
- ‘Nagrakey.txt’: I cannot provide you with this. A different ‘Nagrakey.txt’ is needed for different providers (ie. NTL, Telewest, etc).
- ‘.bin’: Can be found at VDR Bluox (http://vdr.bluox.org/download/index.php?path=vdr-sc/nagra_roms/). Different ‘.bin’ files decrypt different encryptions (i.e. ‘Rom7.bin’ decrypts Nagra1 used by UK Cable).
5 ) In the MediaPortal root folder you want the above files in the following directory structure:
MediaPortal Root:
- MDPlugins (create new folder with this name)
- Nagra (create new folder with this name)
- FFDecsa.dll
- mdapifilter.ax
Into MDPlugins:
- Fenrir.dll
- Yankse.dll
- fenrir.ini
- yankse.ini
- yankse.prv
Into Nagra:
- All necessary .bin's
- NagraKey.txt
6 ) An issue with MediaPortal and Fenrir (cause currently unknown) is that the ‘Nagra.key’ file is written to the root MediaPortal directory as opposed to the ‘MDPlugins’ directory where Yankse is and looks for the ‘Nagra.key’ file to read current provider keys.
In order to resolve this issue the ‘fenrir.ini’ file written to c:\ (note: This is not the ‘fenrir.ini’ in the MDPlugins directory but the one written to the root of c:\) needs to be edited with the following addition at the bottom in order to change the directory where the ‘Nagra.key’ file is written:
[path]
key=<path_to_mediaportal>\MDPlugins\Nagra.key
7 ) Register the MDAPI filter as follows:
Start > Run > regsvr32 “<path_to_mdapifilter>\mdapifilter.ax”
8 ) MediaPortal 0.2.3 onwards enables the MDAPI icon in the system tray automatically. MediaPortal 2.2.0 does not and you have to select ‘Enable MDAPI’ in the MediaPortal Configuration.
The current version of MDAPI filter does not handle more than one stream at the same time very well, even two FTA channels. This is a feature Agarwal may work on, for now only use the MDAPI filter with one DVB card
In order to do this you will need to edit the ‘MDAPICards.xml’ file found in the MDPlugins folder. It will be populated by your cards id the first time you select a channel on it. Change the value for EnableMdapi from ‘yes’ to ‘no’ to disable MDAPI support for specific cards.
9 ) Right click on the MDAPI icon that should now be visible in the taskbar and set both Fenrir and Yankse to ‘Active’.
10 ) All FTA & non-FTA channels should now be working. You can check the status of Fenrir & Yankse as follows: Launch MediaPortal in window mode, right click on the MDAPI icon in the taskbar and open log windows for both Fenrir and Yankse. Check to see whether Fenrir is decrypting the keys of non-FTA channels and Yankse is reading them (flashing ‘*’). If this is not happening and you are still having problems feel free to ask in the forum!
MEDIAPORTAL 0.2.2/0.2.3RC1/0.2.3RC2
Using MDAPI + Fenrir + Yankse
Firstly, it is important to note that this guide has been put together by me, EViS, with the aid of research and development also conducted by mbb and bigflause. I do not take credit for everything described here. I hope this to be an ultimate guide on how to get MediaPortal working in conjunction with MDAPI, Fenrir, and Yankse.
1 ) Install Mediaportal 0.2.3 RC2 with latest SVN (http://www.team-mediaportal.com/download.html). All relevant installation and configuration information can be found in the MediaPortal Wiki, MediaPortal Tutorial Videos and MediaPortal Forums.
2 ) Install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) to prevent registration problems later. (http://www.microsoft.com/downloads/...D9-AE1A-4A14-984D-389C36F85647&displaylang=de)
3 ) Ensure your FTA channels are working. If no .dvbc file exists for your country/provider and you rather MediaPortal do an automatic scan as opposed to you having to carry this procedure out manually every time you decide to search for new channels you’ll have to create one yourself.
Create a new ‘<any name>.txt’ file in the following directory:
<path_to_mediaportal>\TuningParameters
Enter a frequency, QAM value, and transponder for your provider (see format in below code – note no spaces between data). I always recommend beginning from the lowest frequency a provider may use anywhere in the country to the highest frequency they use anywhere in the country. This will entail a much longer scan time however will guarantee all channels available to you are found. In the UK frequency’s change in steps of 8 Khz, thus as soon as you find a channel on one frequency, go down in steps of 8 Khz to around 100000 Hz and then go up in steps of 8 Khz to around 900000Hz. The easiest way to create a full provider list with 8 Khz jumps is in Excel and then copy/paste the data into the .txt file.
Alternatively, if you have access to a dBox2 scanned for your area, the correct frequencies, QAM value, and transponder can be extracted from there and modified to the format below. If you own an NTL STB, the correct transponder for your area can also be found in the engineers menu.
107000,64QAM,6887000
115000,64QAM,6887000
123000,64QAM,6887000
131000,64QAM,6887000
139000,64QAM,6887000
147000,64QAM,6887000
155000,64QAM,6887000
Rename the new ‘<any name>.txt’ file to ‘<any name>.dvbc’. In MediaPortal Configuration Channel Scan, select the <any name> file from the drop down menu and scan for channels. If the ‘<any name>.dvbc’ that you just created does not appear in the drop down list you have either not saved the .dvbc file in the TuningParameters directory or have not changed the file type from ‘.txt’ to ‘.dvbc’.
All FTA channels are marked with a green icon next to their name in MediaPortal Configuration. Encrypted channels are marked with a red icon next to their name. At this stage all your FTA channels should be working. If they are not you will need to go over to the MediaPortal Forums and ask for support there.
EDIT: BRUTEFORCE TW file posted on this forum by Bluemotion attached at bottom.
4 ) Find the following files on the internet:
- ‘ffdecsa.dll’: I cannot provide you with this.
- ‘mdapifilter.ax’: Agarwal took over development of the ‘mdapifilter.ax’ filter for us and his latest release can be found here(http://dvbn.happysat.org/viewtopic.php?t=37579&start=0). He has since become busy working on other projects and therefore released his source code for further ‘mdapifilter.ax’ development by the community here(http://dvbn.happysat.org/viewtopic.php?t=40140). The latest v2.0b5 of the filter can be found here(http://www.zshare.net/download/2550036212cd59/) or here(http://mbb-mp.neuf.fr/mdapifilter.rar).
- ‘Fenrir.dll’: Can be found at DVBSkystar. (http://www.dvbskystar.com/down_softcam.html)
- ‘Yankse.dll’: Can be found at DVBSkystar.
- ‘Nagrakey.txt’: I cannot provide you with this. A different ‘Nagrakey.txt’ is needed for different providers (ie. NTL, Telewest, etc).
- ‘.bin’: Can be found at VDR Bluox (http://vdr.bluox.org/download/index.php?path=vdr-sc/nagra_roms/). Different ‘.bin’ files decrypt different encryptions (i.e. ‘Rom7.bin’ decrypts Nagra1 used by UK Cable).
5 ) In the MediaPortal root folder you want the above files in the following directory structure:
MediaPortal Root:
- MDPlugins (create new folder with this name)
- Nagra (create new folder with this name)
- FFDecsa.dll
- mdapifilter.ax
Into MDPlugins:
- Fenrir.dll
- Yankse.dll
- fenrir.ini
- yankse.ini
- yankse.prv
Into Nagra:
- All necessary .bin's
- NagraKey.txt
6 ) An issue with MediaPortal and Fenrir (cause currently unknown) is that the ‘Nagra.key’ file is written to the root MediaPortal directory as opposed to the ‘MDPlugins’ directory where Yankse is and looks for the ‘Nagra.key’ file to read current provider keys.
In order to resolve this issue the ‘fenrir.ini’ file written to c:\ (note: This is not the ‘fenrir.ini’ in the MDPlugins directory but the one written to the root of c:\) needs to be edited with the following addition at the bottom in order to change the directory where the ‘Nagra.key’ file is written:
[path]
key=<path_to_mediaportal>\MDPlugins\Nagra.key
7 ) Register the MDAPI filter as follows:
Start > Run > regsvr32 “<path_to_mdapifilter>\mdapifilter.ax”
8 ) MediaPortal 0.2.3 onwards enables the MDAPI icon in the system tray automatically. MediaPortal 2.2.0 does not and you have to select ‘Enable MDAPI’ in the MediaPortal Configuration.
The current version of MDAPI filter does not handle more than one stream at the same time very well, even two FTA channels. This is a feature Agarwal may work on, for now only use the MDAPI filter with one DVB card
In order to do this you will need to edit the ‘MDAPICards.xml’ file found in the MDPlugins folder. It will be populated by your cards id the first time you select a channel on it. Change the value for EnableMdapi from ‘yes’ to ‘no’ to disable MDAPI support for specific cards.
9 ) Right click on the MDAPI icon that should now be visible in the taskbar and set both Fenrir and Yankse to ‘Active’.
10 ) All FTA & non-FTA channels should now be working. You can check the status of Fenrir & Yankse as follows: Launch MediaPortal in window mode, right click on the MDAPI icon in the taskbar and open log windows for both Fenrir and Yankse. Check to see whether Fenrir is decrypting the keys of non-FTA channels and Yankse is reading them (flashing ‘*’). If this is not happening and you are still having problems feel free to ask in the forum!
Last edited: