GalleryStillAlbum#
- class pybmd.gallery_still_album.GalleryStillAlbum(gallery_still_album)[source]
Bases:
WrapperBasedocstring for GalleryStillAlbum.
Methods
__init__(gallery_still_album)delete_stills(gallery_stills)Delete the given gallery stills from the album.
export_stills(gallery_stills, folder_path, ...)Exports list of GalleryStill objects 'galleryStill' to directory 'folderPath', with filename prefix 'filePrefix', using file format 'format'
get_label(gallery_still)Returns label of given gallery still.
Returns list of GalleryStill objects in this album.
import_stills(file_paths)Imports stills from the specified file paths into the album.
set_label(gallery_still, label)sets label of given gallery still.
- delete_stills(gallery_stills: List[GalleryStill]) bool[source]
Delete the given gallery stills from the album.
- export_stills(gallery_stills: List[GalleryStill], folder_path: str, file_prefix: str, format: StillFormat) bool[source]
Exports list of GalleryStill objects ‘galleryStill’ to directory ‘folderPath’, with filename prefix ‘filePrefix’, using file format ‘format’
- Parameters:
- Returns:
function returns true if export was successful, false otherwise
- Return type:
- get_label(gallery_still: GalleryStill) str[source]
Returns label of given gallery still.
- Parameters:
gallery_still (GalleryStill)
- Return type:
- get_stills() List[GalleryStill][source]
Returns list of GalleryStill objects in this album.
- Return type:
List[GalleryStill]