Jump to content

Podcast plugin API reference


Recommended Posts

Posted

Hi,

Is there any reference on the API for the Podcast Plugin? How to list the podcasts, how to list the episodes and retrieve some basic information like name, artist, duration?

In the whole Emby reference, there is only a single mention of the word podcast here. Element of an Enum ChannelMediaContentType. However, this is not referenced anywhere from the API endpoints. 

Any pointers or examples of interfacing with the Podcast Plugin API?

Posted

Hi, the plugin doesn’t have a separate API.

 You can use the Emby server API to fetch the contents just like you would for a regular library.

  • 1 month later...
Posted

Thank you for your response and sorry for the delay as I did not receive any update through email. After researching again in the documentation, API specs and wiki, I cannot determine how to find podcasts or podcast episodes.

For example, for audio playlists I would make a filtered request on the /Items endpoint with "IncludeItemTypes=Playlist". However, what should the filter look like for podcasts? Is it considered a 'Channel'? And if so, how to distinguish podcasts from other channels?

In order to get the playlist items, there is a separate API endpoint /Playlists/{Id}/Items. How to obtain the podcast episodes? Is it again a call to /Items, but now with "ParentId={Id}"?

Posted

There isn't a global way to find them. Once they're imported into the library, they just become regular library items. You need to know the parent id of the podcasts library and then scope all of your queries underneath that.

One way to get that would be the user views api, so users/id/views

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