Added albuminfo.py for AlbumInfo and FolderInfo classes

This commit is contained in:
Rhet Turnbull
2020-04-11 10:28:50 -07:00
parent c01f713f00
commit 96365728c2
34 changed files with 392 additions and 30 deletions

View File

@@ -40,3 +40,9 @@ _MOVIE_TYPE = 1
# Name of XMP template file
_TEMPLATE_DIR = os.path.join(os.path.dirname(__file__), "templates")
_XMP_TEMPLATE_NAME = "xmp_sidecar.mako"
# Constants used for processing folders and albums
_PHOTOS_5_ALBUM_KIND = 2 # normal user album
_PHOTOS_5_SHARED_ALBUM_KIND = 1505 # shared album
_PHOTOS_5_FOLDER_KIND = 4000 # user folder
_PHOTOS_5_ROOT_FOLDER_KIND = 3999 # root folder