Implement XDG compliance, logging, and improved 401 error handling

- Install to ~/.local/bin/winamp-mpris
- Use ~/.local/state/winamp-mpris/bridge.log for logging
- Use $XDG_RUNTIME_DIR/winamp-mpris.pid for PID management
- Add detailed user notification for 401 Unauthorized errors
- Add install.sh for automated, standard-compliant setup
- Include Winamp Web Interface source code and installer in repository
This commit is contained in:
2026-04-08 18:29:40 -04:00
parent 1e9257a27f
commit 22492dbee9
120 changed files with 9092 additions and 10 deletions

118
Wawi Source/resource.h Normal file
View File

@@ -0,0 +1,118 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by Resource.rc
//
#define IDABOUT 3
#define IDC_VIEWLOG 4
#define IDUSERS 5
#define IDD_DIALOG1 101
#define IDR_DIRECTORY 107
#define IDR_WAFILE 110
#define IDR_PLAYLIST 111
#define IDR_FILE 112
#define IDR_DOWNLOAD 113
#define IDR_IMG_ABOUT 114
#define IDR_IMG_STOP 115
#define IDR_IMG_MAIN 116
#define IDR_IMG_NEXT 117
#define IDR_IMG_PAUSE 118
#define IDR_IMG_PLAY 119
#define IDR_IMG_PLAYLIST 120
#define IDR_IMG_PREV 121
#define IDR_IMG_BROWSE 122
#define IDR_IMG_BLACK 123
#define IDR_VOL_09 124
#define IDR_VOL_10 125
#define IDR_VOL_02 126
#define IDR_VOL_03 127
#define IDR_VOL_04 128
#define IDR_VOL_05 129
#define IDR_VOL_06 130
#define IDR_VOL_07 131
#define IDR_VOL_08 132
#define IDR_VOL_01 133
#define IDR_VOL_00 134
#define IDR_IMG_POPUP 135
#define IDR_IMG_STOPSLOW 136
#define IDR_PLAYDIR 137
#define IDD_USERS 138
#define IDR_ICO_WINAMP 141
#define IDR_URLSCT 142
#define IDR_IMG_ADMIN 143
#define IDR_IMG_OK 144
#define IDR_IMG_RPT_ON 145
#define IDR_IMG_RND_ON 146
#define IDR_IMG_RPT_OFF 147
#define IDR_IMG_RND_OFF 148
#define IDR_IMAGE1 150
#define IDR_IMG_LIST_DEL 151
#define IDR_IMG_LIST_PLAY 152
#define IDD_SERVER 153
#define IDD_WEBPAGE 154
#define IDD_BROWSE 156
#define IDD_ABOUT 157
#define IDD_LOG 158
#define IDI_USERS 159
#define IDI_SERVER 160
#define IDI_WEBPAGE 161
#define IDI_BROWSE 162
#define IDI_LOG 163
#define IDB_FRAMES_TWO 164
#define IDB_FRAMES_THREE 165
#define IDB_FRAMES_ONE 166
#define IDI_WINAMP 168
#define IDB_TITLE 170
#define IDC_PORT_EDIT 1000
#define IDC_HIDE_ERROR 1001
#define IDC_MP3_ROOT 1002
#define IDC_PLAYLISTDIR 1003
#define IDC_FILETYPES 1004
#define IDC_FILETYPEHELP 1005
#define IDC_ROOTDIRHELP 1006
#define IDC_HIDEOTHERFILES 1007
#define IDC_OTHER_FILES_SHOW 1007
#define IDC_OTHER_FILES_DL 1008
#define IDC_WA_FILES_DL 1009
#define IDC_PLAYLISTDIRHELP 1010
#define IDC_WA_FILES_SHOW 1011
#define IDC_PAGETITLE 1012
#define IDC_PAGETITLEHELP 1013
#define IDC_TEXTMODE 1014
#define IDC_PORT_EDIT2 1015
#define IDC_USERNAME 1015
#define IDC_SECUREPASSWORD 1015
#define IDC_PASSWORD 1016
#define IDC_LOGFILEPATH 1018
#define IDC_REFRESH 1019
#define IDC_USERS 1020
#define IDC_BUTTON1 1023
#define IDC_UPDATE 1023
#define IDC_SECUREPASSWORDHELP 1023
#define IDC_AUTH_SHUTDOWN 1024
#define IDC_AUTH_SERVER 1024
#define IDC_AUTH_CONTROL 1025
#define IDC_AUTH_PLAYLIST 1026
#define IDC_AUTH_DOWNLOAD 1027
#define IDC_BROWSE 1028
#define IDC_AUTH_BROWSE 1028
#define IDC_DELETE 1029
#define IDC_ADD 1030
#define IDC_AUTH_CLEAR 1031
#define IDC_PASS_DEBUG 1032
#define IDC_NOFRAMES 1035
#define IDC_TWOFRAMES 1036
#define IDC_THREEFRAMES 1037
#define IDC_FRAMEIMG 1040
#define IDC_MAINIMAGE 1042
#define IDC_ABOUT_TITLE 1043
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 171
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1044
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif