-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toast popups with icons #39
Comments
Open
Base64 encoded images are working for me.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this library. It works perfectly for me, although I don't understand how it actually communicates with the TV. But that doesn't matter, I have a working Node-RED interface.
What I use is the lgtv-toast node and then what I really wanted is to be able to define the icon. Eventually I found a Python library pylgtv which did exactly what I needed, but not in Node-RED. So I updated my local copy of lgtv-toast.js with two lines just before node.tvConn.request(...:
payload.iconData = msg.iconData;
payload.iconExtension = 'PNG';
With the right data this works and shows the icon, but it's a proper bodge and doesn't have any flexibility or error checking.
If you have the time, would you please consider reviewing this option and adding the feature correctly because I think there are other people who would find it very useful.
Many thanks.
The text was updated successfully, but these errors were encountered: