mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
19 lines
658 B
Python
Executable File
19 lines
658 B
Python
Executable File
#!/usr/bin/python
|
|
import sys
|
|
from PIL import Image
|
|
sys.path.insert(1, 'lib/')
|
|
from pyShelf import InitFiles, Epub
|
|
from config import Config
|
|
from library import Catalogue
|
|
|
|
config = Config() # Get configuration settings
|
|
InitFiles(config.file_array) # Initialize file system
|
|
Catalogue = Catalogue() # Open the Catalogue
|
|
# This only needs to be run on first run, & when new books are added
|
|
Epub().import_books() # Filter Your books
|
|
# TODO Implement file tracking system to avoid processing already tracked books
|
|
# TODO Figure out a system to get books page count
|
|
# TODO Update testing
|
|
# TODO Update Documentation
|
|
# TODO Requirements.txt
|
|
# TODO Test image storage |