Dump messages
Hi,
will be a great improve if I can dump all messages of a conversation without interact. For example:
./hangups --dump --conversation="The testing chat" --output=mySpeak.log
Dump all messages from chat with title "The testing chat" into the file mySpeak.log
v.
Added a pull request for a first pass at this here:
tdryer/hangups/pull/50
@matthiassb: @vittore probably wants to avoid interaction so the message output could be used programmatically. Did you have a different use case in mind for dumping the visible messages using a key combination?
A simple solution that avoids too much configuration would be to have an event log for all conversations that the user can grep for whatever they're interested in.
Exactly. A log without any interaction. If some filters are available it's a great thing (e.g. select specific conversation). Can I help your work?
v.
Leggi il mio blog http://www.zen.pn.it Consulta la mia wishlist: http://www.amazon.it/registry/wishlist/3LYNQ7547JZ0Z
2015-01-03 0:16 GMT+01:00 Tom Dryer [email protected]:
@matthiassb https://github.com/matthiassb: @vittore https://github.com/vittore probably wants to avoid interaction so the message output could be used programmatically. Did you have a different use case in mind for dumping the visible messages using a key combination?
A simple solution that avoids too much configuration would be to have an event log for all conversations that the user can grep for whatever they're interested in.
— Reply to this email directly or view it on GitHub https://github.com/tdryer/hangups/issues/42#issuecomment-68572018.
I updated the pull request to be non interactive and utilize the --dump-conv flag. I have an issue that persists where I cannot pull the previous conversation events. If either of you have some suggestions on this let me know.
What I had in mind was having hangups run normally but printing events to the log as they arrive.
So would this be a flag on startup or a key combination that selects the current conversation and starts to log it?
A flag. So no "human presence" is necessary.
v.
Leggi il mio blog http://www.zen.pn.it Consulta la mia wishlist: http://www.amazon.it/registry/wishlist/3LYNQ7547JZ0Z
2015-01-23 15:51 GMT+01:00 Matthias Brooks [email protected]:
So would this be a flag on startup or a key combination that selects the current conversation and starts to log it?
— Reply to this email directly or view it on GitHub https://github.com/tdryer/hangups/issues/42#issuecomment-71203720.