-
Notifications
You must be signed in to change notification settings - Fork 109
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
[Added] handling of IPTV services properly #668
Conversation
This is probably a problem because this change breaks these types of srefs: #SERVICE 1:0:19:2774:409:1:C00000:0:0:0::TLC HD |
You need to use eServiceRefrence . toCompareString() instead of the full sref otherwise you will break the timers. |
# if pos != -1: | ||
# if value[pos - 1] == ':': | ||
# pos -= 1 | ||
# value = value[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong!
# if pos != -1: | ||
# if value[pos - 1] == ':': | ||
# pos -= 1 | ||
# value = value[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also wrong
#if pos != -1: | ||
# if sname[pos - 1] == ':': | ||
# pos -= 1 | ||
# sname = sname[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also wrong.
#if pos != -1: | ||
# if service[pos - 1] == ':': | ||
# pos -= 1 | ||
# service = service[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also wrong
# if pos != -1: | ||
# if service[pos - 1] == ':': | ||
# pos -= 1 | ||
# service = service[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also wrong
# if pos != -1: | ||
# if value[pos - 1] == ':': | ||
# pos -= 1 | ||
# value = value[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also wrong
# if pos != -1: | ||
# if value[pos - 1] == ':': | ||
# pos -= 1 | ||
# value = value[:pos + 1] | ||
autotimer.services = [value] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also wrong
# if pos != -1: | ||
# if value[pos - 1] == ':': | ||
# pos -= 1 | ||
# value = value[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also wrong
#if pos != -1: | ||
# if sref[pos - 1] == ':': | ||
# pos -= 1 | ||
# sref = sref[:pos + 1] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use toCompareString() instead
I think you should revert all and start from scratch. |
No description provided.