GalleryStillAlbum#
- class pybmd.gallery_still_album.GalleryStillAlbum(gallery_still_album)[source]
Bases:
object
docstring 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.
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: