diff --git a/admin-root/config.html b/admin-root/config.html index 32a68c02..be735ab0 100644 --- a/admin-root/config.html +++ b/admin-root/config.html @@ -2,88 +2,88 @@

Configuration

-

+

Note that the following fields will only be editable if the configuration file itself is writable by the mt-daapd server. If you make changes to these settings, they will not be reflected in the running server. The server must be restarted for these values to take effect. - +

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
Web Root
Playlist File
MP3 Dir
Database Dir
Port
Server Name
Logfile
Art Filename
Run As
Admin Password
MP3 Password
Extensions
Rescan Interval
Scan Type
Always Scan
Compress
Process .m3u Files
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
Web Root
Playlist File
MP3 Dir
Database Dir
Port
Server Name
Logfile
Art Filename
Run As
Admin Password
MP3 Password
Extensions
Rescan Interval
Scan type
Always Scan
Compress
Process .m3u Files
- -
+ +
+
@include ftr.html@ diff --git a/admin-root/feedback.html b/admin-root/feedback.html index 6a43eaff..088b0272 100644 --- a/admin-root/feedback.html +++ b/admin-root/feedback.html @@ -4,12 +4,12 @@
-
+ - + - + - + - + - + - +
Works? The most important question. Did this version work for you? If not, uncheck the box, and put an explanation in the NOTES @@ -19,7 +19,7 @@
Version This is the version of mt-daapd you are running. If you are using a public release, use the version number (0.1.0, 0.1.1, etc). If it is @@ -30,7 +30,7 @@
System This is the operating system and version you are running. Use something like "Sparc Solaris 9" or "x86 Linux 2.6.3" or @@ -41,7 +41,7 @@
Compile args If you used any compile flags, that would be helpful. Examples might include '--with-gdbm', or '--enable-howl' or something else. @@ -50,7 +50,7 @@
Notes If it didn't work for you, or if you just want to make a suggestion, leave those notes here. Remember that these @@ -60,7 +60,7 @@
Rating Just for fun, give this release a rating from 1 to 10, 1 being so bad it started your computer on fire, 10 meaning works so @@ -69,7 +69,8 @@
- +
+
@include ftr.html@ diff --git a/admin-root/hdr.html b/admin-root/hdr.html index 6157e02a..8dc69ff1 100644 --- a/admin-root/hdr.html +++ b/admin-root/hdr.html @@ -1,9 +1,11 @@ - + + .: m t - d a a p d :. - - - + + + @ispage status.html::@ @@ -11,8 +13,8 @@
- +
 
Version @VERSION@
 mt-daap logo +
Version @VERSION@
diff --git a/admin-root/status.html b/admin-root/status.html index c9fcb372..b5bc5b61 100644 --- a/admin-root/status.html +++ b/admin-root/status.html @@ -1,13 +1,12 @@ @include hdr.html@ -

Status

@THREADSTAT@ -
+
@SERVICE-STATUS@
diff --git a/admin-root/thanks.html b/admin-root/thanks.html index 6b38f147..de2c3cc1 100644 --- a/admin-root/thanks.html +++ b/admin-root/thanks.html @@ -26,5 +26,5 @@ Special thanks to the following people: this page, as I found it to be an excellent reference - + @include ftr.html@ diff --git a/src/configfile.c b/src/configfile.c index 3b029d5c..46045d57 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -789,10 +789,10 @@ void config_emit_service_status(WS_CONNINFO *pwsc, void *value, char *arg) { int r_days, r_hours, r_mins, r_secs; int scanning; - ws_writefd(pwsc,""); - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"
ServiceStatusControl
"); + ws_writefd(pwsc,"\n"); - ws_writefd(pwsc,""); + ws_writefd(pwsc,""); #ifndef WITHOUT_MDNS if(config.use_mdns) { mdns_running=!rend_running(); @@ -803,35 +803,35 @@ void config_emit_service_status(WS_CONNINFO *pwsc, void *value, char *arg) { html="Start MDNS Server"; } - ws_writefd(pwsc,"\n",mdns_running ? "Running":"Stopped", + ws_writefd(pwsc,"\n",mdns_running ? "Running":"Stopped", html); } else { - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"\n"); } #else - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"\n"); #endif - ws_writefd(pwsc,"",config.stop ? "Stopping":"Running"); + ws_writefd(pwsc,"",config.stop ? "Stopping":"Running"); if(config.stop) { - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"\n"); } else { - ws_writefd(pwsc,""); + ws_writefd(pwsc,""); } scanning = config.reload; - ws_writefd(pwsc,"",scanning ? "Running":"Idle"); + ws_writefd(pwsc,"",scanning ? "Running":"Idle"); if(scanning) { - ws_writefd(pwsc,""); + ws_writefd(pwsc,""); } else { - ws_writefd(pwsc,""); + ws_writefd(pwsc,""); } - ws_writefd(pwsc,"
ServiceStatusControl
Rendezvous
Rendezvous%s%s
%s%s
Not configured 
Not configured 
No Support 
No Support 
DAAP Server%s
DAAP Server%sWait...
Wait...
Stop DAAP Server
Stop DAAP Server
Background scanner%s
Background scanner%sWait...
Wait...
Start Scan
Start Scan
\n"); + ws_writefd(pwsc,"\n"); - ws_writefd(pwsc,"\n"); - ws_writefd(pwsc,"\n"); - ws_writefd(pwsc," \n"); + ws_writefd(pwsc,"
Uptime
\n"); + ws_writefd(pwsc,"\n"); + ws_writefd(pwsc," \n"); r_secs=time(NULL)-config.stats.start_time; @@ -860,34 +860,34 @@ void config_emit_service_status(WS_CONNINFO *pwsc, void *value, char *arg) { sprintf((char*)&buf[strlen(buf)],"%d second%s ", r_secs, r_secs == 1 ? "" : "s"); - ws_writefd(pwsc," \n",buf); - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc," \n",buf); + ws_writefd(pwsc,"\n"); - ws_writefd(pwsc,"\n"); - ws_writefd(pwsc," \n"); - ws_writefd(pwsc," \n",db_get_song_count()); - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"\n"); + ws_writefd(pwsc," \n"); + ws_writefd(pwsc," \n",db_get_song_count()); + ws_writefd(pwsc,"\n"); - ws_writefd(pwsc,"\n"); - ws_writefd(pwsc," \n"); - ws_writefd(pwsc," \n",config.stats.songs_served); - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"\n"); + ws_writefd(pwsc," \n"); + ws_writefd(pwsc," \n",config.stats.songs_served); + ws_writefd(pwsc,"\n"); if(!scanning) { - ws_writefd(pwsc,"\n"); - ws_writefd(pwsc," \n"); - ws_writefd(pwsc," \n",db_version()); - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"\n"); + ws_writefd(pwsc," \n"); + ws_writefd(pwsc," \n",db_version()); + ws_writefd(pwsc,"\n"); } /* - ws_writefd(pwsc,"\n"); - ws_writefd(pwsc," \n"); - ws_writefd(pwsc," \n",config.stats.songs_served); - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"\n"); + ws_writefd(pwsc," \n"); + ws_writefd(pwsc," \n",config.stats.songs_served); + ws_writefd(pwsc,"\n"); */ - ws_writefd(pwsc,"
Uptime%s
%s
Songs%d
Songs%d
Songs Served%d
Songs Served%d
DB Version%d
DB Version%d
Bytes Served%d
Bytes Served%d
\n"); + ws_writefd(pwsc,"\n"); } @@ -954,19 +954,19 @@ void config_emit_threadstatus(WS_CONNINFO *pwsc, void *value, char *arg) { if(config_mutex_lock()) return; - ws_writefd(pwsc,""); - ws_writefd(pwsc,""); - ws_writefd(pwsc,"\n"); + ws_writefd(pwsc,"
ThreadSessionHostAction
"); + ws_writefd(pwsc,""); + ws_writefd(pwsc,"\n"); pss=scan_status.next; while(pss) { - ws_writefd(pwsc,"\n", + ws_writefd(pwsc,"\n", pss->thread,pss->session,pss->host,pss->what); pss=pss->next; } - ws_writefd(pwsc,"
ThreadSessionHostAction
%d%d%s%s
%d%d%s%s
\n"); + ws_writefd(pwsc,"\n"); config_mutex_unlock(); } @@ -1076,7 +1076,7 @@ int config_file_is_readonly(void) { */ void config_emit_readonly(WS_CONNINFO *pwsc, void *value, char *arg) { if(config_file_is_readonly()) { - ws_writefd(pwsc,"READONLY"); + ws_writefd(pwsc,"readonly=\"readonly\""); } }