3 import rtv_propertiesfile
5 class ProgrammeInfo( rtv_propertiesfile
.PropertiesFile
):
10 self
.description
= None
12 self
.channel_pretty
= None
17 self
.deleteTime
= None
19 self
.destination
= None
20 self
.unique_subtitles
= True
23 def clashes_with( self
, otherPi
):
25 return ( ( otherPi
.startTime
>= self
.startTime
and
26 otherPi
.startTime
< self
.endTime
)
28 ( self
.startTime
>= otherPi
.startTime
and
29 self
.startTime
< otherPi
.endTime
) )
31 def get_priority( self
):
32 if self
.priority
== None:
35 return int( self
.priority
)