Commit fa5d6466 authored by mitshel's avatar mitshel
Browse files

Исправлены номера версий, изменен .gitignore для заливки скриптов для нового конвертера

parent e699fa0f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ fb2toepub/*
fb2conv/*
!fb2conv/*.zip
!fb2conv/*.gz
!fb2conv/fb2conv
!fb2conv/fb2epub
!fb2conv/fb2mobi
testinfo/*
speed
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ create table dbver(
ver varchar(5));
commit;

insert into dbver(ver) values("0.16");
insert into dbver(ver) values("0.17");
commit;
insert into authors(author_id,last_name,first_name) values(1,"Неизвестный Автор","");
commit;

fb2conv/fb2epub

0 → 100755
+9 −0
Original line number Diff line number Diff line
#!/bin/bash
LANG=ru_RU.UTF-8
LC_ALL=ru_RU.UTF-8
export LANG
export LC_ALL

run_path=`dirname $0`
converter=$run_path'/fb2conv.py'
python $converter -f epub "$1" "$2"

fb2conv/fb2mobi

0 → 100755
+9 −0
Original line number Diff line number Diff line
#!/bin/bash
LANG=ru_RU.UTF-8
LC_ALL=ru_RU.UTF-8
export LANG
export LC_ALL

run_path=`dirname $0 `
converter=$run_path'/fb2conv.py'
python $converter -f mobi "$1" "$2"
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ from sys import argv

t1=datetime.timedelta(seconds=time.time())

parser=OptionParser(conflict_handler="resolve", version="sopds-scan.py. Version 0.16", add_help_option=True, usage='sopds-scan.py [options]', description='sopds-scan.py: Simple OPDS Scanner - programm for scan your e-books directory and store data to MYSQL database.')
parser=OptionParser(conflict_handler="resolve", version="sopds-scan.py. Version 0.17", add_help_option=True, usage='sopds-scan.py [options]', description='sopds-scan.py: Simple OPDS Scanner - programm for scan your e-books directory and store data to MYSQL database.')
parser.add_option('-s','--scan','--scanfull', action='store_true', dest='scanfull', default=True, help='Full rescan all stored files.')
parser.add_option('-l','--scanlast', action='store_false', dest='scanfull', default=True, help='Scan files from date after last scan.')
parser.add_option('-v','--verbose', action='store_true', dest='verbose', default=False, help='Enable verbose output')