I’m trying to write a plugin for pokerstars.tv and have gotten to the point of trying to play the videos already, but when I try and load a file I get this in my log:
Jan 28, 2011 18:07:50 [0xb0773000] DEBUG - Request: GET /video/:/webkit?url=http%3A%2F%2Fwww.pokerstars.tv%2Fpoker-video-5667-high-stakes-poker-6-episode-5.html%3Fchannel_id%3D241&prefix=/video/pokerstars-tv [::ffff:127.0.0.1] (1 live)<br />
Jan 28, 2011 18:07:50 [0xb0773000] DEBUG - * url => http://www.pokerstars.tv/poker-video-5667-high-stakes-poker-6-episode-5.html?channel_id=241<br />
Jan 28, 2011 18:07:50 [0xb0773000] DEBUG - * prefix => /video/pokerstars-tv<br />
Jan 28, 2011 18:07:50 [0xb0773000] DEBUG - WebKit: [pokerstars.tv/poker-video-5667-high-stakes-poker-6-episode-5.html?channel_id=241]<br />
Jan 28, 2011 18:07:50 [0xb0773000] DEBUG - Found corresponding plug-in: ~/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.plugins.pokerstars-tv<br />
Jan 28, 2011 18:07:50 [0xb0773000] DEBUG - Could not find site configuration for http://www.pokerstars.tv/poker-video-5667-high-stakes-poker-6-episode-5.html?channel_id=241<br />
Here is my site config xml file:
<?xml version="1.0" encoding="UTF-8"?><br />
<site <br />
site="http://www.pokerstars.tv/.*"<br />
plugin="http://player.videojuicer.com/bootstrap.swf"<br />
initialState="playing"<br />
version="1.0"><br />
<br />
<crop x="0" y="0" width="662" height="372" /><br />
</site>
I've tried various changes to the site parameter to try and make it less or more specific but it's still not matching, here's a test strm file if you would like to test it locally:
plex://localhost/video/:/webkit?url=http%3A%2F%2Fwww.pokerstars.tv%2Fpoker-video-6039-high-stakes-poker-6-episode-8.html%3Fchannel_id%3D241&prefix=/video/pokerstars-tv