Delete unused script which records and converts at the same time.
[recordtv.git] / src / rtv_programmeinfo.py
blob3730c14bce214d11cf42ff6d731eae7ec394be5c
1 #!/usr/bin/python
3 import rtv_propertiesfile
5 class ProgrammeInfo( rtv_propertiesfile.PropertiesFile ):
7 def __init__( self ):
8 self.title = None
9 self.sub_title = None
10 self.description = None
11 self.channel = None
12 self.channel_pretty = None
13 self.startTime = None
14 self.endTime = None
15 self.categories = []
16 self.atJob = None
17 self.deleteTime = None
18 self.priority = None
21 def clashes_with( self, otherPi ):
23 return ( ( otherPi.startTime >= self.startTime and
24 otherPi.startTime < self.endTime )
26 ( self.startTime >= otherPi.startTime and
27 self.startTime < otherPi.endTime ) )
29 def get_priority( self ):
30 if self.priority == None:
31 return 0
32 else:
33 return int( self.priority )