Okay, thank you for helping.
I have this for my deep linking code. I believe it gets added to main.brs Does it matter where in the main.brs it gets placed? That has always confused me is how to know where to add things. I've been reading about deep linking and hopefully I can get it working. I'll have in the XML contentID and mediaType and only using the movie mediatype.Function Main (mainArgs as Dynamic) as Void
If (mainArgs.ContentId <> invalid) and (mainArgs.MediaType <> invalid)
If (mainArgs.mediaType = “movie” )
print "Play Movie ", mainArgs.ContentId
Else If (mainArgs.mediaType = “live” )
print "Play Live ", mainArgs.ContentId
Else If (mainArgs.mediaType = “episode” )
print "Play Episode ", mainArgs.ContentId
Else If (mainArgs.mediaType = "short-form" or mainArgs.mediaType = "special" or mainArgs.mediaType = "season" )
print "Play ",mainArgs.mediaType, " ", mainArgs.ContentId
Else
'Print an error message. Do not fail silently
print "Unknown Media Type = ", mainArgs.mediaType
End If
End If
End Function
http://www.victoryNOWfilmsandtv.com