Project

General

Profile

« Previous | Next » 

Revision 696fd4eb

Added by David Sorber over 7 years ago

Add output file to encode complete email message. Version 0.2.0.

View differences:

software/hbkcd/hbkcd/daemon.py
# If configured send encode complete email
if ENABLE_ENCODE_COMPLETE_EMAILS:
subject = 'hbkcd Encode Complete'
msg = '{:s}\n\nEncoded: {:s}\nDuration: {:s}\n'\
msg = '{:s}\n\nEncoded: {:s}\nOutput: {:s}\nDuration: {:s}\n'\
'Queued time: {:s}\nEncode log: {:s}\n'
send_email(subject, msg.format(status, item.path, elapsed_str,
send_email(subject, msg.format(status, item.path,
item.output_file, elapsed_str,
queued_str, log_path))
logging.debug('Sent encode complete email')

Also available in: Unified diff