To display video stream embedded from a Webpage
Hi Everyone,I am a complete Newbie to Plex but have been using it for couple of months and really love it. Thanks for the great work. Now that I look more into this, I am trying to accomplish a plug-in and have no idea. I could not find any Plugin development guide for Newbies or anything and having read some posts on the board, I think i have an overview of how this works.
I am trying to accomplish the following simple scenario and would love someone's assistance...
A website (idesitv.com) has a bunch of links to live streams of indian channels that I would like to use on Plex. An live example is [http://idesitv.com/9xmusic.php](http://idesitv.com/9xmusic.php) for one of its channels. So the main page has:
Channel A link points to - [http://www.idesitv.com/channel_a.php](http://www.idesitv.com/channel_a.php)
Channel B link points to - [http://www.idesitv.com/channel_b.php](http://www.idesitv.com/channel_b.php)
..
.. and so on
when clicked, it loads up the page with an embedded Windows Media player and buffers a stream from somewhere on the net. I initially created bunch of STRM files by reading some posts and all i did was i looked at the source for each of the channel pages (channel_a.php) and located the stream address and put that in a text file on my disk. When accessed, it worked like a charm with a caveat that it would take upto 2-3 minutes of buffering before playing. I lived with that but now i realize that the site actually changes the actual link to the stream often on their channel page. So when a user loads the channel_a.php, its transparent to where its loading from but in my case, since I hard coded the stream addresses from their source; it breaks. There are about 25 channels and its a lot of work trying to update the stream addresses every 3-4 days. So i decided to have a plugin to actually load the pages directly (channel_a.php etc) rather than STRMs with hardcoded link.. and this is where I am stuck :-)
My understanding is that you will need to develop a plugin to get the list of channels and then use a site config file to mask out the Windows media player area. All I would like to start with is a item called iDesiTV and under that, have multiple links or list of channels (a, b, c, d,....) each of then when clicked just loading up the channel_a.php page and then "zooming" on the media player coordinates.
The plan was to essentially get the category done (iDesiTV) and then add couple of the links pointing to the channels and see if plex would launch the page with that.. and if so, then add the siteconfig to zoom into the media player coordinates.
Can someone please assist me (or point to ) a similar plugin that does something as simple as this that I can look at and modify to start? or the sample code as to what and how I would do this?
Thanks for your help in advance
Richard