omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    DLNA server

    Pythonista
    3
    4
    3128
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ihf
      ihf last edited by

      Has anyone gotten a DLNA server working under Pythonista? I'd like to use it to stream content to a Roku box that is a DLNA client.

      1 Reply Last reply Reply Quote 0
      • Ro
        Ro last edited by Ro

        I found a working DLNA Controller & Server that can run on Pythonista: https://github.com/cherezov/dlnap/blob/master/dlnap/dlnap.py

        1 Reply Last reply Reply Quote 0
        • ihf
          ihf last edited by

          Thanks. I saw that one but I get some errors when running it:

          WARNING:DlnapDevice:DlnapDevice (ip = 192.168.3.73) init exception:
          Traceback (most recent call last):
          File "/private/var/mobile/Containers/Shared/AppGroup/B86CEE4E-E4A9-4BB4-9CA7-6E13BDA2C2A4/Pythonista3/Documents/dlna.py", line 406, in init
          raw_desc_xml = urlopen(self.location).read().decode()
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/urllib2.py", line 156, in urlopen
          return opener.open(url, data, timeout)
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/urllib2.py", line 431, in open
          response = self._open(req, data)
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/urllib2.py", line 449, in _open
          '_open', req)
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/urllib2.py", line 409, in _call_chain
          result = func(*args)
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/urllib2.py", line 1230, in http_open
          return self.do_open(httplib.HTTPConnection, req)
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/urllib2.py", line 1203, in do_open
          r = h.getresponse(buffering=True)
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/httplib.py", line 1137, in getresponse
          response.begin()
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/httplib.py", line 454, in begin
          version, status, reason = self._read_status()
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/httplib.py", line 410, in _read_status
          line = self.fp.readline(_MAXLINE + 1)
          File "/var/containers/Bundle/Application/4D202F2A-AE7C-4B37-B5F1-7E2355D23E60/Pythonista3.app/Frameworks/Py2Kit.framework/pylib/socket.py", line 481, in readline
          data = self._sock.recv(self._rbufsize)
          error: [Errno 60] Operation timed out

          1 Reply Last reply Reply Quote 0
          • technoway
            technoway last edited by

            I downloaded that app. I ran it under the latest Pythonist 3 beta, and got the following output in the console window.

            No compatible devices found.

            So, I didn't full test all functionality, but I got no errors.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors