ConsoleUser
Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com
This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.
All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.
- class MediaGoblinSharing.MediaGoblinSharing(system, config)¶
While there will be some differences between platforms and browsers, much of the implementation of the interface will be common while using Media Goblin as the server and that is provided here.
Parameters:
system: the <no title> instance connected to the target system
config: the <no title> instance defining this user
- comment(msg)¶
Add the given message as a comment on the current media.
- post(src, title, desc)¶
Post a new bit of content to the site.
Parameters:
src: the string source material to post (could be file path or URL)
title: the title of this new post
desc: the description of this content
- watch(target, max_wait=None)¶
Watch the media with the given target identifier (e.g., the text of the link to click)
- watch_random(max_wait=None)¶
Given a list of available media to consume, watch one of them chosen at random.