Skip to content

Commit

Permalink
fix an issue not showing the info for single tuner hardware.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Blackburn committed Jun 7, 2017
1 parent a1d5046 commit 76bfa85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlexDVRAPI/src/plugin.py
Expand Up @@ -172,7 +172,7 @@ def ok(self):

def save(self):
for type in tunerTypes:
if self.discover[type]["TunerCount"] > 1 and self.discover[type]['NumChannels'] > 0:
if self.discover[type]["TunerCount"] > 0 and self.discover[type]['NumChannels'] > 0:
print '[Plex DVR API] Creating JSON files for %s' % type
getdeviceinfo.write_discover(writefile='/www/%s/discover.json' % tunerfolders[type], dvbtype=type)
getdeviceinfo.write_device_xml(writefile='/www/%s/device.xml' % tunerfolders[type], dvbtype=type)
Expand Down

0 comments on commit 76bfa85

Please sign in to comment.