community.lbry.lbry_publish (0.1.1) — module

Create or replace a stream claim at a given name.

| "added in version" 1.0.0 of community.lbry"

Authors: Rhys Campbell (@rhysmeister)

Install collection

Install with ansible-galaxy collection install community.lbry:==0.1.1


Add to requirements.yml

  collections:
    - name: community.lbry
      version: 0.1.1

Description

Create or replace a stream claim at a given name.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get lbry version info
  community.lbry.lbry_get:
    uri: TODO
    download_directory: /lbry/downloads
  register: result

Inputs

    
bid:
    description:
    - amount to back the claim.
    type: str

host:
    aliases:
    - login_host
    default: 127.0.0.1
    description:
    - The LBRY SDK Server Hostname.
    type: str

name:
    description:
    - name of the content (can only consist of a-z A-Z 0-9 and -(dash))
    required: true
    type: str

port:
    aliases:
    - login_port
    default: 5279
    description:
    - The LBRY SDK Server Port.
    type: int

tags:
    description:
    - add content tags
    elements: str
    type: list

debug:
    default: false
    description:
    - Enable additional debug output.
    type: bool

title:
    description:
    - title of the publication
    type: str

width:
    description:
    - image/video width, automatically calculated from media file
    type: int

author:
    description:
    - author of the publication.
    - The usage for this field is not the same as for channels.
    - The author field is used to credit an author who is not the publisher and is not
      represented by the channel.
    - For example, a pdf file of 'The Odyssey' has an author of 'Homer' but may by published
      to a channel such as '@classics', or to no channel at all.
    type: str

height:
    description:
    - image/video width, automatically calculated from media file
    type: int

license:
    description:
    - publication license
    type: str

preview:
    description:
    - do not broadcast the transaction
    type: bool

sd_hash:
    description:
    - sd_hash of stream
    type: str

blocking:
    description:
    - wait until transaction is in mempool
    type: bool

duration:
    description:
    - audio/video duration in seconds, automatically calculated
    type: int

protocol:
    default: http
    description:
    - The LBRY SDK Server Protocol.
    type: str

file_hash:
    description:
    - hash of file to be associated with stream.
    type: str

file_path:
    description:
    - path to file to be associated with name.
    type: str

languages:
    description:
    - languages used by the channel, using RFC 5646 format
    elements: str
    type: list

locations:
    description:
    - locations relevant to the stream.
    - Consisting of 2 letter `country` code and a `state`, `city` and a postal `code`
      along with a `latitude` and `longitude`
    elements: dict
    type: list

wallet_id:
    description:
    - restrict operation to specific wallet
    type: str

account_id:
    description:
    - account to use for holding the transaction
    type: str

channel_id:
    description:
    - claim id of the publisher channel
    type: str

fee_amount:
    description:
    - content download fee
    type: float

description:
    description:
    - description of the publication
    type: str

fee_address:
    description:
    - address where to send fee payments, will use value from --claim_address if not provided
    type: str

license_url:
    description:
    - publication license url
    type: str

channel_name:
    description:
    - name of publisher channel
    type: str

fee_currency:
    description:
    - specify fee currency.
    type: str

release_time:
    description:
    - original public release of content, seconds since UNIX epoch
    type: int

claim_address:
    description:
    - address where the claim is sent to, if not specified it will be determined automatically
      from the account
    type: str

optimize_file:
    default: false
    description:
    - transcode the video & audio if necessary to ensure common web browser support. FFmpeg
      is required
    type: bool

thumbnail_url:
    description:
    - thumbnail url
    type: str

validate_file:
    default: false
    description:
    - validate that the video container and encodings match common web browser support
      or that optimization succeeds if specified. FFmpeg is required.
    type: bool

channel_account_id:
    description:
    - one or more account ids for accounts to look in for channel certificates, defaults
      to all accounts.
    type: str

funding_account_ids:
    description:
    - ids of accounts to fund this transaction
    type: str