You are not logged in.

Dear visitor, welcome to Dreamboard. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, April 16th 2010, 8:41am

Enigma2 Python patcher

first version makes this patch http://www.dream-multimedia-tv.de/board/index.php?page=Thread&threadID=12534

/usr/script/python_patcher.sh
(chmod 755)

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#!/bin/sh
# MartiniB #
#
# 2010.04.17 - add EPG FULL_DESCRIPTION to services list(EventName.py)
# 2010.04.17 - remove " if EPG EventName stards and ends with it(EventName.py)
# 2010.04.14 - add orbital position to selected service name(ServiceName.py)
#

pyFilesPath="/usr/lib/enigma2/python/"

pyFilesToPatch="
"Components/Converter/EventName.py"
"Components/Converter/ServiceName.py"
"

foo="$0"
shTMP=${foo%.*}".tmp"
shTXT=${foo%.*}".txt"

n="\n"
t="\t"
t3="\t\t\t"
t4="\t\t\t\t"
t5="\t\t\t\t\t"
comment0="\#"
comment1="\# -"
comment2="\# +"

AddSedLine () {
	echo s#"$oldstr".*#"$comment1"\&"$n$comment2$n$newstr$n$comment2"\ END#>>"$pyFilesPath$pyFile".sed
}

PatchPy () {
  if [ -e "$pyFilesPath$pyFile".sed ]; then
	rm -f "$pyFilesPath$pyFile".sed
  fi
  case $pyFile in
    "Components/Converter/EventName.py")
	Check=`grep "^[[:space:]]ID\ =\ 3" $pyFilesPath$pyFile`
	if [ "$Check" ]; then
		newstr="$t"FULL_DESCRIPTION\ =\ 3"$n$t"ID\ =\ 4
		oldstr="$t"ID\ =\ 3
		AddSedLine
		Check=`grep "^[[:space:]][[:space:]]elif type == \"ID\":" $pyFilesPath$pyFile`
		if [ "$Check" ]; then
			newstr="$t$t"elif\ type\ ==\ \"FullDescription\":
			newstr="$newstr$n$t3"self.type\ =\ self.FULL_DESCRIPTION
			newstr="$newstr$n$t$t"elif\ type\ ==\ \"ID\"\ :
			oldstr="$t$t"elif\ type\ ==\ \"ID\":
			AddSedLine
		fi
		Check=`grep "^[[:space:]][[:space:]][[:space:]]return\ event.getEventName\(\)" $pyFilesPath$pyFile`
		if [ "$Check" ]; then
			newstr="$t3"nstr\ =\ event.getEventName\(\)
			newstr="$newstr$n$t3"if\ nstr[0:1]\ ==\ \'\\\\\"\'\ and\ nstr[-1]\ ==\ \'\\\\\"\':
			newstr="$newstr$n$t4"nstr\ =\ nstr[1:len\(nstr\)-1]
			newstr="$newstr$n$t3"return\ nstr
			oldstr="$t3"return\ event.getEventName\(\)
			AddSedLine
		fi
		Check=`grep "^[[:space:]][[:space:]]elif\ self.type\ ==\ self.ID:"  $pyFilesPath$pyFile`
		if [ "$Check" ]; then
			newstr="$t$t"elif\ self.type\ ==\ self.FULL_DESCRIPTION:
			newstr="$newstr$n$t3"desc\ =\ event.getShortDescription\(\)\ or\ \"\"
			newstr="$newstr$n$t3"if\ desc\ !=\ \"\":
			newstr="$newstr$n$t4"desc\ =\ desc\ +\ \'\\\\n\\\\n\'
			newstr="$newstr$n$t3"desc\ =\ desc\ +\ event.getExtendedDescription\(\)\ or\ \"\"
			newstr="$newstr$n$t3"return\ desc
			newstr="$newstr$n$t$t"elif\ self.type\ ==\ self.ID\ :
			oldstr="$t$t"elif\ self.type\ ==\ self.ID:
			AddSedLine
		fi
	fi
    ;;
    "Components/Converter/ServiceName.py")
	Check=`grep "^[[:space:]][[:space:]][[:space:]]return\ name\.replace(.*" $pyFilesPath$pyFile`
	if [ "$Check" -a ! `echo "$Check"| grep " + "| sed s/.*\ +\ //` ]; then
		newstr="$t4"refstr\ =\ self.getServiceInfoValue\(info,\ iServiceInformation.sServiceref,\ ref\).split\(\':\'\)
		newstr="$newstr$n$t4"namespace\ =\ int\(refstr\[6\],\ 16\)\ \>\>\ 16
		newstr="$newstr$n$t4"namespace_u\ =\ namespace
		newstr="$newstr$n$t3"else:
		newstr="$newstr$n$t4"namespace\ =\ service.getData\(4\)\ \>\>\ 16
		newstr="$newstr$n$t4"namespace_u\ =\ service.getUnsignedData\(4\)\ \>\>\ 16
		newstr="$newstr$n$t3"if\ namespace_u\ \<\ 0:
		newstr="$newstr$n$t4"namespace\ +=\ 3600
		newstr="$newstr$n$t3"if\ namespace_u\ ==\ 0xFFFF:\ "$comment0"Cable
		newstr="$newstr$n$t4"orbposstr\ =\ \"\"\ "$comment0"\"\ \(dvb-c\)\"
		newstr="$newstr$n$t3"elif\ namespace_u\ ==\ 0xEEEE:\ "$comment0"Terrestrial
		newstr="$newstr$n$t4"orbposstr\ =\ \"\"\ "$comment0"\"\ \(dvb-t\)\"
		newstr="$newstr$n$t3"else:
		newstr="$newstr$n$t4"if\ namespace\ \>\ 1800:
		newstr="$newstr$n$t5"orbposstr\ =\ \"\ \(%.0f%s\)\"\ %\ \(\(3600\ -\ namespace\ +\ 4\)\ \/\ 10,\ \"W\"\)
		newstr="$newstr$n$t4"else:
		newstr="$newstr$n$t5"orbposstr\ =\ \"\ \(%.0f%s\)\"\ %\ \(\(namespace\ +\ 4\)\ \/\ 10,\ \"E\"\)
		newstr="$newstr$n$t3"return\ name.replace\(\'\\\\xc2\\\\x86\',\ \'\'\).replace\(\'\\\\xc2\\\\x87\',\ \'\'\)\ +\ orbposstr
		oldstr="$t3"return\ name\.replace\(
		AddSedLine
	fi
    ;;
  esac
  if [ -e "$pyFilesPath$pyFile".sed ]; then
	echo patching $pyFilesPath$pyFile
	sed -f "$pyFilesPath$pyFile".sed "$pyFilesPath$pyFile">"$pyFilesPath$pyFile".tmp
	if [ -s "$pyFilesPath$pyFile".tmp ]; then
		mv "$pyFilesPath$pyFile".tmp "$pyFilesPath$pyFile"
	else
		echo ErRoR - Zero len "$pyFilesPath$pyFile".tmp
	fi
  fi
}

UpdateMD5list () {
	MD5_CRNT=`md5sum $pyFilesPath$pyFile| awk {'print $1'}`
	current=`grep " $pyFile " $shTXT| tail -1`
	if [ "$current" ]; then
		rm -f "$shTMP"
		sed s#.*" $pyFile ".*## $shTXT| sed '/^$/d'>"$shTMP"
		mv "$shTMP" "$shTXT"
	fi
	echo "$MD5_CRNT $pyFile "`date +%Y.%m.%d.\ %H:%M:%S`>>"$shTXT"
}

for pyFile in $pyFilesToPatch; do
  if [ -e $pyFilesPath$pyFile ]; then
	if [ ! -e "$shTXT" ]; then echo "000 $pyFile 000">"$shTXT"; fi
	MD5_OLD=`grep " $pyFile " "$shTXT"| awk {'print $1'}`
	MD5_CRNT=`md5sum $pyFilesPath$pyFile| awk {'print $1'}`
	if [ ! "$MD5_OLD" = "$MD5_CRNT" ]; then
		cp $pyFilesPath$pyFile $pyFilesPath$pyFile"_orig_"`date +%y%m%d`
		PatchPy
		UpdateMD5list
	fi
  fi
done

exit 0


i call script from my own /etc/rc3.d>S90UserInit (propably will be enough run once after OnlineUpdate, but i dont know how)
(chmod 755)

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

[ ! -e /usr/bin ] && mkdir /usr/bin
[ ! -e /usr/keys ] && mkdir /usr/keys
[ ! -e /usr/script ] && mkdir /usr/script

[ ! -e /var/bin ] && ln -s /usr/bin /var/
[ ! -e /var/keys ] && ln -s /usr/keys /var/
[ ! -e /var/script ] && ln -s /usr/script /var/

[ -e /usr/script/python_patcher.sh ] && /usr/script/python_patcher.sh

[ -e /usr/script/skin_patcher.sh ] && /usr/script/skin_patcher.sh

#echo "# Generated by $0">/var/etc/resolv.conf
#echo "nameserver 86.63.180.2">>/var/etc/resolv.conf
#echo "nameserver  195.2.96.2">>/var/etc/resolv.conf
#echo "nameserver 10.0.10.251">>/var/etc/resolv.conf
#echo "nameserver 10.0.10.253">>/var/etc/resolv.conf

#route add SrvDSL gw 10.0.10.253
route add SrvDSL gw 10.0.10.251

#/var/script/reboot_timer.sh 0500 &

#automount --ghost --timeout=1 /autofs file /etc/auto.hotplug
#mount -t nfs -o tcp,rw,nolock,rsize=8192,wsize=8192 10.0.10.99:/mnt/bigdisk /media/net/bigdisk

exit 0
MartiniB has attached the following file:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

This post has been edited 1 times, last edit by "MartiniB" (Apr 17th 2010, 6:40pm)


2

Saturday, April 17th 2010, 6:47pm

second version

# 2010.04.17 - add EPG Full Description to services list(EventName.py)
stolen from http://www.dream-multimedia-tv.de/board/index.php?page=Thread&threadID=11897
to see changes on screen also skin_patcher must be used in pair

# 2010.04.17 - remove " if EPG EventName stards and ends with it(EventName.py)
MartiniB has attached the following files:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

3

Wednesday, June 16th 2010, 1:11pm

small changes

python_patcher.sh
#
# 2010.06.15 - move ShortDescription to ExtendedDescription when Extended is empty(EventName.py)
# 2010.06.13 - fix File Play mode(ServiceName.py)
# 2010.04.22 - add parameter "show_event_progress_in_servicelist" to E2 config(if not present)
# 2010.04.22 - fix DVD mode(ServiceName.py)
# 2010.04.17 - add EPG FULL_DESCRIPTION to services list(EventName.py)
# 2010.04.17 - remove " if EPG EventName stards and ends with it(EventName.py)
# 2010.04.14 - add orbital position to selected service name(ServiceName.py)
#

skin_patcher.sh
#
# 2010.06.16 - skip FullEPG when short and extended present
# 2010.06.15 - fitted for DMConcinnity-HD
# 2010.04.24 - yellow Event Title in ChannelSelection
# 2010.04.17 - chnge ExtendedEPG To FullEPG if EventName.py has FULL_DESCRIPTION
# 2010.03.30 - ReplaceFonts where cant see russian and latvian letters
# 2010.03.18 - AddWrapAround
#
MartiniB has attached the following files:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

4

Wednesday, October 27th 2010, 5:16pm

changes:

python_patcher.sh
#
# 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 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 stards and ends with it
# 2010.04.14 - ServiceName.py # add orbital position to selected service name
#

skin_patcher.sh
#
# 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
#
MartiniB has attached the following files:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

5

Tuesday, July 19th 2011, 8:49am

changes:

python_patcher.sh

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# 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
# 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 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 stards and ends with it
# 2010.04.14 - ServiceName.py	# add orbital position to selected service name
#


skin_patcher.sh

Source code

1
2
3
4
5
6
7
8
9
10
11
#
# 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
#
MartiniB has attached the following files:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

6

Friday, February 24th 2012, 9:29pm

changes:

python_patcher.sh
#
# 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.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
#
MartiniB has attached the following files:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

7

Friday, March 23rd 2012, 11:39am

changes:

python_patcher.sh
#
# 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.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
#
MartiniB has attached the following files:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

8

Thursday, April 5th 2012, 12:50pm

changes:

python_patcher.sh
#
# 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.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
#
MartiniB has attached the following files:
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

9

Friday, April 6th 2012, 10:04pm

thx for the patcher!!!did you
happen to also
have an idea how to riff like the volume control at e1? you know what I mean ... ;)
kopter has attached the following image:
  • volume_control_E1vsE2.jpg

10

Friday, April 6th 2012, 10:06pm

@kopter
hier
Enigma2 Python patcher



thx.

ich habe zwar dadurch keine anzahl der sender hinter den satelliten, aber immerhin die anzeige der abgelaufenen minuten hinter der jeweiligen sendung in der senderliste.

11

Friday, April 6th 2012, 11:46pm

Dann hast du die falsche Version geladen die neueste ganz unten kann das ganz sicher.

12

Friday, April 6th 2012, 11:53pm

Dann hast du die falsche Version geladen die neueste ganz unten kann das ganz sicher.


ich habe die python_patcher_120405 und die skin_patcher_120331 nacheinander aufgespielt.waren das nicht die letzten?

13

Saturday, April 7th 2012, 8:33am

@kopter
hier
Enigma2 Python patcher



thx.

ich habe zwar dadurch keine anzahl der sender hinter den satelliten, aber immerhin die anzeige der abgelaufenen minuten hinter der jeweiligen sendung in der senderliste.


ich würde mich an deiner stelle mal mit dem image befassen, dass du drauf hast. für die restzeit hättest du das image nicht patchen brauchen. das kann in den merlin-einstellungen aktiviert werden. aber das ist jetzt alles OT. hier geht es schliesslich um die entwicklung von e2 seitens dmm.
Gruss
Dre

Boxen: DM 7000-S / DM 7020-Si / DM 7025-ST / DM800-C PVR HD / DM8000-SSTC DVD PVR HD / DM7020HD STC
Developer Project Merlin - we are OpenSource

14

Saturday, April 7th 2012, 9:44am

@kopter
there are screenshots
http://www.dream-multimedia-tv.de/board/index.php?page=Thread&threadID=16493

after execute *_patcher.sh scripts you can compare procesed py files, i use TotalCommander->File->Compare bt content
also restart GUI is requred after patching
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

15

Saturday, April 7th 2012, 9:51am

extend volume controll amplitude is posible only by change enigma2, this can be made only by DMM developers
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

16

Saturday, April 7th 2012, 11:05pm

enigma2... (volume)

17

Saturday, April 7th 2012, 11:10pm

how can i
execute the files? i have both set file attributes on 755 however, i then, after rebooting the box no new menu item, which i can run the files. i use merlin3 image (newest). which image do you use with the patchers?

18

Sunday, April 8th 2012, 6:11am

and how can i execute the files? i have both set file attributes on 755 however, i then, after rebooting the box no new menu item, which i can run the files. i use merlin3 image (newest). which image do you use with the patchers?

19

Sunday, April 8th 2012, 8:56pm

@kopter
execute scripts from telnet console

Source code

1
2
/usr/script/python_patcher.sh
/usr/script/skin_patcher.sh


or
call from Menu->Plugins->Scriptexecuter
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)

20

Monday, April 9th 2012, 2:28am

@kopter
execute scripts from telnet console

Source code

1
2
/usr/script/python_patcher.sh
/usr/script/skin_patcher.sh


or
call from Menu->Plugins->Scriptexecuter


thx!!! now i got it!! but it was a little tricky, cause i had to use in addition the remote control key mute. with this key, i can set once the pegs and can remove then again. (pic 2 and 3) now enigma2 is an essential step better!!!
kopter has attached the following images:
  • 1111.jpg
  • 2222.jpg
  • 3333.jpg