#include "mod_musicindex.h"
#include <string.h>
Go to the source code of this file.
Defines | |
#define | MAX_PREFIX 256 |
Maximum expected size of the URL "prefix" (user@host stuff). | |
Functions | |
char | treat_args (request_rec *r, mu_config *conf) |
Treats the URL arguments. | |
void | send_url (request_rec *r, char *uri, char *command) |
Formats a complete url string to be sent to client. | |
void | send_head (request_rec *r, mu_config *conf) |
Sends HTML page headers and top of the page. | |
void | send_directories (request_rec *r, mu_ent *p, mu_config *conf) |
void | send_tracks (request_rec *r, mu_ent *p, mu_config *conf) |
void | send_playlist (request_rec *r, mu_ent *p, mu_config *conf) |
Sends playlist with url and EXTM3U info to the client. | |
void | send_foot (request_rec *r, mu_config *conf) |
Sends HTML page footers. | |
void | send_result (request_rec *r, mu_ent *p, mu_config *conf) |
|
Maximum expected size of the URL "prefix" (user@host stuff).
Definition at line 24 of file html.h. Referenced by send_url(). |
|
Referenced by musicindex_directory(). |
|
Sends HTML page footers. This function takes care of the formating of the HTML page footers. It sends the data that is common to all pages generated by the handler. Currently it relies on apache_mp3 original stylesheets.
Definition at line 744 of file html.c. References MUSIC_AUTHORS_STRING, and MUSIC_VERSION_STRING. Referenced by musicindex_directory(). |
|
Sends HTML page headers and top of the page. This function takes care of the formating of the HTML page headers. It sends the data that is common to all pages generated by the handler.
Definition at line 353 of file html.c. References mu_config::arrow, mu_config::cd_icon, mu_config::css, MI_ALLOWSEARCH, MI_ALLOWSTREAM, mu_config::options, and mu_config::title. Referenced by musicindex_directory(). |
|
Sends playlist with url and EXTM3U info to the client. This function prepares an m3u playlist (with extra information where available: length, artist, title, album) and sends it to the client.
Definition at line 712 of file html.c. References mu_ent::album, mu_ent::artist, mu_ent::length, mu_ent::next, send_url(), mu_ent::title, and mu_ent::uri. Referenced by playlist_directory(), and playlist_selected(). |
|
|
|
Referenced by musicindex_directory(). |
|
Formats a complete url string to be sent to client. This function does all the URL formatting, in the form: http://[user:][passwd@]hostname[:port]/uri/
Definition at line 302 of file html.c. References MAX_PREFIX. Referenced by send_playlist(). |
|
Treats the URL arguments. This function searches for keywords passed as URL arguments (with "?xxx") and sets the handler options accordingly.
Definition at line 222 of file html.c. References ARG_NUMBER, mu_config::cache_path, MI_ALLOWSEARCH, MI_ALLOWSTREAM, MI_QUICKPL, MI_RECURSIVE, MI_SEARCH, mu_config::options, mu_config::order, mu_config::play_recursive, SB_DEFAULT, SB_RANDOM, SB_URI, mu_config::search, and set_fctptrs(). Referenced by handle_musicindex(). |