-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AutoTimer] API param to clearUnsetValues on /edit #430
Comments
Hi @wedebe , all of your 3 requests can be done very easy. BUT !! There are many different autotimer plugin versions out there and the API version is also different. |
@jbleyel , Should I copy each issue to each of the repos? |
You can. Please do not count on and think about "what if not". |
What exactly do you wanna clean with "clearUnsetValues=true"? |
AutoTimer keeps values such as Standard html form submission omits parameters which don't have a value, however I currently have to set Removing filter attributes is a pain as they each seem to need to be kept track of and sent as empty values. Eg. |
Another example would be an AutoTimer with filters |
I think there is a py3 problem. PY2: PY3: req.args.get("!title") can be an array This needs to be fixed in the PY3 version like so.
|
I'll test, thanks. I would be concerned that without an additional param, existing api consumers might experience unexpected behaviour. |
BTW, I've got a branch in progress at I've been testing on OpenATV versions 6.5 and 6.4 |
I will commit the PY3 fix if you have test it cause i'm not able to test PY3 at the moment. |
I have made the commit because i'ts working on PY2 and should also work on PY3. |
This fixes a separate problem on PY3 which was that title=foo ended up being ingested as
My apologies, this now works better than expected, but not entirely. |
Please provide an example. |
Sorry, I'd commented out code that sent an empty param, the filter removal now works as expected on OpenATV6.5, thanks! |
Feature request:
AutoTimers which are edited to remove all
bouquets
/services
/include
orexclude
(and maybe other) attribute values, maintain the previous values unless empty params are sent, eg.bouquets=&
.It would be nice to have a param such as
clearUnsetValues=true
to wipe unset attributes from an autotimer.The text was updated successfully, but these errors were encountered: