Fix up station parameters
Correct wording for bandwidth and bookmark. Also add 'Relia' station reliability parameter. Use hardcoded mean value of 3 for now (seems to be 1-5).
This commit is contained in:
parent
63b87dfa95
commit
92756a7144
1 changed files with 3 additions and 2 deletions
|
@ -120,7 +120,8 @@ class Station:
|
|||
etree.SubElement(item, 'Logo').text = self.logo
|
||||
etree.SubElement(item, 'StationFormat').text = self.genre
|
||||
etree.SubElement(item, 'StationLocation').text = self.location
|
||||
etree.SubElement(item, 'StationBandwidth').text = self.bitrate
|
||||
etree.SubElement(item, 'StationBandWidth').text = self.bitrate
|
||||
etree.SubElement(item, 'StationMime').text = self.mime
|
||||
etree.SubElement(item, 'StationBookmark').text = self.bookmark
|
||||
etree.SubElement(item, 'Relia').text = '3'
|
||||
etree.SubElement(item, 'Bookmark').text = self.bookmark
|
||||
return item
|
||||
|
|
Loading…
Add table
Reference in a new issue