You really should have searched this site before posting, because this question has been asked for years . So, search the site for Amazon Fire TV; I have mentioned it (along with MrMC app} as a good and inexpensive alternative. I have two WDTVs, but when I needed a third one I used my Fire TV stick and put the Kodi app on it and later switched to using MrMC app from Amazon app store since it is a simpler app that is a derivative of Kodi.
There are pricier alternatives such as Android media player boxes and Raspberry Pi.
BTW, what is the problem with your WDTV?