xteve-project / xTeVe

M3U Proxy for Plex DVR and Emby Live TV
MIT License
1.86k stars 238 forks source link

API is just nowhere to be found? #359

Closed SirRob24 closed 1 year ago

SirRob24 commented 1 year ago

Shot in the dark here but, no matter what way I try to install or run Xteve, there doesn't seem to be any API folder/files so when I go to http://[xteve.ip]:[port]/api/ all I get is a 404 error. API access is turned on in the settings. I've restarted Xteve. I've tried it on the master and on the beta. I've also tried using the pre-build windows exe and I've also installed a bunch of random docker images or various different Xteve builds but there is just no API to found. What am I doing wrong here?

Thanks!

MCTyler commented 1 year ago

https://github.com/xteve-project/xTeVe-Documentation/blob/master/en/configuration.md#api

SirRob24 commented 1 year ago

Figured it out. It's because I was using /api/ instead of /API/. So it needed to be in all caps. It works now.

SirRob24 commented 1 year ago

Actually I lied. I spoke too soon. Having /API/ just returns an xml that looks like this

`

http://[XTEVE.IP:PORT] 1 0 urn:schemas-upnp-org:device:MediaServer:1 xTeVe Silicondust HDTC-2US HDTC-2US uuid:xteve:10 ` If I do lowercase /api/ then I just get "Not Found [404]". If I turn off api access in the xteve settings then I get "Locked [423]" instead.
SirRob24 commented 1 year ago

Oh man. Never mind, AGAIN. So Didn't change anything. Same code, same attempt same everything and it just works now... So... I got no idea. Any way, this is actually closed now. For real this time. Promise.