Kodi: An Open Source Home Theater System
Kodi already has a (passable) web interface, so it's possible to expose that externally and get on-premises Spotify and Netflix on the same interface.The main problem is that the remote control and the remote viewing interfaces are co-mingled, it's not very usable. There are alternative interfaces, but they are crappier.