Hi all,
I’ve decided to try and write a plugin that streams flash video from http://lapti.tv
after writing the site config file and the plugin itself I’ve managed to put it into plex. But whenever i select the video channel i want to play, all I get is a black screen, without any video/audio, and no way to pause the time showing on the plex bar (although that isn’t really needed right now).
I’m thinking that the black screen is from the .swf plugin in the siteconfig, but I’m not sure about that.
Here is the site config xml file
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<site site="http://www.lapti.tv"<br />
plugin="http://lapti.tv/uppod.swf"<br />
initialState="paused"<br />
version="1.0"><br />
<br />
<!-- PLAYING --><br />
<state name="playing"><br />
<event><br />
<condition><br />
<command name="pause" /><br />
</condition><br />
<action><br />
<click x="16" y="234" /><br />
<goto state="paused" /><br />
</action><br />
</event><br />
</state><br />
<br />
<!-- PAUSED --><br />
<state name="paused"><br />
<event><br />
<condition><br />
<command name="play" /><br />
</condition><br />
<action><br />
<click x="16" y="234" /><br />
<goto state="playing" /><br />
</action><br />
</event><br />
</state><br />
<br />
<br />
<br />
</site><br />
<br />
And here is the plex media server log
<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - Request: GET /video/:/webkit?url=http%3A%2F%2Fwww.lapti.tv%2Fpervii-kanal-online.html&prefix=/video/laptitv [127.0.0.1] (1 live)<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - * url => http://www.lapti.tv/pervii-kanal-online.html<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - * prefix => /video/laptitv<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - WebKit: [lapti.tv/pervii-kanal-online.html]<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - Found corresponding plug-in: C:\Users\User\AppData\Local\Plex Media Server\Plug-in Support/Data\com.plexapp.plugins.laptitv<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - Resetting to state paused<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - Using C:\Users\User\AppData\Local\Plex Media Server\Plug-ins\laptitv.bundle\Contents/Site Configurations\laptitv.xml with score of 19.<br />
Mar 04, 2012 02:04:30 [2968] DEBUG - WK_BrowseToURL http://www.lapti.tv/pervii-kanal-online.html<br />
Mar 04, 2012 02:04:30 [0748] DEBUG - LINE: HELLO<br />
Mar 04, 2012 02:04:30 [0928] DEBUG - WebKit successfully loaded http://www.lapti.tv/pervii-kanal-online.html<br />
Mar 04, 2012 02:04:31 [0928] DEBUG - Received title [Смотри Первый канал онлайн бесплатно. ТВ онлайн на Лапти.ТВ. - Программа телепередач].<br />
Mar 04, 2012 02:04:33 [0928] DEBUG - Plugin loaded (application/x-shockwave-flash, , 7F9C9340, 0, 1148, 300, 150, )<br />
Mar 04, 2012 02:04:33 [0928] DEBUG - 7F9C9340 Plugin loaded [] (0 1148 300 150 )<br />
Mar 04, 2012 02:04:33 [0928] DEBUG - Plugin loaded (application/x-shockwave-flash, http://lapti.tv/uppod.swf, 7F998670, 632, 287, 336, 252, videoplayer)<br />
Mar 04, 2012 02:04:33 [0928] DEBUG - 7F998670 Plugin loaded [lapti.tv/uppod.swf] (632 287 336 252 videoplayer)<br />
Mar 04, 2012 02:04:33 [0928] DEBUG - Initializing shared memory 336 x 252<br />
Mar 04, 2012 02:04:34 [0928] DEBUG - Frame was loaded.<br />
on the plugin log all I'm getting is:
<br />
DEBUG (core:318) - Response: 200<br />
and thats where it ends there.
I would appreciate any input you could give me.
Thanks, and have a great week!