> If you are sure libavg isn't the problem, I will contact the Xibo 
> developers again, maybe there is another cause.

Hi Maarten

Alex from Xibo project here.

The simplest way we can decide is to put together a minimal test case file with 
just libavg player and get you to try that. As I said before we don't have any 
code to block a shutdown. All we do is run the player fullscreen (or not). The 
only thing that springs to mind is if the keyhandler is somehow swallowing the 
call? I'm not sure that's even possible though. The only code change between 
running fullscreen and not is a boolean that we pass straight to libavg to tell 
the player to run fullscreen or not (see below example). It's odd then that the 
same code running prevents shutdown when running fullscreen but not when 
running windowed!

If you make up a files as follows:
------------------------------------------------
#!/usr/bin/python
# -*- coding: utf-8 -*-

# Define the width and height of the display
width = 1024
height = 768

# Run fullscreen?
fullscreen = True

from libavg import avg

player = avg.Player.get()
player.setResolution(fullscreen,width,height,24)

avgContent = '<avg id="main" width="'
avgContent += str(width)
avgContent += '" height="'
avgContent += str(height)
avgContent += '"><div id="screen"/>'
avgContent += '</avg>'

player.loadString(avgContent)

player.play()
---------------------------------------

If you make that executable and run it, can you power down then?

Alex

This email carries a disclaimer, a copy of which may be read at 
http://learning.longhill.org.uk/disclaimer

<<winmail.dat>>

_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to