MPlug EPG-plugin



3 * Nvidia Shield + Synology NAS DS218+ LG 77CX6LA + Genelec + RasPi/Moode + Adam T5V + T7V + T10S - ArcoLinux
MPlug EPG-plugin

MPlug on uusi EPG-ohjelma Dreamboxille, ohjeet asennukselle yms ohessa.
Itse en ole ohjelmaa testannut.

Guide for MV/MMplug with EPG for DB
Mplug/MV on DB to get EPG for several days

In this guide I assume that you are currently using MV for EPG on the DB.
For the ones who install/have installed MV ver. 3.1b, there is provided an updated file ( that changes the layouten for "Alias Manager". Replace the one already in your DB (/var/tuxbox/plugins/ , then you will be able to see the entire channelname when mapping.
For the ones with Gemini, ver. 3.51 can be put in manually.
Just put the tar.bz2 file in /tmp and choose manuel installation

For a more in depth guide on how to set up MV, you should read the MM-grabber/MV guide on


Install MV if you haven’t already done so.
Start the MV plugin and press the dream/menu button.
Choose “input config”.
Look at the “storage dir” option and memorize the setting (we need it later).

1. Copy - Mplug - to /var/bin on your DB.
2. Change rights on the file to 755 (With telnet you type this command: chmod 755 /var/bin/Mplug).
3. the files contains all the channels you can grab from. Remove the ones you don’t need EPG from (remove the entire line, also the number in front, if there is one).
4. You set number of days to grab in the files along with language for Dtv. (max number of days to grab for the sources are: Dtv=14,Bleb=7,Dag=7. Max for Eu is 9, but because of the way this site is built it may be only 1 day).
5. Copy –,, and – to /var/tuxbox/config/mv
6. Make a subfolder mplug in the “storage dir” folder (I told you, you needed it later Big Grin ). If you have it on an usb stick it should be /mnt/usb/mv/mplug.

The syntax for the telnet command you use to grab EPG with Mplug is:
/var/bin/Mplug Where-to-put-grabbed-file filename The_location_of_chan_files

For the example above, and grabbing 7 days of EPG, this is:
/var/bin/Mplug /mnt/usb/mv/mplug 1 /var/tuxbox/config/mv (you then also need to set DAYS=7 in all the files).

Filname is either 1 or 0, 1 for mplug.xmltv.cfe and 0 for mplug.dat.
The inputs.txt file should reflect this setting.
The inputs.txt file supplied with this package expects 1.

There is also an inputs.txt file in the package that you use, if you choose to save as mplug.dat. Just rename the file to inputs.txt..


1. Copy the supplied inputs.txt file to /var/tuxbox/config/mv
2. Open MV, press dream/menu, go into input config and choose Mplug as option.
3. You will also have to map the new grabbed channels in the Alias Manager.


You can also have Mplug run at given intervals using crontab/crond.
There are 2 Install files, one for 7000 and one for 7020.
1. Edit the next to last line in the Install(7020) file. How to edit is written in the file. The default is :
00 02 * * * /var/bin/Mplug /mnt/usb/mv/mplug 1 /var/tuxbox/config/mv, which means that the startcommand for Mplug (explained earlier in this guide) is started at 02.00 every day)
See the Install file for how to set crond correctly Wink
2. Copy the Install file and crond to /tmp on your DB.
3. Log on to the DB with telnet.
4. Run the following commands:
cd /tmp
chmod 755 install (install7020 if it is a dm7020)
./install (install7020 if it is a dm7020)
5. For 7020 you also need to add the following line to your bootmisc,sh file:
[ -e /var/bin/crond ] && /var/bin/crond </dev/null 1>/dev/null 2>&1 &
But there is also one supplied with this package, that is working (Thanks to tunhj1).
6. crond will then run the command from the crontab file at the give interval. (in my example this is every day at 02.00)
7. Reboot the DB and you are finished…

0.2 - 30/11-05

Sky UK added to Mplug.
Also an option to choose if the grabbed file should be saved as mplug.dat or mplug.xmltv.cfe.

The Mplug_temp file (rename it to Mplug) is for creating the file in /var/tmp av moving it after the file is created.
Seems to be neccesary for putting the file in flash, insted of usb/hdd.

0.3 - 13/12-05

EuroTV added.
You now set number of days to grab in the files.
You can also choose norwegian (NO) or swedish (SE) language for Dtv, in the file.

0.4 - 15/12-05

Modified crond so editing the crontab file is easier.
Dagbladet added.
Disabled language choice in Dtv, only SE is used

Dagbladet added as source.

Put the new Mplug in /var/bin and along with the other files..
Author of VLC_Stream/MM-grabber/Mplug


  • Mplug-04.rar
    150.2 KB · Lukukerrat: 4