Kodi is the final results of what used to be XBMC... to me it is the absolute best complete media player there is... I have all my music loaded on it but I still play music through GMB
Kodi uses plugins to do everything and stream everything.. This guy
from this site will give every bit of information you will ever need to install plugins.. his site is like the How To of How To's. Here he has
the Top Ten Addons and how to install them ... of those I only use Exodus and 1Channel and Phoenix.. but there are literally thousands of plugins you can use for media and music from all over the globe..
I can cast perfectly to my smart tv with any local media I have with a simple right click.. anything you stream from online is possible to cast depending on how the end server is setup ...
Honestly I am stunned at how nice of a product Kodi is and highly recommend it to anyone..