Jump to content

Failed to load API definition. Errors LiveTV ?


Recommended Posts

mickle026

server log?

Server log - why exactly once on the swagger there are no logs for it

2020-02-23 13:33:51.790 Info HttpServer: HTTP GET http://mylan:8096/emby/openapi. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
2020-02-23 13:33:51.954 Info HttpServer: HTTP Response 200 to mypc. Time: 164ms. http://mylan:8096/emby/openapi
2020-02-23 13:34:20.621 Info HttpServer: HTTP GET http://mylan:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxx. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
2020-02-23 13:34:20.622 Info HttpServer: HTTP Response 200 to mypc. Time: 1ms. http://mylan:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxx
2020-02-23 13:34:20.839 Info HttpServer: HTTP GET http://mylan:8096/emby/System/Logs. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
2020-02-23 13:34:20.840 Info HttpServer: HTTP GET http://mylan:8096/emby/System/Configuration. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
2020-02-23 13:34:20.841 Info HttpServer: HTTP Response 200 to mypc. Time: 0ms. http://mylan:8096/emby/System/Configuration
2020-02-23 13:34:20.843 Info HttpServer: HTTP Response 200 to mypc. Time: 4ms. http://mylan:8096/emby/System/Logs
2020-02-23 13:34:22.977 Info HttpServer: HTTP GET http://mylan:8096/emby/System/Logs/embyserver.txt. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

5e52809a04cb6_Untitled.jpg

 

 

 

Looks to me like a malformed url that needs updating like a few other bits of this api.  Clicking the Padlock on most of the api shows more info and "try it"

 

on livetvservice it just errors

 

Link to post
Share on other sites
Luke

OK, it seems to be working just fine from here but we'll keep an eye out for it. Thanks.

Link to post
Share on other sites
Happy2Play

Only way I can get that error is to logout.

 

I guess the question would be how are you connecting to the api, by dashboard or a shortcut url?

Edited by Happy2Play
Link to post
Share on other sites
mickle026

Only way I can get that error is to logout.

 

I guess the question would be how are you connecting to the api, by dashboard or a shortcut url?

It all seems good now , I have no idea what was going on.  Everything the day i reported it was failing from the swagger url. Connecting to emby server on lan from VS IDE with code was working, so as the dialogs say an authentification issue.

 

I came back the day after and its all working, so it seems to me that it must have been something in between with ISPs, my pc hasn't been off and Luke never had an issue his side.  Issue was only the swagger url connecting to my server and not me directly connecting via an api call.

 

Its all good again.

 

I would like to know is there ever a plan or going to be one for POST /LiveTV/Channels to add or update live tv channels.?

Link to post
Share on other sites
Luke

 

 

I would like to know is there ever a plan or going to be one for POST /LiveTV/Channels to add or update live tv channels.?

If there's a feature in the web management interface, then there's an api for it.

Link to post
Share on other sites
mickle026

I cannot find that api.

 

But I can find POST for Tuner hosts, so that would allow me to add an M3U with channels in it regardless if they were from a homerun, iptv or static webstreams etc so I think I may have found a work around for what I wanted to do, I just might end up with a dozen tuners!

 

I would like to alter channel numbers via the api though, is that possible?

Edited by mickle026
Link to post
Share on other sites
Luke

Not currently no, but once we have improved channel management in the user interface, then there will be.

Link to post
Share on other sites
mickle026

Not currently no, but once we have improved channel management in the user interface, then there will be.

Cool :) - Will make me happy  - thanks :D

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...