Your Digital Media Has Never Looked So Good

 
jmendoza
Topic Author
Posts: 4
Joined: Fri Oct 19, 2018 12:35 pm

Problem with DRMPARAMS on ContentNode

Fri Oct 19, 2018 12:43 pm

Hi!, I'm having problems assigning the drm params to a content node, when I show the content node on console, says that "DRMPARAMS: invalid". Does anyone have the same problem? all the other fields are correct.
Thanks!


This is my code:
           item = createObject("RoSGNode","ContentNode")
            'commented for debugging
            'item.SetFields(itemAA)
            
            item.Actors = itemAA.Actors
            item.Categories = itemAA.Categories
            item.Description = itemAA.Description
            item.Directors = itemAA.Directors            
            item.HdBackgroundImageUrl = itemAA.HdBackgroundImageUrl
            item.HdPosterUrl = itemAA.HdPosterUrl
            item.ReleaseDate = itemAA.ReleaseDate
            item.StreamFormat = itemAA.StreamFormat
            item.Streams = itemAA.Streams
            item.Title = itemAA.Title
            item.Url = itemAA.Url
            item.EncodingKey = itemAA.EncodingKey
            item.EncodingType = itemAA.EncodingType
            
            if itemAA.doesExist("drmParams")
                'info only for demostration
                drmParams = createObject("roAssociativeArray")
                drmParams.name = "Verimatrix"
                drmParams.authDomain = "auth-value-from-streaming-provider"
                drmParams.serializationUrl = "hostname-url-from-streaming-provider"
                
                item.DRMPARAMS = drmParams
                ? "drm on parse"            
                ? item                
            end if         
 
jmendoza
Topic Author
Posts: 4
Joined: Fri Oct 19, 2018 12:35 pm

Re: Problem with DRMPARAMS on ContentNode

Mon Nov 05, 2018 4:23 pm

Ok, it was firmware related, updated to 9.0 and I can see the array now.

Who is online

Users browsing this forum: No registered users and 3 guests