WebEPG v0.5 @2008 Dexter

Releasedate: 06.11.2008

NOTE: webepg.list has changed, now filename is all lowercase!!!

If you import many channels, it can take some time, for menu to return after import, due to lack of memory,
and your harddrive is struggling to swap out the epg to your harddrive, which can take 30-50seconds depending
on epg import file.

Fixed:
- Viasat is now working, all channels can be imported as tested so far.
- More informative text if a file do not exist!
- Extended EPG list is now showing ok, (Short description in xml file removed)


About

Webepg is a BETA edition of a XML formatted EPG importer. It has been tested to work with
editions of xmltv and tvggv2 or mc2xml . The created output files from these programs can be imported
into the IP9 Series box, and your tv shows will have extended EPG programme overview shown
ie. for 7 days (for now)

Requirements:
- HDD or USB Stick with swap partition (virtual memory enabled)
its default /dev/sda1 on DGS image.
if you need to activate by telnet prompt (log onto box with telnet/ssh session)
execute the following command in your ipbox prompt ( -sh-3.00# ),
-sh-3.00# swapon /dev/sda1
- XMLTV or TVGGV2 or MC2XML application to create your favorite EPG xml data with.
- Internet connection (to download xml data with application)


Current issues:
- EPG is kept in memory only.. So when you reboot it will be gone.
re-import data from your file after a cold boot/reboot.
- Recordings marked with EPG, will be kept intact.
- In (warm)standby epg is also kept.
- It is possible to import same epg twice,if you try to do so. So if you need to make updates,
reboot box and epg is deleted. and you can import again.
- Not all countries are working here, but check google for which countries will work, and maybe
what applications will help here. If you find differences in xml data, to make this work for
import, please report your findings to me. All help is appreciated at this stage.

Instructions.

1. Copy the contents of the VAR folder in the zip file to your ipbox .
Or manually create /var/lib and copy the libxml2.so.2 to this folder and copy
the plugin webepg.plugin from the /var/plug-in to your ipbox /var/plug-in folder.

2. From here you got 2 options;
Use the supplied file and remove not needed channels and save it (see webepg.list.sample) and
skip to pkt. 5 or continue here.

Start plugin from your menu->plugins , and for each channel you wish to have extended EPG for, you need
to open the plugin on the selected channel, and press "Save EPG Channel ID to webepg.list" .
you press this until the text below shows the technical EPG details on selected channel.
3. When this shows, it will save info to a file in your /var folder.
the file is webepg.list
each line looks like this

XMLTV_CHANNELID_HERE,4272,86,3,1150 # (TV1000 Action)

4. When you are done adding those channels to your file, you can then run your favorite xmltv / tvggv2 application.

5. Download epg data with that XMLTV, TVGGV2 or MC2XML application, even many more xml based applications work,
and the xml file can then be opened for viewing.
Check your alias names for the channels.

XMLTV file contents
<channel id="041.dr.dk">
<display-name>TV 2 charlie</display-name>

TVGGV2 file contents
<channel id="02000.DR1">
<display-name>TV 2 charlie</display-name>

6. This 041.dr.dk or 02000.DR1 is the part you need to put into the webepg.list file.
Download the file from your /var folder on the ipbox.

Before XMLTV_CHANNELID_HERE,4272,86,3,1150 # (TV1000 Action)
after change 041.dr.dk,4272,86,3,1150 # (TV1000 Action)

Follow this procedure for each channel you wish to add.
(see sample file, webepg.list.sample , in distribution zip file as example)
File is created on unix, so if the file is shown in one long line, please leave as is.
No unix->dos textfile conversion is yet implemented.

7. When you are done with your config file setup. you can put it back onto the ipbox
put file back in /var folder as webepg.list
Its important file is using upper/lower case as shown here. or file is not found.

8. The xml file you created with your xmltv/tvggv2 application can now be put onto your ipbox also.
copy files to the box as file.xml

9. Now you are ready to import EPG data.
10. Go into plugins and open webepg plugin.
11. Choose IMPORT EPG
12. Wait for it to finish, you can follow progress in top of window, if nothing is shown, then
- You have used wrong filename (check /var/file.xml and /var/webepg.list )
- Lib file is not found. (check /var/lib/libxml2.so.2 )
- No HDD in your box? you need to have swap (paging file) for virtual memory enabled.
epg data requires much memory to handle all the records as its saved only in memory for now (shame on you, DGS!)
application will activate swap on your HDD , but not if using usb stick. (but it should continue)
13. When import window text will clear. file.xml in your /var folder is now renamed to /var/file.xml.imported

Thats it.
Its really BETA, so remember not everything is cool,smart and 100% perfect, but it shows it works, and you get EPG for your
recording sessions.

Enjoy!
Dexter (email: [Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] )
Check support website nlb.to and maybe report bug issues here too.
[Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]