File: panasonic_viera.py

package info (click to toggle)
python-netdisco 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 516 kB
  • sloc: python: 1,550; xml: 247; sh: 10; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
"""Discover Panasonic Viera TV devices."""
from . import SSDPDiscoverable


class Discoverable(SSDPDiscoverable):
    """Add support for discovering Viera TV devices."""

    def get_entries(self):
        """Get all the Viera TV device uPnP entries."""
        return self.find_by_st("urn:panasonic-com:service:p00NetworkControl:1")