Newbie developer question

I have an application in mind and need help understanding how this can be implemented as a plex plugin.  I am an experienced python developer and understand the API calls but I am missing the big picture.  I don't know what kind of applications are possible.

 

I want to be able to tell a plex player, specifically a chromecast, what to play.  In other words I want to do a very simple client similar to something like the android client but the client would be implemented as a web page.  The player (chromecast) would go to the plex server as normal and play any content from the PMS.

 

If this isn't directly possible, could I make a channel plugin that presents the one thing I want to play?  Or maybe I can control things with simple http requests to something?

 

Thanks in advance for anything that can help me understand what is possible.

 

Edit: I think I found the answer.  I can't control the chromecast directly but I can control a client that is controlling the chromecast.  I'm planning on using my android client.  I found this answer at https://code.google.com/p/plex-api/wiki/PlexWebAPIOverview