|
992 | 992 |
|
993 | 993 | ' Print out the deviceProfile for debugging |
994 | 994 | sub printDeviceProfile(profile as object) |
995 | | - print "profile =", profile |
996 | | - print "profile.DeviceProfile =", profile.DeviceProfile |
997 | | - print "profile.DeviceProfile.CodecProfiles =" |
998 | | - for each prof in profile.DeviceProfile.CodecProfiles |
999 | | - print prof |
1000 | | - for each cond in prof.Conditions |
1001 | | - print cond |
1002 | | - end for |
1003 | | - end for |
1004 | | - print "profile.DeviceProfile.ContainerProfiles =", profile.DeviceProfile.ContainerProfiles |
1005 | | - print "profile.DeviceProfile.DirectPlayProfiles =" |
1006 | | - for each prof in profile.DeviceProfile.DirectPlayProfiles |
1007 | | - print prof |
1008 | | - end for |
1009 | | - print "profile.DeviceProfile.SubtitleProfiles =" |
1010 | | - for each prof in profile.DeviceProfile.SubtitleProfiles |
1011 | | - print prof |
1012 | | - end for |
1013 | | - print "profile.DeviceProfile.TranscodingProfiles =" |
1014 | | - for each prof in profile.DeviceProfile.TranscodingProfiles |
1015 | | - print prof |
1016 | | - if isValid(prof.Conditions) |
1017 | | - for each condition in prof.Conditions |
1018 | | - print condition |
| 995 | + #if debug |
| 996 | + print "profile =", profile |
| 997 | + print "profile.DeviceProfile =", profile.DeviceProfile |
| 998 | + print "profile.DeviceProfile.CodecProfiles =" |
| 999 | + for each prof in profile.DeviceProfile.CodecProfiles |
| 1000 | + print prof |
| 1001 | + for each cond in prof.Conditions |
| 1002 | + print cond |
1019 | 1003 | end for |
1020 | | - end if |
1021 | | - end for |
1022 | | - print "profile.PlayableMediaTypes =", profile.PlayableMediaTypes |
1023 | | - print "profile.SupportedCommands =", profile.SupportedCommands |
| 1004 | + end for |
| 1005 | + print "profile.DeviceProfile.ContainerProfiles =", profile.DeviceProfile.ContainerProfiles |
| 1006 | + print "profile.DeviceProfile.DirectPlayProfiles =" |
| 1007 | + for each prof in profile.DeviceProfile.DirectPlayProfiles |
| 1008 | + print prof |
| 1009 | + end for |
| 1010 | + print "profile.DeviceProfile.SubtitleProfiles =" |
| 1011 | + for each prof in profile.DeviceProfile.SubtitleProfiles |
| 1012 | + print prof |
| 1013 | + end for |
| 1014 | + print "profile.DeviceProfile.TranscodingProfiles =" |
| 1015 | + for each prof in profile.DeviceProfile.TranscodingProfiles |
| 1016 | + print prof |
| 1017 | + if isValid(prof.Conditions) |
| 1018 | + for each condition in prof.Conditions |
| 1019 | + print condition |
| 1020 | + end for |
| 1021 | + end if |
| 1022 | + end for |
| 1023 | + print "profile.PlayableMediaTypes =", profile.PlayableMediaTypes |
| 1024 | + print "profile.SupportedCommands =", profile.SupportedCommands |
| 1025 | + #end if |
1024 | 1026 | end sub |
1025 | 1027 |
|
1026 | 1028 | ' does this roku device support playing 4k video? |
|
0 commit comments