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.
This post has been edited 1 times, last edit by "acid-burn" (Jun 24th 2010, 8:17am)
.|
|
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 |
# Volume.py-Screen with Text-Value
# by Vali 18.07.2008 (MERLIN-Project)
# Usage in skin.xml:
# <screen name="Volume" ..................... backgroundColor="transparent" flags="wfNoBorder">
# <ePixmap position="0,0" ..................... />
# <widget name="Volume" zPosition="2" ................... transparent="1" />
# <widget name="VolumeText" zPosition="3" position="0,0" size="30,20" font="Regular;16" transparent="1" foregroundColor="#f0f0f0" backgroundColor="#0f0f0f"/>
# </screen>
from Screen import Screen
from Components.VolumeBar import VolumeBar
from Components.Label import Label #NEW LINE
class Volume(Screen):
def __init__(self, session):
Screen.__init__(self, session)
self.volumeBar = VolumeBar()
self["Volume"] = self.volumeBar
self["VolumeText"] = Label("") #NEW LINE
def setValue(self, vol):
self.volumeBar.setValue(vol)
self["VolumeText"].setText(str(vol)) #NEW LINE
|
This post has been edited 2 times, last edit by "_vali_" (Jul 21st 2008, 6:53pm)
)
)
This post has been edited 3 times, last edit by "_vali_" (Mar 25th 2010, 10:18am)
This post has been edited 1 times, last edit by "Reichi" (Mar 26th 2010, 10:01am)
OH wow... you would only have to click 3 links to get there... but hey i'm gonna give you a hint:
https://lists.elitedvb.net/pipermail/enigma-devel/

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
vali@andLinux:~/e2plugins/enigma2-plugins$ git push origin master Password: Counting objects: 17, done. Compressing objects: 100% (10/10), done. Writing objects: 100% (10/10), 1.08 KiB, done. Total 10 (delta 8), reused 0 (delta 0) /usr/bin/env: python -W ignore::DeprecationWarning: No such file or directory /usr/bin/env: python -W ignore::DeprecationWarning: No such file or directory error: cannot run hooks/update: No such file or directory error: hook declined to update refs/heads/master To git+ssh://vali@................enigma2-plugins.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'git+ssh://vali@.............enigma2-plugins.git' |
|
|
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 |
vali@andLinux:~/e2plugins/enigma2-plugins$ git push origin master
Password:
Counting objects: 23, done.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (15/15), 1.50 KiB, done.
Total 15 (delta 12), reused 0 (delta 0)
Traceback (most recent call last):
File "/usr/local/bin/ciabot_git_navi.py", line 240, in <module>
server.hub.deliver(message)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1235, in request
self.send_content(h, request_body)
File "/usr/lib/python2.6/xmlrpclib.py", line 1349, in send_content
connection.endheaders()
File "/usr/lib/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib/python2.6/httplib.py", line 720, in connect
self.timeout)
File "/usr/lib/python2.6/socket.py", line 547, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known
error: hook declined to update refs/heads/master
To git+ssh://vali@..............enigma2-plugins.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git+ssh://vali@...........enigma2-plugins.git'
|

|
|
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 |
vali@andLinux:~/e2plugins/enigma2-plugins$ git push origin master
Password:
Counting objects: 9, done.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 455 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
Traceback (most recent call last):
File "/usr/local/bin/ciabot_git_navi.py", line 240, in <module>
server.hub.deliver(message)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1235, in request
self.send_content(h, request_body)
File "/usr/lib/python2.6/xmlrpclib.py", line 1349, in send_content
connection.endheaders()
File "/usr/lib/python2.6/httplib.py", line 908, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 780, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 739, in send
self.connect()
File "/usr/lib/python2.6/httplib.py", line 720, in connect
self.timeout)
File "/usr/lib/python2.6/socket.py", line 561, in create_connection
raise error, msg
socket.error: [Errno 110] Connection timed out
To git+ssh://vali@scm.schwerkraft.elitedvb.net/scmrepos/git/enigma2-plugins/enigma2-plugins.git
8c394ab..ae4d7a3 master -> master
vali@andLinux:~/e2plugins/enigma2-plugins$
|