Fufu Fang
4bf5631714
Revert 60b885181a
...
It breaks the cache system completely.
2021-08-29 10:52:49 +01:00
Fufu Fang
8777cf90bc
send help message to stdout
2021-08-22 02:56:38 +01:00
Fufu Fang
878f120fc2
Temporarily increasing the debugging level on the master branch
...
This will be reverted when the README is complete.
2021-08-22 02:28:00 +01:00
Fufu Fang
6d5267089f
improved debug messages
2021-08-22 02:26:09 +01:00
Fufu Fang
67ec1ad7e5
Separated out config.c and config.h
2021-08-22 00:51:37 +01:00
Fufu Fang
89df992053
fixed errorneous error handling
2021-08-21 02:40:20 +01:00
MecryWork
33bbd21e9f
Fix memory overflow
...
Co-authored-by: MecryWork
2021-08-12 13:28:37 +01:00
MecryWork
60b885181a
fix: Seg_exist function crashes when the second parameter is 0
...
Co-authored-by: liuchenghao
2021-08-09 10:36:09 +01:00
Fufu Fang
5f86703f17
janatorial changes
2021-08-08 15:50:35 +01:00
Fufu Fang
e76b079fe6
Fix issue #59
...
Stop duplicated link from showing for Apache server configured
with IconsAreLinks option.
2021-08-08 14:25:28 +01:00
Fufu Fang
8e6ff1a93d
replaced calloc with CALLOC wrapper function
2021-08-08 14:25:24 +01:00
Fufu Fang
861481e6e1
Fixed issue #71
...
Now allows link which start with percentage encoding
2021-08-05 00:34:07 +01:00
liuchenghao
2791f96603
fix: Failed to mount an empty file in the cache state
2021-07-27 15:55:19 +08:00
Hristo Iliev
e553463dc4
Patches to build on macOS
2021-05-27 21:49:51 +03:00
Fufu Fang
12a2f87ada
Update documentation for sonic.c / sonic.h
2019-10-28 12:54:01 +00:00
Fufu Fang
ea13c175cd
merged id3 non-root mode parser and index mode parser together
2019-10-28 12:54:01 +00:00
Fufu Fang
4b02980380
Added --config flag, updated CHANGELOG.md
2019-10-28 01:45:13 +00:00
Fufu Fang
55ad0cd9fc
converted sonic_id to a string, to support epoupon LMS
2019-10-28 01:09:55 +00:00
Fufu Fang
e9c8689f8d
added -insecure_tls
2019-10-28 00:50:28 +00:00
Fufu Fang
75da12bb80
fixed error in help
2019-10-28 00:20:59 +00:00
Fufu Fang
05776305cb
added --sonic-insecure authentication mode, now reports *sonic server errors
2019-10-28 00:16:44 +00:00
Fufu Fang
c2be88c6e4
Added flag to disable the check on server's support for HTTP range requests
2019-10-27 21:54:26 +00:00
Fufu Fang
b7f25ca7ed
fixed regression of Sonic index mode
2019-10-27 21:33:58 +00:00
Fufu Fang
ff1d34855c
Sonic ID3 mode is now working properly, but Sonic index mode stopped working
2019-10-27 21:21:30 +00:00
Fufu Fang
4b2ac94fe1
fixed linktable traversal
2019-10-27 11:31:25 +00:00
Fufu Fang
83f88dbe38
not sure why it crashes
2019-10-27 11:08:23 +00:00
Fufu Fang
ef53cb83f6
Attempting to add ID3 support
2019-10-25 18:52:53 +01:00
Fufu Fang
8a4d47d71d
added flags for Sonic ID3 mode support
2019-10-25 17:07:08 +01:00
Fufu Fang
3bd7e67041
now enforce http range request check on *sonic server as well.
2019-10-25 17:06:55 +01:00
Fufu Fang
1105f8a0ba
removed spurious debugging messages
2019-10-25 03:07:36 +01:00
Fufu Fang
647b106a7c
fixed segfault if the root of the airsonic folder has music file
2019-10-25 02:55:41 +01:00
Fufu Fang
0a5dd74b44
Minor documentation / stylistic updates
2019-10-24 03:15:30 +01:00
Fufu Fang
79d469d3b6
fixed --help text
2019-10-24 03:03:11 +01:00
Fufu Fang
cf1d46edf4
fixed regression - cache system stopped working on regular http server
...
updated readme / help
Update README.md
Update README.md
2019-10-24 02:38:59 +01:00
Fufu Fang
f3d5ffc3fc
now cache works on subsonic server
2019-10-24 02:15:05 +01:00
Fufu Fang
8206b4fa37
subsonic support is now added - no cache though
2019-10-24 00:57:37 +01:00
Fufu Fang
a8ef8c88b5
added code to check if the server supports range requests
2019-10-24 00:44:18 +01:00
Fufu Fang
cf700e5d3d
Changed sonic mode detection, fixed file listing
2019-10-23 22:34:46 +01:00
Fufu Fang
f73643e32c
fixed a regression associated with invalid link detection
2019-10-23 22:10:33 +01:00
Fufu Fang
0f7623d1e7
succesfully mounted the filesystem, now need to actually download the music file
2019-10-23 21:36:08 +01:00
Fufu Fang
5062f511bd
Finished writing the code to generate Subsonic LinkTable
...
- Also refactored various bits and pieces
2019-10-23 21:04:25 +01:00
Fufu Fang
b7c63f4418
renamed MemoryStruct to DataStruct, removed spurious link type detection logic
2019-10-22 20:26:21 +01:00
Fufu Fang
cde4a13005
successfully downloading xml file from subsonic server
2019-10-22 01:53:28 +01:00
Fufu Fang
ed8452a4a3
factored out network / root link table initialisation code
2019-10-22 01:49:53 +01:00
Fufu Fang
dec32b0bb4
removed main.c's extra warning messages when doing exit(EXIT_FAILURE)
2019-10-22 01:13:28 +01:00
Fufu Fang
65a9e7f908
half way writing sonic_LinkTable_new
...
- now need to write the parser
2019-10-22 00:42:46 +01:00
Fufu Fang
1a9c10f783
more changes to the subsonic module
...
completed sonic_gen_auth_str()
completed sonic_gen_url_first_part()
change calloc to CALLOC (the wrapper function with error handling)
2019-10-21 23:12:02 +01:00
Fufu Fang
eaabc877a0
added md5 checksum generation and salt generation
2019-10-21 02:11:54 +01:00
Fufu Fang
bc23ee03a2
Fixed regression: LinkTable caching now works again.
2019-09-04 19:53:11 +01:00
Fufu Fang
1493190692
Improved HTTP temporary failure error handling
...
- Added HTTP response code for Cloudflare timeout
- Improved HTTP temporary failure error handling during LinkTable generation
- Now checked all HTTP response code in a single function
2019-09-04 18:42:59 +01:00