seriesmarker.gui.model.season_node module¶
-
class
SeasonNode(season, parent=None)[source]¶ Bases:
seriesmarker.gui.model.tree_node.TreeNodeProvides data for display about a
Season.-
__init__(season, parent=None)[source]¶ Initializes the node.
Each episode of the given season is wrapped in an
EpisodeNodeand added as child of the node to the tree.Parameters: - season (
Season) – The season to be handled by the node. - parent (
SeriesNode) – The series node the season belongs to.
- season (
Defines the decoration of the node.
If a
Banneris set for the season, its URL returned.Returns: The URL of the banner related to the node’s season. Overrides
DecoratedNode.banner_url()
-
name()[source]¶ Returns a string representation of the node’s data.
Returns: The number of the season related to the node. Overrides
TreeNode.name()
-