602 | 602 |
output += '\t%s' % (event['hangoutLink']
|
603 | 603 |
if 'hangoutLink' in event else '')
|
604 | 604 |
|
|
605 |
if self.details.get('conference'):
|
|
606 |
conference_data = (event['conferenceData']
|
|
607 |
if 'conferenceData' in event else None)
|
|
608 |
|
|
609 |
# only display first entry point for TSV
|
|
610 |
# https://github.com/insanum/gcalcli/issues/533
|
|
611 |
entry_point = (conference_data['entryPoints'][0]
|
|
612 |
if conference_data is not None else None)
|
|
613 |
|
|
614 |
output += '\t%s' % (entry_point['entryPointType']
|
|
615 |
if conference_data is not None else '')
|
|
616 |
|
|
617 |
output += '\t%s' % (entry_point['uri']
|
|
618 |
if conference_data is not None else '')
|
|
619 |
|
605 | 620 |
output += '\t%s' % self._valid_title(event).strip()
|
606 | 621 |
|
607 | 622 |
if self.details.get('location'):
|
|
709 | 724 |
hlink = event['hangoutLink']
|
710 | 725 |
xstr = '%s Hangout Link: %s\n' % (details_indent, hlink)
|
711 | 726 |
self.printer.msg(xstr, 'default')
|
|
727 |
|
|
728 |
if self.details.get('conference') and 'conferenceData' in event:
|
|
729 |
for entry_point in event['conferenceData']['entryPoints']:
|
|
730 |
entry_point_type = entry_point['entryPointType']
|
|
731 |
hlink = entry_point['uri']
|
|
732 |
xstr = '%s Conference Link: %s: %s\n' % (details_indent,
|
|
733 |
entry_point_type,
|
|
734 |
hlink)
|
|
735 |
self.printer.msg(xstr, 'default')
|
712 | 736 |
|
713 | 737 |
if self.details.get('location') \
|
714 | 738 |
and 'location' in event \
|