Hi,
We have created an Integration between Picturepark DAM and Kaltura. It is working fine except one thing. We cannot update name and description of a media entry. Updating custom metadata and the media entry itself is working fine.
I do the following:
private void UpdateMetadataToKaltura(KeyValuePair asset)
{
KalturaClient client = GetKalturaClient(KalturaSessionType.USER);
KalturaMediaEntry mediaEntry = GetKalturaMediaEntry(asset.Value.KalturaID);
string categories = GetCategoryIds(client, asset.Value);
string tags = GetStringFromList(asset.Value.Tags);
mediaEntry.Name = asset.Value.Title;
mediaEntry.RedirectEntryId = asset.Value.AssetId.ToString();
mediaEntry.Description = asset.Value.Description;
mediaEntry.CategoriesIds = categories;
mediaEntry.Tags = tags;
mediaEntry.SearchProviderType = KalturaSearchProviderType.KALTURA;
client.MediaService.Update(asset.Value.KalturaID, mediaEntry);
}
The code above throw an error the "Invalid entry schedule dates"
I don`t know what to do there, I just want to change the name and Description and would like to keep everything else like it is.
Has anyone an idea?
Thanks in advance!
Stefan