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.

Hi, thanks for sharing this tool, it appears to be exactly what i was looking for.

Although I am unable to get any media to play. I am trying to stream from arch linux + python 3.9 to a sony bdp-s390 bluray play. The device is found using nanodlna list, but when trying: nanodlna play movie.mp4 it returns the following error.

Traceback (most recent call last):
  File "/home/clu/.local/bin/nanodlna", line 8, in <module>
    sys.exit(run())
  File "/home/clu/.local/lib/python3.9/site-packages/nanodlna/cli.py", line 96, in run
    args.func(args)
  File "/home/clu/.local/lib/python3.9/site-packages/nanodlna/cli.py", line 73, in play
    dlna.play(files_urls, device)
  File "/home/clu/.local/lib/python3.9/site-packages/nanodlna/dlna.py", line 54, in play
    send_dlna_action(device, video_data, "SetAVTransportURI")
  File "/home/clu/.local/lib/python3.9/site-packages/nanodlna/dlna.py", line 29, in send_dlna_action
    urllibreq.urlopen(request)
  File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error

Any thoughts you may have would be very appreciated!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gabrielmagnocommented, Jan 20, 2021

I’m glad the bug was fixed, and happy to know that nano-dlna is being useful for you 😃 I will include the bug fix in the next release. For now you can keep using the version from that branch.

Regarding the controller actions features, it is indeed possible to do it with DLNA, it is just a matter of being implemented in nano-dlna. Considering that you are showing interest on this feature, and that I’ve recently became more motivated to continue nano-dlna development, I will take a shot!

0reactions
vredesbyyrdcommented, Jan 20, 2021

Considering that you are showing interest on this feature, and that I’ve recently became more motivated to continue nano-dlna development, I will take a shot!

Right on! I would help if I had adequate programming knowledge, but I am just not there… yet. But I can definitely help test new features, haha.

Glad to hear you are interested/motivated to continue development on nano-dlna. In my hunt for a dlna cli program none of them were capable of controlling playback as far as i know. So yeah that would be another thing that sets yours apart, in addition to being python rather than node.js + a thousand depends.

I look forward to it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP response status codes - MDN Web Docs - Mozilla
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:.
Read more >
List of HTTP status codes - Wikipedia
This is a list of Hypertext Transfer Protocol (HTTP) response status codes. Status codes are issued by a server in response to a...
Read more >
HTTP Status Codes - REST API Tutorial
HTTP Status Codes · 1xx Informational · 2xx Success · 3xx Redirection · 4xx Client Error · 5xx Server Error.
Read more >
HTTP/1.1: Status Code Definitions
This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty...
Read more >
What are HTTP Status Codes? List Of Important Status ... - Moz
An HTTP status code is a server response to a browser's request. When you visit a website, your browser sends a request to...
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