Skip to content

Commit 9bdb797

Browse files
authored
update v1.4 18/04/2025
- fix correct table name in sql export with querie - fix correct filename as db name in xml main node export - fix xml sanitazion ampersand remove space - fix rec nr counter all list types csv, sql, json etc - fix incorrect field count empty fieldname could occure when getting fieldnames - updated and reformated help file - harmonize json export can now deal with select * no longer uses seperate select json_object( - added list play to audioplayer (html) navigation player next arrow right previous arrow left toggle pause / play p volume up + volume down - seek plus . seek min , - added primitive export database exports to seperate tables output to .sql, .csv and .xml - added web export option for media files mp3, jpg etc similar to html exif but adds a file column and truncates file path assumes wwwroot/audio on webserver example output: exif {"artist":"The Beatles","title":"baby you are a rich man","album":"Magical Mystery Tour","year":"1987","genre":"rock","theme":"beatless"}, web {"artist":"The Beatles","title":"baby you are a rich man","album":"Magical Mystery Tour","year":"1987","genre":"rock","file":"audio/beatless/the beatles - baby you are a rich man.mp3"}, html exif <tr class='trlight' onclick="audioplay('file://g:/data/mp3/beatless/the beatles - baby you are a rich man.mp3', this);"><td><div class='audiobutton'></div></td><td>The Beatles</td><td>baby you are a rich man</td><td>Magical Mystery Tour</td><td>rock</td><td>beatless</td><td>1987</td></tr>
1 parent 06b875f commit 9bdb797

File tree

6 files changed

+210
-49
lines changed

6 files changed

+210
-49
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ filespec *.jpg creates imageviewer
6060
- example: cmdsqlite.exe g:datamp3classic *.mp3 html exif
6161
filespec *.mp3 gets tag info and creates audio link
6262

63+
- supplement exporttype: 'web' as optional fourth parameter
64+
example: cmdsqlite.exe g:\data\mp3\classic *.mp3 json web
65+
filespec *.mp3 gets tag info and creates audio link
66+
similar to html exif but adds a file column and
67+
truncates file path assumes wwwroot/audio on webserver
68+
6369
- import via sql of csv, json or xml
6470
cmdsqlite.exe [filename].csv
6571
creates a [filename].sql
@@ -93,6 +99,10 @@ example: cmdsqlite.exe g:datatextdemo.mht
9399
creates a folder <filename> and extracts all files in the .mht
94100
plus converts the main .html to a sperate wordwrapped text file.
95101

102+
## install
103+
open zip file and copy contents to preferd folder
104+
this application is **portable**.
105+
96106
## configuration
97107
options via conf/conf.ini
98108

@@ -107,6 +117,29 @@ threads 1 / 3
107117
cpu ~1 (low) / ~2
108118
tested on intel i5-6600T
109119

120+
## navigation
121+
cli keyboard
122+
123+
## example report output export coverart mp3
124+
125+
after scanning a folder:
126+
scanning and exporting mp3 covers(s)....
127+
no cover found in james ingram and michael mcdonald - yah mo b there
128+
no cover found in julian lennon - too late for goodbyes
129+
no cover found in nik kershaw - human racing
130+
...
131+
h: 298 / w: 300 - g:\data\mp3\10am\alison krauss & union station - find my way back to my heart.mp3
132+
h: 360 / w: 480 - g:\data\mp3\10am\annie lennox - waiting in vain.mp3
133+
h: 497 / w: 500 - g:\data\mp3\10am\bagdad cafe - calling you.mp3
134+
...
135+
thumbnail in g:\data\mp3\70s schmaltz\don mclean - american pie.mp3
136+
thumbnail in g:\data\mp3\70s schmaltz\elton john and kiki dee - dont go breaking my heart.mp3
137+
...
138+
coverart not square w: 320 / h: 180 - g:\data\mp3\70s schmaltz\andrew gold - never let her slip away.mp3
139+
...
140+
finished scanning 65 file(s)
141+
exported 54 covers(s) to f:\dev\freebasic\projects\mp3\cover
142+
110143
## special thanks
111144
tips on commandline parsing via:
112145
https://www.freebasic.net/forum/viewtopic.php?t=31889 code by coderJeff

app.rc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ FB_PROGRAM_ICON ICON "app.ico"
1010

1111
// add version and file info in exe windows only
1212
VS_VERSION_INFO VERSIONINFO
13-
FILEVERSION 1, 3, 0, 000
14-
PRODUCTVERSION 1, 3, 0, 0
13+
FILEVERSION 1, 4, 0, 000
14+
PRODUCTVERSION 1, 4, 0, 0
1515
FILEFLAGSMASK 0x3fL
1616
#ifdef _DEBUG
1717
FILEFLAGS 0x9L
@@ -26,16 +26,16 @@ BEGIN
2626
BEGIN
2727
BLOCK "040904b0"
2828
BEGIN
29-
VALUE "Comments", "needs sqlite 3.45.3 or up lib"
29+
VALUE "Comments", "needs sqlite 3.49.1 or up lib"
3030
VALUE "CompanyName", "thrive4"
3131
VALUE "FileDescription", "sqlite command line util"
32-
VALUE "FileVersion", "1, 3, 0, 000"
32+
VALUE "FileVersion", "1, 4, 0, 000"
3333
VALUE "InternalName", ""
3434
VALUE "LegalCopyright", ""
3535
VALUE "OriginalFilename", "cmdsqlite"
3636
VALUE "PrivateBuild", ""
3737
VALUE "ProductName", "cmdsqlite"
38-
VALUE "ProductVersion", "1, 3, 0, 0"
38+
VALUE "ProductVersion", "1, 4, 0, 0"
3939
END
4040
END
4141
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)