added notify function with MyPlayer