greatsuspender / thegreatsuspender

A chrome extension for suspending all tabs to free up memory
https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg/
GNU General Public License v2.0
5.03k stars 899 forks source link

Chromecast exception #378

Open emabartolomucci opened 8 years ago

emabartolomucci commented 8 years ago

I don't know if it's possible, but when casting a tab on Chromecast, the extension should be aware of this and not suspending that tab, as it happened to me yesterday while casting a sport event on a TV.

deanoemcke commented 5 years ago

I did some digging into this and it doesn't appear that there's any way for me to detect if a tab is currently being cast :(

If anyone knows a way to do this I'll happily implement this feature.

I guess the workaround is to keep this tab focused in your chrome browser. Or open it in a new window and make sure it's focussed in that other window.

janpio commented 5 years ago

It's funny how e.g. Soundcloud keeps playing the music and even jumps to the next title in the playlist when the tab is suspended, but looses all context that it was playing something, what song it was playing and that I was casting this to my Chromecast Audio when I resume the tab. I wonder how casting is implemented to get this result...

deanoemcke commented 5 years ago

@janpio yeah, i've noticed with spotify on my mobile, it seems to be able to continue casting even if i force quit the app.