XBMC has a solution for TV, but it only applies to your own hosted media. Take a look at PseudoTV.
I was actually writing a similar plugin for Plex.tv last year until my client hours put that on the backburner indefinitely.
I was actually writing a similar plugin for Plex.tv last year until my client hours put that on the backburner indefinitely.
I have a long list of tools that do something similar and I've not come across that one before.