seriesmarker.gui.model.series_node module

class SeriesNode(series, parent=None)[source]

Bases: seriesmarker.gui.model.tree_node.TreeNode

Provides data for display about a Series.

__init__(series, parent=None)[source]

Initializes the node.

Each season of the given series is wrapped in an SeasonNode and added as child of the node to the tree.

Parameters:
  • series (Series) – The series to be handled by the node.
  • parent (TreeNode) – The parent of this node (likely the root of the tree).
banner_url()[source]

Defines the decoration of the node.

If a Banner is set for the series, its URL returned.

Returns:The URL of the banner related to the node’s series.

Overrides DecoratedNode.banner_url()

name()[source]

Returns a string representation of the node’s data.

Returns:The title of the series related to the node.

Overrides TreeNode.name()