question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong path handling for config file saving

See original GitHub issue

I tried the latest version and, as described, the functionality to save a config file with the values for my TV. If I use the config-file path ~/Desktop/config.cfg the config file ends up in a subdirectory ~/Desktop below the directory I am calling samsungctl from.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:28 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
kdschlossercommented, Jan 31, 2019

as you probably already know. I did take a look at that HomeBridge thing.

This is what I found at a quick glance of the code.

  • only supporting 2016+ TV’s with new firmware only it looks like.
  • aren’t using the application support to it’s fullest.
  • do not have all of the key codes.
  • require a manual mac address entry.
  • I believe they are they are creating a websocket connection over and over again for each command that is sent. I could be wrong on that tho.
  • using a sleep timer of 500 milliseconds is not a long enough delay for an application list. and that is what they are using. I have logs for app lists taking 2-3 seconds to be returned by the TV.
  • the use of sleep timers to wait for data not a good mechanism
  • sending a ping packet to test for connectivity
  • I didn’t notice a thread loop for receiving data (this is the mechanism you would use to check connectivity)
  • no support for activating the voice recognition.
  • no mouse support
  • no text entry support
  • no UPNP support
  • not using 8001/api/v2 to determine connection type
0reactions
kdschlossercommented, Feb 1, 2019

this library is able to get you all of that information… you have to hold tight I am putting together documentation on how to use the advanced features.

everything you can do in the Smart View app you should be able to do with this library.

Read more comments on GitHub >

github_iconTop Results From Across the Web

11 Ways to Fix "The System Cannot Find The Path Specified ...
11 Ways to Fix "The System Cannot Find The Path Specified" Error on Windows · 1. Run Command Prompt as an Administrator ·...
Read more >
37 - Stack Overflow
That path is aimed at all users and it's not the only location where the config file may be stored. It can still...
Read more >
Error message when you open or save a file in Microsoft Excel
This error message occurs when you save or open a file if the path to the file (including the file name) exceeds 218...
Read more >
Pitfalls and Common Mistakes | NGINX
This page outlines some of the NGINX configuration issues that we see frequently and then explains how to resolve them.
Read more >
Wrong path displayed when asking to set the config file to ...
Just make the conf file writable and the message will appear (expected) - the only issue is the path, which is not correct....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found