homeworkc / lazycast

A Simple Wireless Display Receiver
GNU General Public License v3.0
689 stars 89 forks source link

d2.py always open VLC when installed on raspbian-nspawn-64 #41

Closed win98se closed 4 years ago

win98se commented 4 years ago

On raspbian-nspawn-64, the architecture is aarch64 instead of starting with armv.

image

This causes d2.py always open VLC instead of other binaries. (Line 194 of d2.py)

More information on architecture info on raspbian-nspawn-64 - image

win98se commented 4 years ago

In addition, using VLC, there are huge delays.

I changed line 194 of d2.py from - if (os.uname()[-1][:4] != "armv"): to - if (os.uname()[-1][:4] != "armv") and (os.uname()[-1] != "aarch64"):

And it works, delays are gone as well.

homeworkc commented 4 years ago

This should be fixed in the current commit.