weebtv channel

no error , playing but black screen no sound no video
i write plugin for web.tv

<br />
# -*- coding: utf-8 -*-<br />
import re<br />
<br />
TITLE = 'weebtv'<br />
RSS_FEED = 'http://gdata.youtube.com/feeds/base/users/nocommenttv/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile'<br />
YT_VIDEO_FORMATS = ['Standard', 'Medium', 'High', '720p', '1080p']<br />
YT_FMT = [34, 18, 35, 22, 37]<br />
YT_VIDEO_PAGE = 'http://www.youtube.com/watch?v=%s'<br />
ART = 'art-default.jpg'<br />
ICON = 'icon-default.png'<br />
<br />
####################################################################################################<br />
def Start():<br />
    Plugin.AddPrefixHandler('/video/weebtv', MainMenu, TITLE, ICON, ART)<br />
    Plugin.AddViewGroup('InfoList', viewMode='InfoList', mediaType='items')<br />
<br />
    MediaContainer.title1 = TITLE<br />
    MediaContainer.art = R(ART)<br />
    MediaContainer.viewGroup = 'InfoList'<br />
<br />
    DirectoryItem.thumb = R(ICON)<br />
    WebVideoItem.thumb = R(ICON)<br />
    VideoItem.thumb = R(ICON)<br />
<br />
####################################################################################################<br />
def MainMenu():<br />
    dir = MediaContainer()<br />
    dir.Append(WebVideoItem("http://weeb.tv/channel/tvn24", title='polsat2'))<br />
    #dir.Append(Function(DirectoryItem(Nocomment, title='Browse No Comment Reports')))<br />
    dir.Append(PrefsItem(title='Preferences', thumb=R('icon-prefs.png')))<br />
    return dir<br />
<br />
####################################################################################################<br />
<br />






<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<site  site="http://.*weeb.tv/channel/"<br />
       plugin="http://.*weeb.tv/static/*player.*\.swf"<br />
       initialState="playing"<br />
       version="1.0"><br />
 <!-- PLAYING --><br />
<setCookie domain="http://weeb.tv/channel/" path="/" name="weeb-tv_username" value="username" secure="false"/><br />
<setCookie domain="http://weeb.tv/channel/" path="/" name="weeb-tv_userpassword" value="password" secure="false"/><br />
	<state name="loading"><br />
		<event><br />
			<action><br />
				<pause time="1000" /><br />
				<click x="320" y="280" /><br />
				<goto state="playing" /><br />
			</action><br />
		</event><br />
	</state><br />
<br />
	<!-- PLAYING --><br />
	<state name="playing"><br />
		<event><br />
			<condition><br />
				<command name="pause" /><br />
			</condition><br />
			<action><br />
				<click x="66" y="376" /><br />
				<goto state="playing" /><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="17" y="376" /><br />
				<goto state="playing" /><br />
			</action><br />
		</event><br />
	</state><br />
</site><br />
<br />





<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG -  * url => http://weeb.tv/channel/tvn24<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG -  * webkit => 1<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG -  * quality => 7<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG -  * 3g => 0<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG -  * offset => 0<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG -  * identifier => com.plexapp.plugins.weebtv<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Cookie header in secure request: <br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Checking cookie ''<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Found session GUID of  in session start.<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Using session GUID 79c140ac7bcc06140ae13b669c208ae431f59777 for new transcode session.<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Computed segment directory /var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-d26a3c7f7146b48012ff8e0bc81b6050855dc150.<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Cleaning directory for session 79c140ac7bcc06140ae13b669c208ae431f59777 (/var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-d26a3c7f7146b48012ff8e0bc81b6050855dc150)<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - [0x9071600] Creating new WebKit transcode session.<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Saving session: 79c140ac7bcc06140ae13b669c208ae431f59777<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Idle Sleep: Prevented<br />
Dec 07, 2011 23:45:33 [0xb038d000] DEBUG - Adding cookie for security headers: 'SESSION-GUID=79c140ac7bcc06140ae13b669c208ae431f59777'<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Request: GET /video/:/transcode/segmented/session/79c140ac7bcc06140ae13b669c208ae431f59777/7/index.m3u8 [192.168.2.150] (1 live)<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Attempting to spin up a real session with quality 7 for session 79c140ac7bcc06140ae13b669c208ae431f59777.<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - [0x9071600] Deleting WebKit transcode session.<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - [0x9071600] Deleting WebKit transcode session COMPLETE.<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Cleaning directory for session 79c140ac7bcc06140ae13b669c208ae431f59777 (/var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-d26a3c7f7146b48012ff8e0bc81b6050855dc150)<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Computed segment directory /var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-7eb84cd7a552f13131cc0df6181156d733423c64.<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Cleaning directory for session 79c140ac7bcc06140ae13b669c208ae431f59777 (/var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-7eb84cd7a552f13131cc0df6181156d733423c64)<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - [0x9071600] Creating new WebKit transcode session.<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Starting a transcode session 79c140ac7bcc06140ae13b669c208ae431f59777 (stopped=1)<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - [0x9071600] Starting a WebKit transcoding session for url http://weeb.tv/channel/tvn24.<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Resetting to state playing<br />
Dec 07, 2011 23:45:33 [0xb0841000] DEBUG - Using /Users/pienionse/Library/Application Support/Plex Media Server/Plug-ins/Weebtv.bundle/Contents/Site Configurations/weebtv.xml with score of 23.<br />
Dec 07, 2011 23:45:33 [0x430d500] DEBUG - Received title [TVN24 online na tvn24 - WEEB.TV].<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - 0xe0ea8f0 Plugin loaded [weeb.tv/static/player.swf] (107 440 550 390 player_object)<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Received title [CpmProfit.com Ads].<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Received title [CpmProfit.com Ads].<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Initializing shared memory 550 x 390<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Creating a movie encoder for WebKit transcode session.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Building an M3U8 for 7200 total seconds.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Constructing a movie encoder.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Initializing video encoder.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Found video codec: 0x1f81e80<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Found audio codec: 0x1f822e0<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Audio frame size: 1152<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Encoder packet size: 4608<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Audio bytes per video frame: 7350.000000<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Setting up segmented session, quality=7<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Computed display width of 7.8"<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Video Stream copy => cp:av, vp:high, vr:1080, vl:41<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Audio Stream copy => ac:mp3,aac,ac3=300000<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Job running: /Users/pienionse/Downloads/Plex Media Server.app/Contents/Resources/Plex Transcoder transcode pipe: /var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-7eb84cd7a552f13131cc0df6181156d733423c64/media 7 4 0 any nil 0 yes UTF-8 default   0.75 av high 1080 41 mp3,aac,ac3=300000 3355443 yes <br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Found recording device.<br />
Dec 07, 2011 23:45:34 [0xb09c7000] DEBUG - [Transcoder] Starting transcoder v306 (t=4s, q=7)<br />
Dec 07, 2011 23:45:34 [0xb06bb000] DEBUG - [Transcoder] Registered components, about to parse arguments.<br />
Dec 07, 2011 23:45:34 [0xb09c7000] DEBUG - [Transcoder] Video caps: ca=1, cv=1, ac=libmp3lame, mp3=0, aac=0,1, ac3=3000000, dts=-1, pcm=-1, vp=64, vr=1080, vl=41, mss=3355443, anam=1<br />
Dec 07, 2011 23:45:34 [0xb09c7000] DEBUG - [Transcoder] About to apply initial settings.<br />
Dec 07, 2011 23:45:34 [0xb09c7000] DEBUG - [Transcoder] Opening the input file.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Received title [Like].<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Received title [Ads].<br />
Dec 07, 2011 23:45:34 [0xb0841000] DEBUG - [0x9071600] Finishing starting WebKit transcode session, success = 1<br />
Dec 07, 2011 23:45:34 [0xb0841000] DEBUG - Idle Sleep: Allowed<br />
Dec 07, 2011 23:45:34 [0xb0841000] DEBUG - Started session for GUID 79c140ac7bcc06140ae13b669c208ae431f59777, success = 1<br />
Dec 07, 2011 23:45:34 [0xb0841000] DEBUG - Started session successfully, now saving it: 79c140ac7bcc06140ae13b669c208ae431f59777<br />
Dec 07, 2011 23:45:34 [0xb0841000] DEBUG - Idle Sleep: Prevented<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Received title [Loading...].<br />
Dec 07, 2011 23:45:34 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Received title [Loading...].<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Received title [Loading...].<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder] Thread count: 2<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder] Input #0, avi, from 'pipe:':<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     Stream #0.0, 1, 1/24: Video: mpeg4 (Advanced Simple Profile), yuv420p, 550x390 [SAR 1:1 DAR 55:39]<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     Stream #0.1, 1, 32/1225: Audio: mp2, 44100 Hz, stereo, s16, 256 kb/s<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder] Applying output settings.<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder] Final font scale: 1.000000 (0.750000) -> 1.114286<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder] Audio stream info:<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     codec_id  : 15000<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     channels  : 2<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     bitrate   : 256000/128000<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     samplerate: 44100<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     audiogain : 1.00 (256)<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     aacProfile: 1/-99<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     ----> Bitrate Failed<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder] Video stream info:<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     codec_id: d/1c <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     level   : 1/41 <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     avg_fps : nan/24 <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     profile : f/64 <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     vfr     : 0 <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     fps     : nan/24.00 <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     bitrate : 0.00/3.15 mbps<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     height  : 390/390 <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     aspect  : 0.71(1.00)/0.71 <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     segSize : 0.98mbits/seg, 0.24/25.60MBps<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     timebase: 0.04167(1:24)/0.00001(0:1000000) <br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder]     ----> not H.264<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - [Transcoder] Configuring output.<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - Request: GET /video/:/transcode/segmented/session/79c140ac7bcc06140ae13b669c208ae431f59777/7/00000.ts [192.168.2.150] (1 live)<br />
Dec 07, 2011 23:45:35 [0xb09c7000] DEBUG - Asked for segment 0 from session.<br />
Dec 07, 2011 23:45:35 [0xb0639000] DEBUG - [Transcoder] Output #0, mpegts, to '/var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk   TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-7eb84cd7a552f13131cc0df6181156d733423c64-tmp.ts':<br />
Dec 07, 2011 23:45:35 [0xb0639000] DEBUG - [Transcoder]     Stream #0.0, 0, 1/90000: Video: libx264, yuv420p, 550x390 [SAR 1:1 DAR 55:39], q=10-51, 200 kb/s<br />
Dec 07, 2011 23:45:35 [0xb0639000] DEBUG - [Transcoder]     Stream #0.1, 0, 1/90000: Audio: libmp3lame, 48000 Hz, stereo, s16, 128 kb/s<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Received title [AddThis utility frame].<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - 0x15401e70 Plugin loaded [content.yieldmanager.edgesuite.net/atoms/03/5e/1a/50/035e1a5079716178b2fba6cc011cb383.swf?clickTag=http%3A%2F%2Fad%2Eadmediaprovider%2Ecom%2Fclk%3F3%2CeAGdjNFuwjAMRb%2DGtxYlbgmNoj0YaICqYSsLGvAW0orSrqLSqg369QMy8QGzLN9zbV3TQBgAO2aFGUUjziFgggYhNYeQEgIeEUKEEDHgjHDubRd5jROfJdmUF9szPkpdi0XmEI933TnzFt01nkurV4894re2qTvOUF6tw3%2ENqb9Zq7%2EkEvHHYX%2E0ybzKJs%2DXs6RWjTztKxWmenlR1aZTWn6qd1qqj6ROddzv%2Drjfa4RXbWH1DOKL55Vd1w4CHIC8tcmb1uRfQ3tubs62lzFEw7ZsfwGBF1pX%2C] (0 0 728 90 )<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:35 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:35 [0xb0639000] DEBUG - Request: GET /video/:/transcode/segmented/session/79c140ac7bcc06140ae13b669c208ae431f59777/7/00000.ts [192.168.2.150] (2 live)<br />
Dec 07, 2011 23:45:35 [0xb0639000] DEBUG - Asked for segment 0 from session.<br />
Dec 07, 2011 23:45:36 [0xb1b0b000] WARN - Audio sync: dropping video packet<br />
Dec 07, 2011 23:45:36 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:36 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:36 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:36 [0xb1b0b000] WARN - Audio sync: dropping audio packet<br />
Dec 07, 2011 23:45:36 [0x430d500] DEBUG - Frame was loaded.<br />
Dec 07, 2011 23:45:39 [0xb0a49000] DEBUG - [Transcoder] Wrote segment 0 (0.85s, 0.85s, 0.09mb)<br />
Dec 07, 2011 23:45:39 [0xb0639000] DEBUG - Sending back segment 0 from session.<br />
Dec 07, 2011 23:45:39 [0xb0639000] DEBUG - Content-Length of /var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-7eb84cd7a552f13131cc0df6181156d733423c64/media-00000.ts is 90052.<br />
Dec 07, 2011 23:45:39 [0xb09c7000] DEBUG - Sending back segment 0 from session.<br />
Dec 07, 2011 23:45:39 [0xb09c7000] DEBUG - Content-Length of /var/folders/oo/ooEPrEmIGs4fnj6mxOmtGk+++TI/-Tmp-/plex-transcode-79c140ac7bcc06140ae13b669c208ae431f59777-7eb84cd7a552f13131cc0df6181156d733423c64/media-00000.ts is 90052.<br />
Dec 07, 2011 23:45:39 [0xb0a49000] DEBUG - Request: GET /video/:/transcode/segmented/session/79c140ac7bcc06140ae13b669c208ae431f59777/7/00001.ts [192.168.2.150] (1 live)<br />
Dec 07, 2011 23:45:39 [0xb0a49000] DEBUG - Asked for segment 1 from session.<br />
<br />




it connect but i have black screen no video no sound , only time going
could help me to fix this ??
(sory for my english)

I would LOVE to see this one working.



any help?

i would love to see this one working as well.

i get it to work on windows , I type only a few channel because i have wideo laging on oryginal resolution and the attribute windowsWidth windowsHeight doesn’t work for me. You can try on your computer and say in this topic if it working corect



Do you know why the video is lagging?



<br />
# -*- coding: utf-8 -*-<br />
<br />
####################################################################################################<br />
<br />
def Start():<br />
  Plugin.AddPrefixHandler('/video/eksabajt', MainMenu, 'WeebTV', 'icon-default.png', 'art-default.jpg')<br />
  Plugin.AddViewGroup('InfoList', viewMode='InfoList', mediaType='items')<br />
  MediaContainer.art = R('art-default.jpg')<br />
  HTTP.Headers['User-agent'] = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12'<br />
<br />
####################################################################################################<br />
<br />
def MainMenu():<br />
  dir = MediaContainer(viewGroup='InfoList', title1='Weebtv Channel List')<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=51', title='Pingwin'))<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=110', title='Viva Polska'))<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=66', title='Dr House'))<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=110', title='MiniMini'))<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=21', title='Comedy Central'))<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=45', title='Discovery HD'))<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=60', title='Neo Geo Wild'))<br />
  dir.Append(WebVideoItem('http://weeb.tv/static/player.swf?&cid=98', title='Tvp Seriale'))<br />
  <br />
  return dir<br />
<br />
####################################################################################################<br />
<br />
<br />





<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<site site="http://weeb.tv/" plugin="http://weeb.tv/static/player.swf" initialState="wait-for-frame-load" version="1.0" windowWidth="500" windowHeight="307"><br />
<br />
	<crop x="0" y="0" width="0" height="0" /><br />
<br />
	<condition name="need-to-login"><br />
		<and><br />
			<javascript script="check = document.getElementsByTagName('form').length == 1 ? 1 : 0" matches="1" /><br />
		</and><br />
	</condition><br />
<br />
	<state name="wait-for-frame-load"><br />
		<event><br />
			<condition><br />
				<frameLoaded /><br />
			</condition><br />
			<action><br />
				<visit url="http://weeb.tv/account/login/" /><br />
				<goto state="exb" /><br />
			</action><br />
		</event><br />
	</state><br />
<br />
	<state name="exb"><br />
		<event><br />
			<condition><br />
				<frameLoaded /><br />
			</condition><br />
			<action><br />
				<goto state="check-for-auth" /><br />
			</action><br />
		</event><br />
	</state>	<br />
	<br />
	<state name="check-for-auth"><br />
		<event><br />
			<condition><br />
				<not><br />
					<condition name="need-to-login" /><br />
				</not><br />
			</condition><br />
			<action><br />
				<visit url="${url}" /><br />
				<goto state="playing" /><br />
			</action><br />
		</event><br />
		<event><br />
			<condition><br />
				<condition name="need-to-login" /><br />
			</condition><br />
			<action><br />
				<run script="var lfi=document.getElementsByTagName('form')[0]; lfi.username.value='username'; lfi.userpassword.value='pass'; lfi.submit();"/>;<br />
				<pause time="3000" /><br />
				<visit url="${url}" /><br />
				<goto state="playing" /><br />
			</action><br />
		</event><br />
	</state><br />
	<br />
	<br />
<br />
	<state name="playing"><br />
		<event><br />
			<condition><br />
				<command name="pause" /><br />
			</condition><br />
			<action><br />
				<click x="66" y="376" /><br />
				<goto state="playing" /><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="17" y="376" /><br />
				<goto state="playing" /><br />
			</action><br />
		</event><br />
	</state><br />
</site><br />
<br />
</site><br />
<br />





I can get to work username and userpassword with $(username) and $(password) set in preferences so you must type your login data in site configuration
if you dont do this it working as a free account not premium

Hi!

In order to be able to use ${} preferences values, you have to add an ‘identifier’ attribute to the site tag and set it to the same value as the CFBundleIdentifier in the plugin’s Info.plist file.



The 4oD plugin does this for example:

https://github.com/plexinc-plugins/SiteConfigurations.bundle/blob/master/Contents/Resources/4oD.xml#L4

czy udalo wam sie utworzyc dzialajace weeb.tv?

Hi guys.



Did anyone get this plugin working yet. I’m desperate to have it working on plex as I want to watch live tv on my LG TV. TA

is there any news on this one?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.