xmltvimport


Revision history for xmltvimport


Revision [4673]

Last edited on 2013-05-05 08:42:22 by doglover
Additions:
5. copy this url into a texteditor (PsPad, Notepadplusplus or even notepad)
( use opkg list '*xmltv*' to get the correct spelling.)
Deletions:
5. copy this url into a texteditor (PsPad, Notepad++ or even notepad)
( use opkg list '*xmltv*' to get the corect spelling.)


Revision [4672]

Edited on 2013-05-05 08:40:31 by doglover
Additions:
====At which time should I set the update.====
====No epg is imported after the box comes out of deepstandby.====
====Where is the epgimport.log====
====What is the purpose of epg.dat====
====Misconceptions about epg.dat and XMLTV====
====How do I now if my image is oudeis patched?====
====Where is epg.dat stored and how to change it.====
====How to erase all epg in your box====
Install Systemtools. One of the options is erase epg.
The second method is the manual one. I use the program DCC to do this but you also can use Putty or even a simple Telnet session in Windows.
====How to capture a single service reference====
====How to update XMLTV importer from Telnet====
Deletions:
* At which time should I set the update.


* No epg is imported after the box comes out of deepstandby.



* Where is the epgimport.log


* What is the purpose of epg.dat


* Misconceptions about epg.dat and XMLTV


* How do I now if my image is oudeis patched?

* Where is epg.dat stored and how to change it.


* How to erase all epg in your box

I use the program DCC to do this but you also can use Putty or even a simple Telnet session in Windows.

* How to capture a single service reference









* How to update XMLTV importer from Telnet


Revision [4671]

Edited on 2013-05-05 08:35:44 by doglover [adding new info]
Additions:
Press the green button to save this selection. Now we are back into the first menu where we can change the time when the plugin should start. Do not set this time before 06:30am.
* At which time should I set the update.

It is recommended not to download before 0630 (GMT + 2). This because the update is only ready by then.

* No epg is imported after the box comes out of deepstandby.

When using deepstandby, and autotimer, there could be a problem with the automatic update.
This is because when the box starts, the time is not set properly until the box is tuned to a channel. Now if you use autotimer, this tuning to a channel could take a minute longer as usual, because of autotimer.running. Now the XMLTV importer sets a wrong update tme, because the system time is still incorrect

The solution is to install the systemtime plugin and select upon startup to set system time by NTP server.

* Where is the epgimport.log

Open the XMLTV importer.
Press now the info or epg button on your remote.
Now you see the log. This log can be saved, and you find the saved fle in /tmp/

* What is the purpose of epg.dat

The epg.dat file is commonly seen as the vehicle for XMLTV.
This is a misconception. The epg.dat is a file from enigma, in which the epg is stored when the enigma is stopped or the receiver is shut down. Upon restart this file is read again in memory to restore the epg.

* Misconceptions about epg.dat and XMLTV

On images without the oudeis patch, epg.dat is used to get epg into memory. In these cases the XMLTV importer and Crossepg generate an epg.dat file. Subsequently enigma is restarted and the new epg is read. But this is the only use of epg.dat in this respect. Also Crossepg uses this technique on these images.

* How do I now if my image is oudeis patched?
If you import epg via XMLTV or Crossepg and the image automatically restarts then your image is not patched. Gemini is one of the stubborn ones.
The patched images can receive the epg data directly and do not need the use of epg.dat. epg.dat is still used by enigma on these images to fulfil its original role (see above)

* Where is epg.dat stored and how to change it.

You can set the storage device for the epg.dat file by editing the settings file in /etc/enigma2 when enigma is stopped.
init 4 (to stop enigma)
edit now /etc/enigma2/settings – add or change
config.misc.epgcache_filename=/media/usb/epg.dat (or another location to your choice)
init 3 (to restart enigma)

* How to erase all epg in your box

I use the program DCC to do this but you also can use Putty or even a simple Telnet session in Windows.
Open a Telnet session to the IP address of your satellite receiver (in most cases Dreambox or Vu).
When you are prompted you can type behind the prompt #
init 4 (This will stop Enigma of working and if you were watching TV it will freeze.)
What I do extra is open a FTP session (in DCC you can switch easy to this) and then go to /tmp and see if there is maybe a file epg.dat, remove it and then go also to /media/hdd if you have a harddisk installed in your receiver and also check if maybe a fil epg.dat is there and remove it. Check also /media/usb
(This step is not always needed but I do it and it does not take a lot of time)
Now go back to the Telnet session and behind the prompt type #
init 3 (This will start Enigma again and after a while you will notice the screen will play again (if you were watching TV).
After this the EPG listings should be empty or only show Now/Next in the infobar, depending on how you have setup the EIT and EPG settings in the system menu.
(keep in mind if you have enabled MHW, EIT, etc then EPG listings will not be empty if you zap to those channels)

* How to capture a single service reference

To capture a single service reference use the following procedure:
1st method:
1. Install VLC player on your PC
1. Open the webif of your box.
2. Find the channel from which you want the reference
3. Stream this channel to your PC.
4. VLC opens the channel,
5. On VLC click on extra and Media-Information. Here you will find the service reference
6. Then select the code starting with 1:0:.... by keeping the left mouse button pressed and after you selected the line use CTRL-C to copy it to the clipboard.
7. With CTRL-V you can paste this selection where you want and especially in a topic here on this forum
2nd method:
Use Open Webif.
1. Open Open Webif in your browser
2. Find the channel from which you want the reference
3. Request the epg for this channel .
4. Select and copy the url of the epg (even if the window is empty)

http://192.168.1.19:8088/ajax/epgpop?sref=1%3A0%3A19%3A5221%3AC99%3A3%3AEB0000%3A0%3A0%3A0%3A


5. copy this url into a texteditor (PsPad, Notepad++ or even notepad)
6. Search and replace %3A with : and the result will be:

http://192.168.1.19:8088/ajax/epgpop?sref=1:0:19:5221:C99:3:EB0000:0:0:0:


7. The part behind the sref= is the part we want.


* How to update XMLTV importer from Telnet

1. Connect to your box ip address with DCC or Putty
2. opkg update
3. opkg upgrade enigma2-plugin-extensions-xmltvimport-rytec enigma2-plugin-extensions-xmltvimport
If you are not sure how a package is called you can use the search function below :
( use opkg list '*xmltv*' to get the corect spelling.)
Thanks to Milo for these commandlines.
Deletions:
Press the green button to save this selection. Now we are back into the first menu where we can change the time when the plugin should start. Do not set this time before 04:00am because I create the EPG data just before 04:00am.


Revision [4532]

Edited on 2011-10-16 23:17:42 by webmaster [Fixed UTF-8 issues]
Deletions:
{{googletranslate}}


Revision [3836]

Edited on 2010-02-22 13:27:49 by MiLo [Revised text and removed a few obsolete things]
Additions:
Press OK to start the installation. Return to the applications list and you will notice the new "EPGImport" entry.
Now go into this program, and press the blue button to go to the sources. Here you can select which EPG data you like to download, by highlighting your selection and pressing OK, which will put a checkmark in front of each active source.
Press the green button to save this selection. Now we are back into the first menu where we can change the time when the plugin should start. Do not set this time before 04:00am because I create the EPG data just before 04:00am.
If your box is in deep-standby you could wake it up to start the automatic download. The plugin will not put the system back into sleep state though.
You can set the amount of days for full descriptions, which is helpful if you have selected a lot of epg sources and your box has limited memory (like the dm7025). If you se the number of days to 2, the epg data is loaded for 2 days with descriptions and 5 days without full descriptions.
Remember to save this config by pressing the green button, which returns you to the applications menu.
If you can't wait untill the automatic import, which I can imagine, you can go into the EPGImport panel and press the yellow button for a manual download, you will be asked if you agree by pressing OK. While the import is running, you can follow the amount of events it is processing. Otherwise, it will display the date/time and number of events of the last import.
The import runs in background, so you don't have to wait until it is finished. You can close the panel at any time, and return if you want to track its progress. You will even see events appear into the EPG views while the data is being imported, and you can query the EPG even before the import is completely done.
Depending on the image's features, the plugin may need to restart Enigma2 in order to load the EPG data. Also, you may not see the new events until the import is completely done. Your system may occasionally 'stutter' a bit while the import is running, and react a bit sluggish at times. This does not interfere with the box's normal operations such as recording and watching TV.
Next we select the python-compression for installation, then python-shell, then we select the xmltv-import plugin and at last the xmltv-import-rytec and install it too.
====Reporting Issues====
If you experience problems with the plugin, the "log" may help. You can display and save it by pressing the "info" button on the remote while in the EPGImport main configuration panel.
Deletions:
Press enter or OK button to start the installation. Now you have the latest version installed, restart Enigma and go to applications and you will notice the label "EPGImport".
Now go into this program, there are some options but first we press blue button to go to the sources. Here you can select with the OK button which EPG data you like to download.
Press green button to save this selection. Now we are back into the first menu where we can change the time when the plugin should start. Do not set this time before 04:00am because I create the EPG data just before 04:00am.
If your box is in deep-standby you could wake it up to start the automatic download, and you can set the amount of days for full descriptions.
Could be helpful if you have selected a lot of epg sources and your box has not much memory you could set this days on 5, so the epg data is loaded for 5 full days + 2 days.
Do not forget to save this config by pressing green button, then you will be prompted to the applications menu.
If you can't wait untill the automatic import, which I can imagine smiley, you can go into the EPGImport panel and press the yellow button for a manual download, you will be asked if you agree by pressing OK.
Now you will see in the main window the amount of events it is processing.
You can press exit to go back to the application panel, it's not needed to wait untill the import is finished.
python-html_2.5.1-ml4_mipsel.ipk
Next we select the python-compression for installation then python-html, then python-shell, then we select the xmltv-import plugin and at last the xmltv-import-rytec and install it too.
====Known Issue’s :====
It can also happen that automatic EPG Import will not function properly after installation, although manual EPG Import works fine,the workaround is to open a telnet session to the dreambox.
Then after login with root, type behind # init 4 this will stop enigma2.
Now change in xmltv.dat the time to import 5 minutes later and change the value random to 0 (you can do this with DCC for example).
In the telnet window type # enigma2.sh
Wait untill import starts and after this is completed and change back the importtime to 4:45 and the random value to 1.
After this you choose restart enigma via menu.
Now wait untill prompt is coming back in telnet session and type behind # init 3
This will start enigma again. (now you have to wait another day to see if the automatic import works)


Revision [3834]

The oldest known version of this page was created on 2010-02-17 18:22:50 by WanWizard [Revised text and removed a few obsolete things]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki