Skip to content

Commit

Permalink
Merge pull request #10 from gerard33/add_sources
Browse files Browse the repository at this point in the history
Added sources
  • Loading branch information
gerard33 authored Jul 22, 2019
2 parents fa8e097 + de20c30 commit 31ad0a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion braviapsk/sony_bravia_psk.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ def load_source_list(self):
if not resp.get('error'):
results = resp.get('result')[0]
for result in results:
if result['source'] in ['tv:dvbc', 'tv:dvbt', 'tv:dvbs']: # tv:dvbc = via cable, tv:dvbt = via DTT, tv:dvbs = via satellite
# tv:dvbc = via cable, tv:dvbt = via DTT, tv:dvbs = via satellite
# tv:isdbgt = Brazilian Digital TV standard, tv:atsct = via atsct, tv:analog = via analog input
if result['source'] in ['tv:dvbc', 'tv:dvbt', 'tv:dvbs', 'tv:isdbt', 'tv:isdbbs', 'tv:isdbcs',
'tv:isdbgt', 'tv:atsct', 'tv:analog']:
original_content_list.extend(self.get_source(result['source']))

resp = self.bravia_req_json("sony/avContent",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='pySonyBraviaPSK',
version='0.1.7',
version='0.1.8',
description='Library for Sony Bravia TVs with Pre-Shared Key option',
url='https://github.com/gerard33/sony_bravia_psk',
maintainer='Gerard',
Expand Down

0 comments on commit 31ad0a8

Please sign in to comment.