Fix setting background image and logo via remote control key mapping not working
This commit is contained in:
parent
22f6728fed
commit
004aaf3291
@ -80,11 +80,13 @@ failed, the command will exit with a success code.
|
||||
if len(args) != 1:
|
||||
self.fatal('Must specify path to exactly one PNG image')
|
||||
path = os.path.expanduser(args[0])
|
||||
import secrets
|
||||
ret = {
|
||||
'match': opts.match,
|
||||
'configured': opts.configured,
|
||||
'layout': opts.layout,
|
||||
'all': opts.all,
|
||||
'stream_id': secrets.token_urlsafe(),
|
||||
}
|
||||
if path.lower() == 'none':
|
||||
ret['data'] = '-'
|
||||
|
||||
@ -75,11 +75,13 @@ failed, the command will exit with a success code.
|
||||
if len(args) != 1:
|
||||
self.fatal('Must specify path to exactly one PNG image')
|
||||
path = os.path.expanduser(args[0])
|
||||
import secrets
|
||||
ret = {
|
||||
'match': opts.match,
|
||||
'self': opts.self,
|
||||
'alpha': opts.alpha,
|
||||
'position': opts.position,
|
||||
'stream_id': secrets.token_urlsafe(),
|
||||
}
|
||||
if path.lower() == 'none':
|
||||
ret['data'] = '-'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user