2015-01-03, 15:53
Hi
Using remote buddy and the following applescript I can switch between kodi (actually xbmc as I'm still on 13.2) and eyetv:
so... that kind of works, but it doesn't react very snappy - for some reason I often have to press the remote twice and visually it's a bit ugly. xvmc closes revealing the desktop and eyetv opens the TV window and later maximizes it. If I have eyetv's tv window open while in xbmc, xbmc is very laggy/slow with stuttering playback, so that's why I'm closing that window when going from eyetv to xbmc.
Is there anyway I can make the switch more pretty and fast? I was thinking something like
1) press the button
2) immediate feedback to confirm that the button was pressed (e.g. in form a spinning ball, or a fullscreen splash or just that the screen goes black)
3) the tv channel is not shown until eyetv is ready and playing.
I'm on a 2012 Mac Mini, 2.5 GHz i5 and 4 GB ram.
Any ideas?
Using remote buddy and the following applescript I can switch between kodi (actually xbmc as I'm still on 13.2) and eyetv:
Code:
tell application "System Events"
set openWindow to (get name of processes whose frontmost is true) as string
end tell
if openWindow is equal to "XBMC" then
tell application "XBMC" to quit
tell application "EyeTV" to activate
tell application "System Events"
tell process "EyeTV"
keystroke "o" using command down
delay 1
keystroke "0" using command down
end tell
end tell
else
tell application "System Events"
tell process "EyeTV"
keystroke "w" using command down
end tell
end tell
tell application "XBMC" to activate
tell application "System Events" to set frontmost of process "XBMC" to true
end if
so... that kind of works, but it doesn't react very snappy - for some reason I often have to press the remote twice and visually it's a bit ugly. xvmc closes revealing the desktop and eyetv opens the TV window and later maximizes it. If I have eyetv's tv window open while in xbmc, xbmc is very laggy/slow with stuttering playback, so that's why I'm closing that window when going from eyetv to xbmc.
Is there anyway I can make the switch more pretty and fast? I was thinking something like
1) press the button
2) immediate feedback to confirm that the button was pressed (e.g. in form a spinning ball, or a fullscreen splash or just that the screen goes black)
3) the tv channel is not shown until eyetv is ready and playing.
I'm on a 2012 Mac Mini, 2.5 GHz i5 and 4 GB ram.
Any ideas?