hangups icon indicating copy to clipboard operation
hangups copied to clipboard

Dump messages

Open vittore opened this issue 11 years ago • 7 comments

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.

vittore avatar Dec 12 '14 06:12 vittore

Added a pull request for a first pass at this here:

tdryer/hangups/pull/50

matthiassb avatar Jan 02 '15 20:01 matthiassb

@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.

tdryer avatar Jan 02 '15 23:01 tdryer

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.

vittore avatar Jan 03 '15 08:01 vittore

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.

matthiassb avatar Jan 03 '15 22:01 matthiassb

What I had in mind was having hangups run normally but printing events to the log as they arrive.

tdryer avatar Jan 04 '15 04:01 tdryer

So would this be a flag on startup or a key combination that selects the current conversation and starts to log it?

matthiassb avatar Jan 23 '15 14:01 matthiassb

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.

vittore avatar Jan 23 '15 21:01 vittore