Closed Dirki74 closed 9 months ago
This is somehow expected.
your_custom_storage_is_empty
is designed to be replaced by your own custom function to retrieve the token given by the TV. You need to adapt the code.
Similar for persist_to_your_custom_storage
a few lines below, it's generic function to store the token given by the TV.
PyWebOSTV is a library for communicating with the TV, but it's up to you to choose what you want to do with the token : store in a file, store in a database, etc ...
I tried to come in into your Really nicht piece of Code, but i get following error, running this code:
http://schnippsel.de/paste.php?id=4467