File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ from ariblib.descriptors import ShortEventDescriptor
64
64
from ariblib.sections import EventInformationSection
65
65
66
66
def show_program (eit ):
67
- event = eit.events.__next__ ()
67
+ event = iter ( eit.events) .__next__ ()
68
68
program_title = event.descriptors[ShortEventDescriptor][0 ].event_name_char
69
69
start = event.start_time
70
70
return " {} {} " .format(program_title, start)
@@ -87,7 +87,7 @@ with tsopen(sys.argv[1]) as ts:
87
87
import sys
88
88
89
89
from ariblib import tsopen
90
- from ariblib.constant import SERVICE_TYPES
90
+ from ariblib.constants import SERVICE_TYPE
91
91
from ariblib.descriptors import ServiceDescriptor
92
92
from ariblib.sections import ServiceDescriptionSection
93
93
@@ -105,7 +105,7 @@ with tsopen(sys.argv[1]) as ts:
105
105
import sys
106
106
107
107
from ariblib import tsopen
108
- from ariblib.constants import VIDEO_ENCODE_FORMATS
108
+ from ariblib.constants import VIDEO_ENCODE_FORMAT
109
109
from ariblib.descriptors import VideoDecodeControlDescriptor
110
110
from ariblib.sections import ProgramAssociationSection, ProgramMapSection
111
111
You can’t perform that action at this time.
0 commit comments