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.

lgtv scan not working

See original GitHub issue

Upon running the lgtv scan command I receive an unrecognisable output: (personal details are #'ed)

Unknown device b’HTTP/1.1 200 OK\r\nHOST: ###.###.###.###:1900\r\nEXT:\r\nCACHE-CONTROL: max-age=100\r\nLOCATION: http://###.###.###.###:80/description.xml\r\nSERVER: Hue/1.0 UPnP/1.0 IpBridge/1.45.0\r\nhue-bridgeid: 001788FFFEAF4BEA\r\nST: upnp:rootdevice\r\nUSN: uuid:########-####-####-####-############::upnp:rootdevice\r\n\r\n’ (‘###.###.###.###’, 1900) Traceback (most recent call last): File “/Users/keets/.local/bin/lgtv”, line 8, in <module> sys.exit(main()) File “/Users/keets/.local/pipx/venvs/lgtv/lib/python3.9/site-packages/LGTV/init.py”, line 111, in main results = LGTVScan() File “/Users/keets/.local/pipx/venvs/lgtv/lib/python3.9/site-packages/LGTV/scan.py”, line 28, in LGTVScan uuid = re.findall(r’uuid:(.*?):', line.decode(‘utf-8’))[0] IndexError: list index out of range

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
klattimercommented, Aug 26, 2021

Interesting, could you install a upnp browser/analyser and see what you find, looks like a rogue dnla device

0reactions
Person2099commented, Sep 3, 2021

I completely uninstalled and reinstalled the latest commit and that seems to have fixed the issue. Thank You!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is My LG Not Finding Channels? (5 Solutions)
Why is My LG Not Finding Channels? (5 Solutions) · Check the TV Antenna · Check Signal Strength · Chanel Tune Your LG...
Read more >
No Signal Message - TV | LG USA Support
Do you see a NO SIGNAL message on your TV? This means that the TV isn't getting an input signal, from the currently...
Read more >
Solved! - LG. OLED55E6P TV will not tune in digital channels
Well maybe try factory reset the tv. Option to reset should be there in the menu somewhere. Then reconfigure the tv (first time...
Read more >
How to rescan for antenna channels on your LG TV
1. Select "Settings" on your remote. · 2. Scroll down to the "Advanced Settings" menu. (Alternatively, you can hold down the settings button...
Read more >
LG TV Not Programmed issue (Solved! Just do This)
There are several reasons why your LG TV might not be finding channels when you scan for them. The most common reason is...
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