Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
Using the V3 API, if you start an admin session and add a new Playlist using the playlist service's add method, KalturaCE creates a record in the entry table in the DB, but it sets the kuser_id to NULL. When the kuser_id is NULL you cannot manage the playlist from the KMC or retrieve it using the list action on the playlist service.
If you manually edit the record that was created by the add to change the kuser_id field in the DB to a non-NULL value, say "3", the playlist then shows up in the list and you can successfully manage it in the KMC and retrieve it with a list call. I noticed the kshow_id also gets set to NULL but that alone doesn't foul up the playlist.
Here's the code using the new V3 API Java client if you are interested:
// find the playlist
playlistList = playlistService.list();
boolean foundPlaylist = false;
for (KalturaPlaylist aPlaylist : playlistList.objects) {
if (aPlaylist.id.equals(addedPlaylistId)) foundPlaylist = true;
}
assertTrue(foundPlaylist); // THIS FAILS unless you manually set kuser_id in the DB
Anyone know why kuser_id is being set to NULL when a playlist is added from the API?
Jeff
Cool. Thanks for the link. Glad it's fixed.
I thought I should expect to see the fix in HEAD at svn://www.kaltura.org/usr/local/kalorg but it looks like they only have tagged/released branches in there. Am I missing something?
Jeff
Look here
http://www.kaltura.org/kuserid-addaction-playlist-service