Show Menu
主题×

在 Roku 中实施标准元数据

实例化一个标准元数据对象,填充所需变量,并在媒体心率对象中设置该元数据对象。
视频:
standardMetadata = {} standardMetadata[ADBMobile().MEDIA_VideoMetadataKeySHOW] = "sample show" standardMetadata[ADBMobile().MEDIA_VideoMetadataKeySEASON] = "sample season" standardMetadata[ADBMobile().MEDIA_VideoMetadataKeyEPISODE] = "sample episode" mediaInfo[ADBMobile().MEDIA_STANDARD_MEDIA_METADATA] = standardMetadata
音频:
standardMetadata = {} standardMetadata[ADBMobile().MEDIA_AudioMetadataKeyARTIST] = "sample artist" standardMetadata[ADBMobile().MEDIA_AudioMetadataKeyALBUM] = "sample album" standardMetadata[ADBMobile().MEDIA_AudioMetadataKeyLABEL] = "sample label" mediaInfo[ADBMobile().MEDIA_STANDARD_MEDIA_METADATA] = standardMetadata
请在此处查看视频元数据的完整列表: 音频和视频参数