Playlist Name and Image

I have created a Playlist in KMC. Is there an iOS Kaltura API, which I can use to get Playlist name?

Is there a way to add an image associated with playlist not its content and later extract it using some API (if there is any)?

Urgent, Awaiting response.
Thanks

Hi,

All playlist operations are done using the [API playList service] (https://developer.kaltura.com/api-docs/#/playlist).
Not sure what you mean by [quote=“mauligulati, post:1, topic:6250”]
Is there a way to add an image associated with playlist not its content and later extract it using some API (if there is any)?
[/quote]

Can you please elaborate as to what you need done?

Thanks for replying.

I meant while creating Playlist we give it a name. First question: Is there a way to add an image also to a playlist?

Second, which playlist service API should I use to extract playlist name and image set in KMC in my iOS project later?

Hello,

Playlists consist of a list of entries, as such, they can contain video, audio or image entries.
As you can see here:
https://developer.kaltura.com/api-docs/#/playlist, you should use playList.add() to create a new playlist:
https://developer.kaltura.com/api-docs/#/playlist.add
The entries to include are set in playlistContent, XML if the playlistType is dynamic, comma separated list of entry IDs if the playlistType is static or url if the playlistType is mRss

To update a playlist you need to use https://developer.kaltura.com/api-docs/#/playlist.update.
To get a list of playlists you need to use https://developer.kaltura.com/api-docs/#/playlist.list which will include the playlist IDs, names and plenty other attributes.
To get a list of entry IDs a given playlist consists of, you need to use https://developer.kaltura.com/api-docs/#/playlist.execute.

There are code samples that illustrate how to use playlist.execute and generate a player embed from the list here:
http://player.kaltura.com/docs/ServerSidePlaylist

They are in PHP but the idea is the same for all client libs.

Sorry, I am new to Kaltura and have been trying to play with it and get insight. Please bare with me, hoping to get answers to all my questions :slight_smile:

I have been trying to use service = playlist and action = list without setting Filter and Pager parameters.

I saw too Kaltura test consoles:-

  1. https://developer.kaltura.com/console/#/session.start
  2. http://www.kaltura.com/api_v3/testme/

Q - Former gives me correct result and later wrong. Is it obsolete?

Q - What is the correct endpoint to access playlist-list action? Currently I am using:
https://www.kaltura.com/api_v3/?service=playlist&action=list&format=1&ks=**********

which gives me:-
Success : {
objectType = KalturaPlaylistListResponse;
objects = (
);
totalCount = 0;
}

Rather than giving me list of playlists :frowning:

Q- What am I doing wrong?

Q- I am working on iOS app and was wondering what is the difference between “User Secret” and “Admin Secret” and which one to use in my app?