This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60ae0d2
commit 79bca3f
Showing
5 changed files
with
40 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# pylgtv | ||
Library to control webOS based LG Tv devices | ||
|
||
## Example | ||
|
||
```python | ||
from pylgtv import WebOsClient | ||
|
||
import sys | ||
import logging | ||
|
||
logging.basicConfig(stream=sys.stdout, level=logging.INFO) | ||
|
||
try: | ||
webos_client = WebOsClient('192.168.0.112') | ||
#webos_client.launch_app('netflix') | ||
|
||
for app in webos_client.get_apps(): | ||
print(app) | ||
except: | ||
print("Error connecting to TV") | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
description-file = README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
from setuptools import setup | ||
from distutils.core import setup | ||
|
||
setup(name='pylgtv', | ||
version='0.1.5', | ||
description='Library to control webOS based LG Tv devices', | ||
url='https://github.com/TheRealLink/pylgtv', | ||
author='Dennis Karpienski', | ||
author_email='dennis@karpienski.de', | ||
license='MIT', | ||
packages=['pylgtv'], | ||
package_dir={'pylgtv': 'pylgtv'}, | ||
package_data={'pylgtv': ['handshake.json']}, | ||
install_requires=['websockets', 'asyncio'], | ||
zip_safe=True) | ||
setup( | ||
name = 'pylgtv', | ||
packages = ['pylgtv'], | ||
package_dir = {'pylgtv': 'pylgtv'}, | ||
package_data = {'pylgtv': ['handshake.json']}, | ||
install_requires = ['websockets', 'asyncio'], | ||
zip_safe = True, | ||
version = '0.1.5', | ||
description = 'Library to control webOS based LG Tv devices', | ||
author = 'Dennis Karpienski', | ||
author_email = 'dennis@karpienski.de', | ||
url = 'https://github.com/TheRealLink/pylgtv', | ||
download_url = 'https://github.com/TheRealLink/pylgtv/archive/0.1.5.tar.gz', | ||
keywords = ['webos', 'tv'], | ||
classifiers = [], | ||
) |