Here's the debug just in case.
Current Function:
105: Function refreshShowDetail( screen As Object, video As Object ) As Integer
106:
107: 'Uncomment this statement to dump the details for each show
108: 'PrintAA(video)
109:
110: screen.ClearButtons()
111: screen.SetStaticRatingEnabled( False )
112:
113: print( "video rating: " + video.StarRating )
114:
115: screen.AddButton(1, "Play")
116: 'screen.AddRatingButton(2, video.StarRating, video.StarRating )
117: screen.AddRatingButton(2, "50", "75" )
118: screen.AddButton(3, "Add To Favorites")
119:
120: video.Directors = video.Director
121: screen.SetContent(video)
122: screen.Show()
123:
124: End Function
/tmp/plugin/PABAAAzjiLK5/pkg:/source/detail.brs(117): runtime error 18: Type Mismatch
117: screen.AddRatingButton(2, "50", "75" )
Backtrace:
Function refreshshowdetail(screen As Object, video As Object) As Integer
Function showdetailscreen(screen As Object, video As Object) As Integer
Function main() As Void
Local Variables:
screen &h16 bsc:roSpringboardScreen, refcnt=3
video &h16 bsc:roAssociativeArray, refcnt=4
global &h07 rotINTERFACE:ifGlobal
m &h06 bsc:roAssociativeArray, refcnt=4