| Rev |
Age |
Author |
Path |
Log message |
| 191 |
1429d 19h |
bluediver |
/kissdx/trunk/kissdx.c |
Complete - task 97:(addins) Display startup error in daemon mode
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=97 |
| 190 |
1560d 19h |
bluediver |
/kissdx/trunk/kissdx.c |
Complete - task 94:(addins) custom option in kissdx command line start
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=94
Add - client admin commands : glcus and migrate glop to glarg
Add - Update manpage/man2html and verbose help ./kissdx -vh |
| 189 |
1561d 18h |
bluediver |
/kissdx/trunk/kissdx.c |
Complete - task 94: Keep track of kissdx engine starting options/datetime
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=94
Add - Two new client admin commands : glop and gldt: Launch option & datetime
Add - Update manpage with administration command and its html release
Add - Update command line help ./kissdx -vh |
| 187 |
1566d 18h |
bluediver |
/kissdx/trunk/kissdx.c |
Complete - task 92: Define a stable interface to retrieve engine version and admin command dictionary
Client Command line option added : -s gdic
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=92 |
| 185 |
1756d 19h |
vit |
/kissdx/trunk/kissdx.c |
Incomplete - task 85: Ability to modify total length of media to be played?
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=85
Implemented this by introducing kissdx.override files inside media directories
- A kissdx.override file in a media directory will be parsed before accessing files in that directory
- Any kissdx.override file will override current settings from kissdx.conf, only for that directory
- A new option bogusfilesize is allowed only in kissdx.override files, not in kissdx.conf. |
| 182 |
1757d 05h |
bluediver |
/kissdx/trunk/kissdx.c |
Complete - task 74: Allow setting/getting verbose log level via AdmCmd
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=74
Initiate - task 65: HTML interface for administration/configuration
Prototype for "ipkg install lighttpd php" testing on small device
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=65
Improve stability - task 51: kissdx remote administration
Add acknowledge response for each admin command
Add getter/setter for part of kissdx configuration option (see ./kissdx -vh)
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=51
Some admin command to ease diagnostics: -s COMMAND
---------------------------------------
-s lau List audio
-s lpi List picture
-s lvi List video
-s lvi /video/kids/ Commands could browse the mediacenter
Some admin command for developpers: -s Setter & Getter
-----------------------------------
-s {verror;vwarn;vinfo;vproto;vdebug;v1..v5} Set VerboseLogLevel
-s {slisthidden.yes;slisthidden.no;} Set ListHiddenEntry Yes/No
-s {scal.yes;scal.no;} Set ConfigAutoLoad Yes/No
-s {sdsn.yes;sdsn.no;} Set DisplaySequenceNumber Yes/No
-s {gksv;gksvd} Get KissdxServerVersion; KissdxServerVersionDate
-s {gverbose;glisthidden} Get VerboseLogLevel; ListHiddenEntry
-s {gcal;gdsn} Get ConfigAutoLoad; DisplaySequenceNumber |
| 180 |
1764d 15h |
vit |
/kissdx/trunk/kissdx.c |
Complete - task 84: Allow turning picture scaling on and off on player
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=84 |
| 179 |
1862d 19h |
bluediver |
/kissdx/trunk/kissdx.c |
Update manpage to fit 90 char width
Add directory argument to admin commande LIST VIDEO,AUDIO,PICTURE
./kissdx -slvi /video/kids/cartoon |
| 174 |
1916d 07h |
bluediver |
/kissdx/trunk/kissdx.c |
-Remove options.verbose code variable, redundant to options.loglevel==LOGDEBUG
-Cleanup code, define uppercase SCANDIR_FILE_MODE and DIRECTORY one
-Review manpage with kissdx.1 |
| 173 |
1926d 17h |
bluediver |
/kissdx/trunk/kissdx.c |
-Adding utils.setup_scandir_selector() as a prerequisite to scandir()
-Adding verbose level option for command line (-vn or -verror or -verr ..)
-Rename kissdx.conf in kissdx.conf.example to ease starting kissdx server
-Review help screen for verbose log in command line and kissdx.conf |
| 167 |
1938d 16h |
bluediver |
/kissdx/trunk/kissdx.c |
Feature: loglevel and removal of nested function scandir_selector() and ftw.h specificity
In order to allow a full port on MacOSX platform, nested function are removed (scandir_selector)
Remove nested function scandir_selector() out from transform_subtitle_filename and get_next_picture (connection.c)
This function is a reuseable tool feature to moved to utils.c
scandir_selector function purpose is to filter all filename provided by scandir based on criteria
that is available through a global structure 'scandir_info' defined in util.h.
A structure type scandir_info_t store information like 'dirname','filename pattern' and 'extension' allowed.
Same removal of nested function scandir_selector() out of piccache.c
Caching use another feature related to scandir_selector: the need to retrieve directory name only,
and forget standard filename. Then utils.c/scandir_selector() is enriched with option: FILE or DIR
the variable 'scandir_directory_limited' is included in global structure 'scandir_info'
Nested function are not supported on MaxOsX (10.4 & 10.5)
Even with gcc option, -fnested-functions, the nested function located in utils.c/casestat() crashes the child.
the test case is a LIST VIDEO that stop at the first directory. Same behaviours in reading B2B music.
Modification done in casestat() is to do a full scandir and filter afterwards in 'for' loop.
Robustness for multiple client request:
=========================================
Q:Does a global structure may be a weak point if kissdx serves multiple clients and requests simultanously ?
A1:Transform_subtitle_filename function is called, in a child life dedicated to a GET request.
It could not serve multiple request at the same time. The global variable populated has a child scope range.
A2:trim_cache function also needs a global structured value to enable ftw function, and is called in a child.
Then not weakness is inserted with this global structure.
List of testcase to validate the removal of nested function :
=============================================================
> Scandir_selector / get_next_picture (connection.c)
= select picture display, and click Next on remote
> Scandir_selector / transforme_subtitle_filename (connection.c)
= select a movie subtitled and check verbose log
> Scandir_selector / get_entry (piccache.c)
= At the end of displaying a picture, the get_next_pic_to_precache calls 3xget_entry()
>> check verbose log to validate
> Scandir_selector / remove_entry (piccache.c)
= Set cachepicturesize = 5 and TrimInterval = 0 (occurs on each picture request)
Check directory .piccache with a ls -al : analyse nb of entry, and date time
> Scandir_selector / trim_cache (piccache.c)
test: verbose mode during slideshow of picture
> ftw specific code / trim_cache (piccache.c)
As standard way of 'sort' is running well, why keep the ftw solution ?
both ftw and standard were removed nested function
test: verbose mode during slideshow of picture
test: undefine USE_FTW in piccache.c and do same verbose log check
> Scandir_selector / compose_combinedfile (backtoback.c)
Select a mp3 directory and select the b2b entry of it, listen ...
== Feature Loglevel / Verbose =================
Verbose and loglevel are compliant.
Review of code during each step of new feature coding will be the opportunity to migrate a logv() to loglevel()
Both numeric and alpha numeric parameter is supported:
./kissdx -l5 is same as ./kissdx -l debug and backward compatible with ./kissdx -v
Starting verbose log include this information.
Starting standard log only notifies any command line option accepted like (-l1) to ease diagnostic.
Support in command line (l1 to l5) or (l error to l debug)
Support in kissdx.conf:loglevel options (l1 to l5) or (l error to l debug)
Command line l5 is equivalent to (-v) verbose mode (and the opposite)
config file option l5 generate a verbose mode
Logging feature is customisable from 1 to 5 or in alphanumeric character
l1 = Error only should be displayed
l2 = l1 + Warning only should be displayed
l3 = l2 + Protocol exchange with the player, is only displayed
l4 = l3 + Information only
l5 = l4 + Debug information is fully displayed |
| 163 |
2001d 17h |
vit |
/kissdx/trunk/kissdx.c |
Complete - task 69: kissdx server does not show on player when using listenaddress
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=69 |
| 161 |
2021d 15h |
vit |
/kissdx/trunk/kissdx.c |
Bugfix: Global variable commandserver_path was defined with a length that was too short and caused a buffer overrun. |
| 160 |
2026d 21h |
bluediver |
/kissdx/trunk/kissdx.c |
Easeconfig: Add log on binding process and final "ready for business" |
| 149 |
2036d 20h |
vit |
/kissdx/trunk/kissdx.c |
Minor fixup:
- Changed wording and layout in --help info.
- Introduced __DATE__ for KISSDX_VERSION_DATE to get correct build date automatically. |
| 148 |
2047d 04h |
bluediver |
/kissdx/trunk/kissdx.c |
update to correct typo on admin default recommended port 8003
update config file with kmlforwardurl and link to kissdxmanual |
| 147 |
2051d 14h |
vit |
/kissdx/trunk/kissdx.c |
Cmplete - task 64: Server signature does not display national characters correctly
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=64 |
| 145 |
2071d 15h |
vit |
/kissdx/trunk/kissdx.c |
Code clean-up: Tab alignment was off in some places due to problems with the Lucida Console font on Eclipse/Windows.
Code clean-up: Removed some unnecessary (confusing) #include statements. |
| 134 |
2076d 13h |
vit |
/kissdx/trunk/kissdx.c |
Complete - task 49: Support multiple media paths for each media type
http://www.vidartysse.net/BUGS/view_bug.php?bug_id=49
PLUS
Bugfix: Played DVDs would not show up in [Recently used] some times.
Code consistency: Replaced all use of inded() / rindex() with strchr() / strrchr().
Code quality: Moved to C99 standard - actually -std=gnu99.
Consistency: Made dvdaccessmethod all lowercase.
Some code tidying / commenting. |
| 130 |
2077d 17h |
vit |
/kissdx/trunk/kissdx.c |
Bugfix: Show KML port number correctly in log message. |