e2openplugin-OpenWebif icon indicating copy to clipboard operation
e2openplugin-OpenWebif copied to clipboard

API: get timeshift status

Open gahujipo opened this issue 4 years ago • 5 comments

Is there any way to get the timeshift status via the API? A

"isTimeshift": true

would be great.

gahujipo avatar Mar 31 '20 18:03 gahujipo

Please try /api/tsstate

jbleyel avatar Apr 08 '20 19:04 jbleyel

That gives me a 404 error. Did that come with a certain newer version?

gahujipo avatar Apr 08 '20 21:04 gahujipo

The commit is from 2017

https://github.com/E2OpenPlugins/e2openplugin-OpenWebif/commit/430758cb267630e2bd3d43de27e935f8bf8a9ae6

You may have a very old version.

jbleyel avatar Apr 09 '20 15:04 jbleyel

I just upgraded this weekend to a current version. And indeed you were right.

I see this:

"timeshiftEnabled": 1

I habe enabled automatic timeshift after 20 seconds. So this gives me the info whether a timeshift file has begun. In my case this is always after 20 seconds. Is there a way to get the info whether the picture is live or timeshifted?

gahujipo avatar Apr 14 '20 15:04 gahujipo

Sorry. I don't know how. Someone of the enigma2 source developer may help.

jbleyel avatar Apr 14 '20 16:04 jbleyel

Closed because of not reproducible

jbleyel avatar Sep 21 '22 06:09 jbleyel

@jbleyel what do you mean by "not reproducible"? Do you need further information on this problem?

gahujipo avatar Sep 21 '22 06:09 gahujipo

If you can reproduce then please describe more detailed. And provide your image infos.

jbleyel avatar Sep 21 '22 06:09 jbleyel

By the way. There are complete different implementations for permanent timeshift out there and the OWF will only support the image internal implementation.

jbleyel avatar Sep 21 '22 06:09 jbleyel