Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

DimitarCC
Copy link
Contributor

No description provided.

@jbleyel
Copy link
Contributor

jbleyel commented Jun 20, 2024

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

@jbleyel
Copy link
Contributor

jbleyel commented Jun 20, 2024

You need to use eServiceRefrence . toCompareString() instead of the full sref otherwise you will break the timers.

@jbleyel jbleyel marked this pull request as draft June 20, 2024 08:36
# if pos != -1:
# if value[pos - 1] == ':':
# pos -= 1
# value = value[:pos + 1]

Copy link
Contributor

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]

Copy link
Contributor

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]

Copy link
Contributor

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]

Copy link
Contributor

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]

Copy link
Contributor

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]

Copy link
Contributor

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]
Copy link
Contributor

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]

Copy link
Contributor

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]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use toCompareString() instead

@jbleyel
Copy link
Contributor

jbleyel commented Jun 20, 2024

I think you should revert all and start from scratch.

@jbleyel jbleyel closed this Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants