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:
51
Wawi Source/Operations.txt
Normal file
51
Wawi Source/Operations.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
Winamp Control
|
||||
|
||||
/play[?nnn] Plays current track if no argument is given, or plays
|
||||
the track at playlist position nnn. Also resumes playback
|
||||
if Winamp is paused.
|
||||
/prev Previous Track
|
||||
/next Next Track
|
||||
/pause Pause / Resume
|
||||
/stop Stop
|
||||
/stopslow Stops with fadeout
|
||||
/vol?nn Sets the volume. <nn> is a number between 0 and 10 where
|
||||
0 is mute and 10 is full volume.
|
||||
|
||||
Playlist control
|
||||
|
||||
/clear Clears playlist
|
||||
/url?l&<url> Loads a HTTP location at <url> into the playlist
|
||||
/url?p&<url> Loads a HTTP location at <url> into the playlist and plays it.
|
||||
/sct?xxxxxxxxx.url Loads a URL shortcut file
|
||||
|
||||
|
||||
Other pages
|
||||
|
||||
/list Returns current playlist
|
||||
/img?nnn Image number nnn
|
||||
/top Graphic link bar
|
||||
/browse?\path\ Browse music collection at "%mp3_root_dir%\path\"
|
||||
/about Returns a little 'about' page
|
||||
/main Main page, with title and current track information
|
||||
|
||||
|
||||
Unlinked
|
||||
|
||||
/smalltitle Returns the artist and title of the playing track. No HTML
|
||||
formatting; just the HTTP header and a line of text.
|
||||
/title Returns a HTML page of the track information - artist, title,
|
||||
state of playback (playing, paused, stopped), track time.
|
||||
Automatically refreshes.
|
||||
/login Brings up a username & password box every time; can be used
|
||||
to log out.
|
||||
|
||||
|
||||
Still in development - they might work, they might not...
|
||||
|
||||
/shutdown Turns off the computer
|
||||
/dl?\path\file Download a file at "%mp3_root_dir%\path\file"
|
||||
|
||||
|
||||
Anything else returns the frameset to load the top link bar and the main page.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user