Enigma2 Python patcher

  • changes:


    python_patcher.sh
    #
    # 2012.04.22 - ServiceName.py # On/Off "Add compact SatPos to Service Name"
    # 2012.04.22 - /usr/share/enigma2/setup.xml "Add compact SatPos to Service Name"
    # 2012.04.22 - UsageConfig.py # add option "Add compact SatPos to Service Name" in to `Menu » System » Customize` section
    # 2012.04.21 - ServiceScan.py # increase count in last scanned services list from 10 to 10000
    # 2012.04.20 - ChannelSelection.py # select current service when open All Services
    # 2012.04.07 - ChannelSelection.py # enable localise/translate `Bouquets` in title(doesnt work, maybe some changes in mo requered)
    # 2012.04.07 - ChannelSelection.py # enable localise/translate `Channel selection` in title
    # 2012.04.07 - ChannelSelection.py # increase cut lenght to 65 characters
    # 2012.04.05 - ChannelSelection.py # cut begining of window title if lenght > 60 characters
    # 2012.04.04 - ChannelSelection.py # as window title show last two folders title instead `Channel selection`+ last folder title
    # 2012.03.22 - *.py_orig_* # search for last backup copy when patcer.sh newer than *.py
    # 2012.03.22 - ServiceName.py # fix Folder Titles
    # 2012.03.21 - ChannelSelection.py # hide empty NewFound folders
    # 2012.03.21 - ChannelSelection.py # show services count only for selected folders
    # 2012.03.21 - /usr/share/enigma2/setup.xml "Show Services Count for Folders"
    # 2012.03.21 - UsageConfig.py # add option "Show Services Count for Folders" in to `Menu » System » Customize` section
    # 2012.03.21 - /usr/share/enigma2/setup.xml "Hide Empty NewFound Folders"
    # 2012.03.21 - UsageConfig.py # add option "Hide Empty NewFound Folders" in to `Menu » System » Customize` section
    # 2012.03.20 - ChannelSelection.py # show services count
    # 2012.03.19 - ChannelSelection.py # change bouqets path separator '/' to ' » '
    # 2012.02.14 - Web/ServicesReload # add self.eDVBDB.removeServices()
    # 2012.01.26 - /usr/share/enigma2/setup.xml "AutoHide Infobar"
    # 2012.01.26 - UsageConfig.py # add option "AutoHide Infobar" in to `Menu » System » Customize` section
    # 2011.11.05 - AudioSelection.py# adopted for swaped way
    # 2011.10.19 - encoding.conf # add lines for Baltcom Riga_MMDS(cable tv)
    # 2011.10.18 - crontabs # add rdate
    # 2011.07.30 - opkg.conf # remove paths to */media/* folders
    # 2011.07.19 - AudioSelection.py# swap Subtitles<->AudioTracks(Yellow button description)
    # 2011.07.07 - *.py_orig_* # remove backup copy if md5 checksum same as previous
    # 2011.04.04 - E2 config # set ParentalControl default values 1111
    # 2011.02.22 - E2 config # set useTransponderTime=false if rdate installed
    # 2011.02.22 - E2 config # set WebIF autentification On
    # 2010.10.27 - ChannelSelection.py # start Set_Audio_Language_by_Priority.sh on service zap
    # 2010.07.14 - E2 config # add more parameters to E2 config(if not present)
    # 2010.06.15 - EventName.py # move EPG's ShortDescription text to ExtendedDescription when Extended is empty
    # 2010.06.13 - ServiceName.py # fix File Play mode
    # 2010.04.22 - E2 config # add parameter "show_event_progress_in_servicelist" to E2 config(if not present)
    # 2010.04.22 - ServiceName.py # fix DVD mode
    # 2010.04.17 - EventName.py # add EPG FULL_DESCRIPTION to services list
    # 2010.04.17 - EventName.py # remove '"' if EPG EventName starts and ends with it
    # 2010.04.14 - ServiceName.py # add orbital position to selected service name
    #


    skin_patcher.sh
    #
    # 2012.04.22 - enable browse last scanned services
    # 2012.03.31 - NN2-HD, move Volume/Mute down to able see Menu's and Channel Selection Titles
    # 2012.03.31 - search for last backup copy when patcer.sh newer than *.xml
    # 2012.03.11 - replace Setup screen in NN2HD skin
    # 2012.03.10 - show `Menu » Section » Sub Section` path as window title
    # 2012.03.07 - remove Menu Titles duplicates
    # 2012.03.03 - yellow EventProgressBar in ChannelSelection
    # 2012.02.19 - increase ChannelContextMenu vertical size
    # 2012.02.18 - patch every installed skin instead current selected
    # 2011.09.22 - add FullEPG(Short+Extended) to EPGSelectionMulti
    # 2011.09.22 - replace LT6.HD/fonts/lt6-edc.ttf font where cant see russian and latvian letters
    # 2011.07.07 - remove backup copy if md5 checksum same as previous
    # 2010.10.24 - fix Help menu
    # 2010.06.17 - fix DMConcinnity-HD->SkinSelector
    # 2010.06.16 - skip FullEPG when Short and Extended present
    # 2010.06.15 - fitted for DMConcinnity-HD
    # 2010.04.24 - yellow EventTitle in ChannelSelection
    # 2010.04.17 - change ExtendedEPG To FullEPG(Short+Extended) if EventName.py has FULL_DESCRIPTION
    # 2010.03.30 - Replace fonts where cant see russian and latvian letters
    # 2010.03.18 - AddWrapAround in menu sections
    #

  • Hi.


    I used both scripts at Friday.
    After applied the patch I have lost from main channel list :
    - progress bar of current program
    - tittle of current program next to channel name
    - epg description about current program near the channel list
    The only epg is if I will press info on channel on this list and this epg will be in new window.


    Is this result intentional or something has failed ? I do not like this result. DM8000, official 3.2.2, gemini plugin and black dream hd skin.


    Is it possible to easy return to state before patch applied ? Maybe list of files to store before and restore if want to go back ?
    I have installed full backup of image for return ...

    dm8000sss : 30w;8w,4w,1w,5e,7e,9e,13e,16e,19e,23e,26e,28e,31e,33e,36e,39e,42e,45e;53e

  • scripts are tested on Newnigma2/unstabile which are allmost same to DMM's OpenDream/experimental


    what files are procesed you can read in
    /usr/script/python_patcher.txt
    /usr/script/skin_patcher.txt


    then find that files under /usr/lib/enigma2/python/....
    last original are saved as *****.py_orig_120420
    rename or copy back and restart GUI


  • Hi.
    I repeated the process now with both scripts (the newest 22 April ). I have rebooted the box and tested osd by www only (I am not at home).
    All looks ok. I see all epg on main channel list window. If I will see any differences when I will be back at home, I will write it here.
    I checked /usr/script/ (with ls -Al for be sure) and I do not have any .txt file in it after both scripts run.

    dm8000sss : 30w;8w,4w,1w,5e,7e,9e,13e,16e,19e,23e,26e,28e,31e,33e,36e,39e,42e,45e;53e

    Einmal editiert, zuletzt von Tom0000 ()

  • kopter
    yes, you can run again
    algo is:
    if patcher script file date is newer than registred patching date of ??.py in *_patcher.txt and last patched ??.py file has same filedate
    then patcher will go over previous saved virgine ??.py_orig_*

  • i cant change FIFOList(First In First Out) content, and not shure there is a problem, list is sorted decending


    and when use non defaut skin then also scrollbar will be present

  • kopter , check your skin.xml file.
    Find object : <screen name="ServiceScan" and <widget name="servicelist" inside it.
    You have still something like it :
    <widget name="servicelist" position="560,45" size="630,600" itemHeight="20" selectionDisabled="1" backgroundColor="background" transparent="1"/> the list.
    You need something like this :
    <widget name="servicelist" position="560,45" size="630,600" itemHeight="32" zPosition="1" backgroundColor="background" transparent="1" scrollbarMode="showOnDemand" selectionPixmap="BlackDreamHD/selpic/sel32.png"/> the listbox.


    Is it possible to use listbox with 2 or more columns ?

    dm8000sss : 30w;8w,4w,1w,5e,7e,9e,13e,16e,19e,23e,26e,28e,31e,33e,36e,39e,42e,45e;53e


  • MartiniB
    , no default skin.xml but his skin.xml . We do not know name of his skin.

    dm8000sss : 30w;8w,4w,1w,5e,7e,9e,13e,16e,19e,23e,26e,28e,31e,33e,36e,39e,42e,45e;53e

  • Tom0000
    "dafault" i can gues by attached screenshots


    i have tryed add

    Code
    <widget name="servicelist" zPosition="1" backgroundColor="background" transparent="1" scrollbarMode="showOnDemand" enableWrapAround="1" />

    dirrectly into ServiceScan.py, but this doesnt pass

  • maybe, if older patcher.sh ModDate will be newer than last run date
    100%, if copy last saved *.py_orig_* backup copies as *.py and run older patcher.sh


    but what is wrong with newer?!

  • maybe, if older patcher.sh ModDate will be newer than last run date
    100%, if copy last saved *.py_orig_* backup copies as *.py and run older patcher.sh


    but what is wrong with newer?!





    i think the problem is inside ServiceScan.py
    while each scanning i can't no more see the new channels, it shows just the first 10 channels of each scan and these 10 channels it shows untill the end of the completly satellite scan. (see my posting Mittwoch, 25. April 2012, 01:46)

  • kopter
    with default skin press right/left key to see next services
    or use any other skin where you will able see scrollbar and browse services round


    if someone can suggest how set focus on the last service in list durring scan then wellcome
    or way to add services at begining of FiFoList


  • yes ok. now i understand it. with the right and left button i can see the pages of founded channels...ok


    a new features (enigma1) of the new patcher is, if i open the favourite list and i'm on for excample ZDF HD. then if i press red button so i jump directly to ZDF HD on the list all channels. the same if i open the channellist of each satellite. great feature of e1 now on e2!!!


    sill a little bit better would be if i could press yellow button in each channellist/favourite list and then i jump directly to the provider of each channel.

  • i think have to keep better pause and wait what changes will come with OE2.0
    allready have one dm7020hd, but havent free hour to unpack box, install it and replace one of my dm8k