meine pyo datei ,
ó
z1+Xc @ s0 d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m
Z
d d l m Z d d l
m Z d d l Td d l m Z d d
l Z d d
l Z d d
l Z d d
l Z d d
l Z d d l m Z m Z y d d l m Z Wn n Xd
e f d „ ƒ YZ d e f d „ ƒ YZ d
S( iÿÿÿÿ( t
getDesktopt eTimer( t Label( t Pixmap( t ProgressBar( t Progress( t Screen( t
MessageBox( t *( t _N( t resolveFilenamet SCOPE_CURRENT_SKIN( t SCOPE_ACTIVE_SKINt CrossEPG_Rytec_Sourcec B s e Z d „ Z RS( c C s g | _ g | _ d | _ d S( Nt ( t
channels_urlst epg_urlst description( t self( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyt __init__ s ( t __name__t
__module__R ( ( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyR
s t CrossEPG_Rytec_Updatec B sP e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C sÁ d d l m } t d ƒ j ƒ j ƒ d k rZ d t j j t j t
j ƒ } d | _ n) d t j j t j t
j ƒ } d | _ t
| d ƒ } | j ƒ | _ | j ƒ t j | | ƒ d | _ t j | t d
ƒ ƒ g | _ g | _ | | _ g | _ t ƒ | d <t t d ƒ ƒ | d
<| t d ƒ ƒ | d <t d ƒ | d <t ƒ | d <| d j ƒ t ƒ | d <t ƒ | _ | j j! ƒ t" ƒ | _# | j# j$ j% | j& ƒ | j' j% | j( ƒ d S( Niÿÿÿÿ( t
StaticTexti i s %s/skins/downloader_sd.xmls %s/skins/downloader_hd.xmli t rt
downloadert CrossEPGt
backgrounds Updating rytec providers...t actiont summary_actionR t statust progresst
progress_text() t Components.Sources.StaticTextR R t sizet widtht ost patht dirnamet syst modulesR t __file__t isHDt opent readt skint closeR R t skinNamet setTitleR t onChangedEntryt sourcest sessiont mirrorsR R R t hideR t CrossEPG_Configt configt loadR t timert callbackt appendt startt onFirstExecBegint firstExec( R R3 R R- t f( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyR ! s8
c C s | j rz y t t d ƒ } Wn t t d ƒ } n X| d k sT t j j | ƒ rè d t j j t j
t j ƒ } qè nn y t t d ƒ } Wn t t d ƒ } n X| d k sÅ t j j | ƒ rè d t j j t j
t j ƒ } n | d j
j | ƒ | j j d d ƒ d S(
Ns crossepg/background_hd.pngs' skin_default/crossepg/background_hd.pngs %s/images/background_hd.pngs crossepg/background.pngs$ skin_default/crossepg/background.pngs %s/images/background.pngR id i ( R* R
R R t NoneR$ R% t existsR& R' R( R R) t instancet setPixmapFromFileR9 R< ( R t png( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyR> E s &#c C s› | j ƒ | j ƒ re | j | j j d ƒ | j j t t d ƒ t | j
ƒ d t j d d ƒn( | j j t t d ƒ d t j d d ƒ| j
ƒ d S( Ns /providers/s %d providers updatedt typet timeouti s Cannot retrieve rytec sourcesi
( t loadSourceListR8 t saveR7 t home_directoryR3 R+ R R t lenR2 t TYPE_INFOt
TYPE_ERRORR. ( R ( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyR< W s
8(c C s¨ y‰ d GHd d l } d d l } | j d ƒ \ } } t | d ƒ } | j d | d d ƒ } | j ƒ | _ t j | j ƒ t j
| ƒ Wn t k
r£ } | GHn Xd S( Ns( downloading source list from EPGalfasiteiÿÿÿÿs/
http://epgalfasite.dyndns.tv/crossepgsources.gzt rbt fileobjt mode( t urllibt gzipt urlretrieveR+ t GzipFilet readlinesR4 t randomt shuffleR$ t unlinkt Exception( R RP RQ t filenamet headerst fdt sfdt e( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyRG ` s c
C s$ t } x| j D]} | j d d ƒ } yÙ d | GH| j d ƒ } | j d ƒ d } | j | ƒ } t j | ƒ } | j d | ƒ | j ƒ } | j d k rî t
d d
ƒ } | j | j ƒ ƒ | j
ƒ | j d ƒ t j d ƒ t } n d | j | f GHWq t k
r} | GHq Xq W| S( Ns R s downloading from %ss
http://t /i t GETiÈ s /tmp/crossepg_rytec_tmpt ws http error: %d (%s)( t FalseR4 t replacet lstript splitt httplibt HTTPConnectiont requestt getresponseR R+ t writeR, R. t loadFromFileR$ RW t TrueRX (
R t rett mirrort smirrort hostR% t connt httpresR? R] ( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyR8 m s,
c C s+ x$ | j D] } | j | k r
| Sq
Wd S( N( R2 R R@ ( R R t source( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyt getServer† s c C s t j j j | ƒ } | j ƒ } xW| D]O} | j d k r( t ƒ } | j j | j d ƒ ƒ xQ | D]I } | j d k rŠ | j
| _ qf | j d k rf | j j | j
ƒ qf qf W| j
| j ƒ } | d k rä | j j | ƒ qwt | j ƒ d k r,| j d | j k r,| j j | j d ƒ q,n t | j ƒ d k rw| j d | j k rt| j j | j d ƒ qtqwq( q( Wd S( NRr t channelsR t urli ( t xmlt etreet cElementTreet parset getroott tagR
R R; t gett textR R Rs R@ R2 RJ ( R RY t mdomt roott nodeRr t childnodet oldsource( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyRj Œ s(
c C sY t j d | d ƒ x=| j D]2} t j d ƒ } | j d | j ƒ j ƒ } | d d k rl d | } n t | d | d d ƒ } | j d
| j d ƒ | j d ƒ d
} x> | j
D]3 } | j d t | ƒ d | d ƒ | d 7} q¼ Wd
} x> | j D]3 } | j d t | ƒ d | d ƒ | d 7} qW| j d ƒ | j
ƒ q Wd S( Ns rm -f s
/rytec_*.confs [/
)<>|?*\s-]|(\\)R i t rytec_R^ s .confR` s description=s
s protocol=xmltv
i t
channels_url_t =i t epg_url_s preferred_language=eng( R$ t systemR2 t ret compilet subR t lowerR+ Ri R t strR R. ( R t destinationRr t pRY R? t countRu ( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyRH ¥ s&
##
(
R R R R> R< RG R8 Rs Rj RH ( ( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyR s $
( t enigmaR R t Components.LabelR t Components.PixmapR t Components.ProgressBarR t Components.Sources.ProgressR t Screens.ScreenR t Screens.MessageBoxR t crossepglibt crossepg_localeR Re t xml.etree.cElementTreeRv Rˆ R$ RU t Tools.DirectoriesR
R R t objectR
R ( ( ( s /var/lib/jenkins/workspace/settopbox-bh/openvuplus_3.0/build/vusolo4k/tmp/work/armv7ahf-vfp-neon-oe-linux-gnueabi/enigma2-plugin-systemplugins-crossepg/enigma2-plugin-systemplugins-crossepg-0.8.1+gitrAUTOINC+ccc9678fa8-r2-bh2/git/src/enigma2/python/crossepg_rytec_update.pyt <module> s(
an der duo2 komme ich zur zeit nicht heran , deshalb die von der 4k