5/31/2023 0 Comments Fb2epub converter![]() If an archive is not found, the scanner will not add the data from INPX connected to it to the database, if SOPDS_INPX_TEST_ZIP = False, then the scanner does not perform any checks, but simply adds data from INPX to the database. SOPDS_INPX_TEST_ZIP - If True, the scanner tries to find the archive described in the INPX. (by default SOPDS_INPX_SKIP_UNCHANGED = True) SOPDS_INPX_SKIP_UNCHANGED - If True, the scanner skips re-scanning if the size of INPX has not changed. However, please note that using data from INPX will result in the absence of annotation in the library. INPX-file should be located in the folder with the archives of books. The scanner believes that the archives of books themselves are located in the same directory. SOPDS_INPX_ENABLE - If True, if an INPX file is found in the directory, the scanner does not scan its contents with the sub-htag, but loads the data from the found INPX file. Since there is no information about the encoding in which the file names are located in the ZIP archive, it is not possible to automatically determine the correct encoding for filenames, so cyrillic encodings should use cp866 encoding in order for Cyrillic file names to not look like croaks. SOPDS_ZIPCODEPAGE - Specify which encoding for file names is used in ZIP archives. SOPDS_ZIPSCAN - Configures the scanning of ZIP archives. SOPDS_COVER_SHOW - a way to show skins (False - do not show, True - extract covers on the fly and show). FB2xpath - appeared in version 0.42, works less often, does not tolerate invalid FB2.FB2sax is the regular parser used in SOPDS from version 0.01, this parser is faster, and retrieves metadata even from invalid FB2 files.SOPDS_FB2SAX - The program can extract metadata from FB2 by two parsers ![]() SOPDS_DOUBLES_HIDE - Hides found duplicates in book issues. (by default SOPDS_BOOK_EXTENSIONS = '.pdf. SOPDS_BOOK_EXTENSIONS - List of book formats that will be included in the catalog. SOPDS_ROOT_LIB - contains the path to the directory where your book collection is located. Options of the cataloger Simple OPDS ( The Simple OPDS cataloger has additional settings that can be changed using the admin interface SOPDS_LANGUAGE - change the interface language. (On older versions of MySQL, there are problems with it because of restrictions on the maximum length of indexes.) Thus, if you have a modern version of MySQL (MariaDB> = 10.2.2, Mysql> = 5.7.9), then in the Mysql database settings, simply use the following instead of the above OPTIONS parameters: It is somewhat faster and supports transactions, which will positively affect the integrity of the database. However, if you use a relatively new version of Mysql (MariaDB> = 10.2.2, Mysql> = 5.7.9), then you can use the more modern InnoDB engine. The above MySQL configuration uses MyISAM as the database engine, which works on most versions of MySQL or MariaDB. ![]() # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 'init_command': "SET default_storage_engine=MyISAM \ Telegram-bot, which will allow you, using the Telegram instant messenger to get quick access to your personal library. (for example: myopds), and then the user name for this bot, which necessarily ends with "bot" (for example: myopds_bot).Īs a result, you will be given API_TOKEN, which you need to use in the following commands that will start your personal The process of creating bots in telegrams is very simple, to create your bot in Telegram, you need to connect toĬhannel ( ) and give the command to create a new bot /newbot. To eliminate this problem, you need to use multi-user databases, for example MYSQL.ġ.10 If necessary, configure and run Telegram-bot "A server error occurred." Please contact the administrator. Therefore, until the scanning process is completed, the attempts to access the server may result in an error OPDS-version: HTTP-version: It should be taken into account that by default the project uses a simple sqlite3 database, which ![]()
0 Comments
Leave a Reply. |