For example, if the Music Library is specified as "D:\mymusic" and you'd like to refer to a song in that folder named "foo.mp3" you can specify just "foo.mp3" in the command parameter. Note: Commands that use paths to songs or playlists can use relative paths from the root of the Music Library folder to specify songs. If the suffix is omitted, then the response will be the empty. If the suffix is ".txt" then the response will consist of two lines of text corresponding to the text on the player's display. m3u then the response will be the player's current playlist as an. html then the response will be the current player's status in HTML. Where "status" indicates that player status will be returned, and p0,p1, p2, p3, and p4 are parameters used that command. Which displays the status of the player, including the current song and playlist.Ĭontrol of the player uses another set of URLs, all of which may return some status information. The other frame within the main frameset is at this URL: There are additional web pages and URLs used to browse the music library by genre, artist and album as well as configuration and user preference settings and online help. Provides access to browse the subdirectory "Greatest Hits" directory within the "Al Green" subdirectory under the main music directory. Navigation through the browser to subdirectories in the music library uses a URL parameter called "dir" to specify a subdirectory, for example: This provides a frameset containing two pages, one for browsing the music library: To access the main page to control the player via a web browser use this URL: In the examples in this document the server is running on a computer with the IP address of 10.0.1.201. The server can return XML instead of HTML for such "automation" uses (see The XML Skin documentation.) The HTTP server may also be used in conjunction with another software application (wget or curl, for example) as a way to access and control the player via HTTP. The HTTP server may be accessed by the user with a traditional web browser to navigate around the music library and control the player. When the server is started, it starts listening for HTTP connections on the default port of 9000.
0 Comments
Leave a Reply. |