-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[PVR] Timers: Allow to change timer type for existing timers. #10057
Conversation
@ksooo how does that impact JSON ? Does it need API change to allow that ? |
@Tolriq no and no. |
@ksooo Anyway to have the just the JSON chance for v17 ? That would simplify a lot the future if v17 and v18 are not incompatible on a new feature. |
Good point, not sure whether I find the time for this, though. PR welcome. |
Tell me what to rename to what :) I have plans to include Timers in Yatse but for the moment I have no idea how it works as I do not use PVR in Kodi. So I do not even understand your naming changes :) |
"repeating timer" -> "timer rule". That's it. |
Ok sounds pretty simple :) Will try to find time before moving to do that. |
@ksooo I've checked quickly current definition. Can you explain me what the new description should looks like for the setters ? Currently it's "the add/delete/edit should be done for all occurances" for repeating, but I'm not sure to understand the difference of this new timer rule definition, so need your description as I suppose it's a little different behavior. |
Come up with a suggestion in a PR and I will be happy to review. |
ef2a83b
to
9f8174f
Compare
Ooops. |
m_timerType = m_timerInfoTag->GetTimerType(); | ||
m_timerType = m_timerInfoTag->GetTimerType(); | ||
|
||
if (!m_timerType) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Apart from my previous comment, +1 |
9f8174f
to
d33dbfd
Compare
jenkins build this please |
travis-ci errors are unrelated. |
This feature was requested several time sin the forum. With this PR it s possible in the timer settings dialog to edit the type of an existing timer or timer rule, for instance to convert a one time timer to a series recording.
@Jalle19 mind taking a look at the code.