Hello @Dima73
Slovakian translation
language folder must be ck?
Posted 29 November 2014 - 12:33
Hello @Dima73
Slovakian translation
language folder must be ck?
Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)
Posted 29 November 2014 - 13:05
Language folder sk
ok
ver. 1.2
I ask you to check
Edited by Dima73, 29 November 2014 - 13:06.
Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)
Posted 28 June 2015 - 09:55
Wrong arch. Arch of xp1000, hd1100 and et4000 = mips32el-nf, arch of plugin is mips32el or mipsel. The maker of the plugin should make versions for both arch's.
Edited by Erik Slagter, 28 June 2015 - 09:55.
Posted 20 January 2016 - 19:50
Version 1.3
Support: sh4,mips,vu+solo4k
Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)
Posted 21 January 2016 - 18:27
# http://stackoverflow.com/questions/5222951/easy-way-to-get-the-correct-time-in-python # http://stackoverflow.com/questions/12081310/python-module-to-change-system-date-and-time def _get_ntp_time(server="pool.ntp.org"): import ntplib import time client = ntplib.NTPClient() response = client.request('pool.ntp.org') return time.localtime(response.tx_time) def _linux_set_time(time_tuple): import ctypes import ctypes.util import datetime import time # /usr/include/linux/time.h: # # define CLOCK_REALTIME 0 CLOCK_REALTIME = 0 # /usr/include/time.h # # struct timespec # { # __time_t tv_sec; /* Seconds. */ # long int tv_nsec; /* Nanoseconds. */ # }; class timespec(ctypes.Structure): _fields_ = [("tv_sec", ctypes.c_long), ("tv_nsec", ctypes.c_long)] librt = ctypes.CDLL(ctypes.util.find_library("rt")) ts = timespec() ts.tv_sec = int( time.mktime( datetime.datetime( *time_tuple[:6]).timetuple() ) ) ts.tv_nsec = time_tuple[6] * 1000000 # Millisecond to nanosecond # http://linux.die.net/man/3/clock_settime librt.clock_settime(CLOCK_REALTIME, ctypes.byref(ts)) if __name__ == "__main__": import time print "Local Time Before:", time.localtime() tm = _get_ntp_time() print "NTP Time:", tm _linux_set_time(tm) print "Local Time After:", time.localtime()Example:
# python t.py Local Time Before: time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=2, tm_min=1, tm_sec=55, tm_wday=3, tm_yday=1, tm_isdst=0) NTP Time: time.struct_time(tm_year=2016, tm_mon=1, tm_mday=21, tm_hour=19, tm_min=14, tm_sec=47, tm_wday=3, tm_yday=21, tm_isdst=0) Local Time After: time.struct_time(tm_year=2016, tm_mon=1, tm_mday=21, tm_hour=19, tm_min=14, tm_sec=47, tm_wday=3, tm_yday=21, tm_isdst=0)
Edited by athoik, 21 January 2016 - 18:27.
Posted 21 January 2016 - 22:54
todo
def _get_ntp_time(server="pool.ntp.org"): import ntplib client = ntplib.NTPClient() response = client.request(server) return response.tx_time def _linux_set_time(tm): import ctypes import ctypes.util # /usr/include/linux/time.h: # # define CLOCK_REALTIME 0 CLOCK_REALTIME = 0 # /usr/include/time.h # # struct timespec # { # __time_t tv_sec; /* Seconds. */ # long int tv_nsec; /* Nanoseconds. */ # }; class timespec(ctypes.Structure): _fields_ = [("tv_sec", ctypes.c_long), ("tv_nsec", ctypes.c_long)] librt = ctypes.CDLL(ctypes.util.find_library("rt")) ts = timespec() ts.tv_sec = int(tm) ts.tv_nsec = int((tm - int(tm) * 1000) * 1000000) # Millisecond to nanosecond # http://linux.die.net/man/3/clock_settime librt.clock_settime(CLOCK_REALTIME, ctypes.byref(ts)) if __name__ == "__main__": import time print "Local Time Before:", time.localtime() tm = _get_ntp_time() print "NTP Time:", tm _linux_set_time(tm) print "Local Time After:", time.localtime()Also python-ntplib soon will be in the feeds, I have a recipe ready.
Posted 22 January 2016 - 06:38
update again
Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)
Posted 22 January 2016 - 09:18
If the package is arch independent now, we can put it in the enigma2-plugins repo! Please supply patch!
Posted 2 March 2016 - 22:22
Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)
Posted 2 March 2016 - 22:29
[ -x /usr/bin/dvbdate ] && rm -rf /usr/bin/dvbdateFinally use ntpd everywhere when ntpdate doesn't exists.
Posted 3 March 2016 - 10:57
Plugins or any other code should NEVER remove files that are managed by the package system. Very bad practise!
Posted 1 February 2017 - 06:45
Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)
![]() Open satfinder in mypluginStarted by momi133 , 3 Nov 2019 ![]() |
|
![]()
|
||
Use Specific font in plugin skinStarted by momi133 , 24 Oct 2019 ![]() |
|
![]()
|
||
![]() Crash, plugin for logsStarted by Raybobo , 1 May 2019 ![]() |
|
![]()
|
||
plugin/Python - I'm looking for a way to run a Youtube video from a certain position (not from the beginning)Started by s3n0 , 14 Feb 2019 ![]() |
|
![]()
|
||
Logo Blur PluginStarted by dandjo , 6 Feb 2019 ![]() |
|
![]()
|
0 members, 1 guests, 0 anonymous users