Jump to content

Emby API Swagger error


Recommended Posts

sfatula

If you look at ChannelService, /Channels/{Id}/Items, and try it out in Swagger UI, there is nowhere to fill in the ID!

Meanwhile, is there an Emby API call to get a specific channels M3U URL given the channel id?

Edited by sfatula
Link to post
Share on other sites
Luke

This api endpoint is deprecated now, I'll hide it from Swagger. It was actually used with the internet channels framework, not live tv.

 

Quote

Meanwhile, is there an Emby API call to get a specific channels M3U URL given the channel id?

In the non-admin api, not exactly. You can get original urls using the admin api's that are used by the setup screens in the server.

Link to post
Share on other sites
sfatula
Posted (edited)

Are those admin API calls documented somewhere, or, just in the code? Having trouble finding them referenced anywhere. If in the code only, I can find them but let me know. Though the thought occurs to me, not sure if the code is public.

Edited by sfatula
Link to post
Share on other sites
PenkethBoy

I think Luke means

Api calls that are made via an authenticated admin user - as a normal user does not have access to the server dashboard

Link to post
Share on other sites
sfatula
Posted (edited)

Ok, but I am logged in as admin, looking on the wiki, looking at java code, looking at swagger as admin, I see no API call that would provide me with M3U url defined within Emby or anything that looks like an API that would provide it or might be used as setup for Emby. I don't see it in the swagger UI list. I just want someone to point me to it if possible. If it's documented anywhere. I've looked a few hours trying numerous endpoints. 

Edited by sfatula
Link to post
Share on other sites
Luke

When in doubt you can always use the chrome debugger to monitor what the config pages do.

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...