I fell of my chair...greenhorn wrote:@sectroyer
If I apply the time patch after the movie seek patch, I loose the movie seek patch settings.


I fell of my chair...greenhorn wrote:@sectroyer
If I apply the time patch after the movie seek patch, I loose the movie seek patch settings.
Try running it manually. You probably (somehow) disabled seekpatch. But just to warn you IMHO you should only use this patch to display time. Setting time will cause problemsgreenhorn wrote:I have no idea.... I run movie seek as autostart script. Tv loads, and patch works. After that I applied the time patch and when I press left arrow or right, it tries to skip, but play at the same time.
Filezilla status:ftp> quote MDTM time.txt
213 20140202132709
Code: Select all
Timezone offsets: Server: 2422800 seconds. Local: 3600 seconds. Difference: -2419200 seconds.
Code: Select all
/dtv/usb/sda1/SamyGO/opt/privateer/usr/sbin # ./getsetcurrenttimefromtv -n exeDS
P
Current Time: 1393776295
Current TimeZone Number: 9
Current TimeZone Offset: 60
The current date/time is: Sun Mar 2 16:04:55 2014
Current Time+Offset: 1393779895
The current date/time+offset is: Sun Mar 2 17:04:55 2014
/dtv/usb/sda1/SamyGO/opt/privateer/usr/sbin #
Code: Select all
./getsetcurrenttimefromtv -n exeDSP -U
Mon Mar 3 17:37:08 2014
./getsetcurrenttimefromtv -n exeDSP -D
Mon Mar 3 18:37:12 2014
Code: Select all
cp /mtd_rwcommon/CSP_TimeZone /tmp
Code: Select all
./getsetcurrenttimefromtv -n exeDSP -U
Mon Mar 3 18:37:19 2014
./getsetcurrenttimefromtv -n exeDSP -D
Mon Mar 3 19:37:21 2014
You should either use -U or -D. You should NEVER use bothzoelechat wrote:I found something strange, is it normal that when 'localtime' file exists, returned values are offset by timezone offset?
For example, first instance of -U -D (I didn't use -s or -u at all before):Creation of localtime file:Code: Select all
./getsetcurrenttimefromtv -n exeDSP -U Mon Mar 3 17:37:08 2014 ./getsetcurrenttimefromtv -n exeDSP -D Mon Mar 3 18:37:12 2014
Second instance of -U -D:Code: Select all
cp /mtd_rwcommon/CSP_TimeZone /tmp
See that values are now offset by +1hour (UTC+1, UTC+2), shouldn't they have the same offset as in first instance? (UTC, UTC+1)Code: Select all
./getsetcurrenttimefromtv -n exeDSP -U Mon Mar 3 18:37:19 2014 ./getsetcurrenttimefromtv -n exeDSP -D Mon Mar 3 19:37:21 2014