Skip to content

script record sound and slide transition times #221

Answered by Cimbali
ousia asked this question in Q&A
Discussion options

You must be logged in to vote

I think a key element to write that script here would be to use DBus messages that pympress emits on play/pause and slide transitions. That’s one of the nice side effects of using the Gtk.Application (since v1.6.0).

Below some excerpts from a dbus-monitor output that could be useful.

On document load, page set to 1 and timer paused:

signal time=1636062833.380317 sender=:1.962 -> destination=(null destination) serial=117 path=/io/github/pympress; interface=org.gtk.Actions; member=Changed
   array [
   ]
   array [
   ]
   array [
      dict entry(
         string "pause-timer"
         variant             boolean true
      )
      dict entry(
         string "page"
         variant       …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ousia
Comment options

@Cimbali
Comment options

Answer selected by ousia
Comment options

You must be logged in to vote
2 replies
@Cimbali
Comment options

@ousia
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants