happyleavesaoc / python-firetv

MIT License
184 stars 37 forks source link

Getting 404 for default device when trying to start or stop an app #16

Closed TimPerry closed 6 years ago

TimPerry commented 7 years ago

Running on raspberry pi, everything else seems to work like status endpoints but when trying to do an action or start/stop an app I get a 404. Which when looking through the source seems to be when a device is not recognised but this confuses me as I am using the default

Example run command

firetv-server -d 192.168.1.4:5555

Example call:

http://192.168.1.18:5556/devices/default/apps/netflix/stop

Installed using pip:

pip show firetv
---
Name: firetv
Version: 1.0.2
Location: /usr/local/lib/python2.7/dist-packages
Requires: adb
TimPerry commented 7 years ago

Tried building on OS X via dockerfile you provide. When trying I now get this error:

('Received checksum %s != %s', (84025, 242512))
happyleavesaoc commented 7 years ago

@juliangeiges any thoughts on this 404?

@sytone any thoughts on that dockerfile error?

TimPerry commented 7 years ago

Would merging #11 fix this?

arraylabs commented 7 years ago

@TimPerry from what i can tell that Dockerfile is pulling the 1.02 version which i don't think has the start/stop items. Working on building a dockerfile for myself, and can publish here if i get it working.

arraylabs commented 7 years ago

@TimPerry I submitted a PR with my updated Dockerfile that uses the github master instead of the pip source for firetv-server.

Dirt-Nasty commented 7 years ago

@TimPerry @happyleavesaoc Is this still an issue? Im having a problem starting/stopping apps as well. Installed using pip

destructure00 commented 7 years ago

I'm having the same problem. Created a new issue here https://github.com/happyleavesaoc/python-firetv/issues/28 before finding this one.

cbrherms commented 7 years ago

Same issue here, except just locks up rather than 404 and no action performed

cbrherms commented 7 years ago

Should probably add installed via pip

TimPerry commented 6 years ago

Not sure if this is fixed but closing seen as #28 was closed.