Webinterface plugin - Screenshots not showing (1 Viewer)

Jamie Thomson

New Member
September 19, 2005
4
0
Bedfordshire, UK
Hi all,

I've tried searching for the information I need but can't find it as yet.

I'm having difficulty with the Webinterface plugin whereby the screenshots aren't showing on the client browser.

When connecting on the local browser (http://localhost:81), the screenshots are showing. Providing the local browser is updating, the remote will also show the screenshots. If I close the localhosts browser, the screenshots no longer run on the client browser.

I have the site configured as Trusted in the remote browser.

Any help would be very much appreciated.

Thanks
J
 

D4bFz3awSRYHKjr3

MP Donator
  • Premium Supporter
  • August 14, 2006
    253
    16
    Home Country
    Aruba Aruba
    Search in the file snapshot.asmx for this function and change it to this:

    Code:
    Private Function CheckWindow() As Boolean
        	Dim winHandle as Integer
        	
    
    		' Examine the window names.
    		winHandle = GetWindow( "MediaPortal" )
    
    		' See if we got an hwnd.
        	if winHandle = 0 then
        		return True
        	else
        		return True
        	End If
    End Function

    When you have done that save the file and retest.
    Now it works because it wil always find a windows with the name "MediaPortal" and so it wil always show a snapshot
     

    Users who are viewing this thread

    Top Bottom