Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
#include <glib.h>
#include <regex.h>
#include <string.h>
#include <libaudcore/audstrings.h>
#include "audconfig.h"
#include "misc.h"
#include "playlist.h"
#include "playlist-utils.h"
Go to the source code of this file.
static gint filename_compare_basename | ( | const gchar * | a, |
const gchar * | b | ||
) | [static] |
Definition at line 54 of file playlist-utils.c.
static const gchar* get_basename | ( | const gchar * | filename | ) | [static] |
Definition at line 47 of file playlist-utils.c.
Referenced by filename_compare_basename().
const gchar* get_gentitle_format | ( | void | ) |
Definition at line 140 of file playlist-utils.c.
Referenced by title_from_tuple().
void load_playlists | ( | void | ) |
Definition at line 304 of file playlist-utils.c.
Referenced by init_two().
static gchar* make_playlist_path | ( | gint | playlist | ) | [static] |
Definition at line 295 of file playlist-utils.c.
Referenced by load_playlists(), and save_playlists().
Definition at line 171 of file playlist-utils.c.
void playlist_remove_failed | ( | gint | playlist | ) |
Definition at line 223 of file playlist-utils.c.
Definition at line 243 of file playlist-utils.c.
Definition at line 149 of file playlist-utils.c.
Definition at line 159 of file playlist-utils.c.
void save_playlists | ( | void | ) |
Definition at line 332 of file playlist-utils.c.
Referenced by autosave_cb(), and shut_down().
Definition at line 90 of file playlist-utils.c.
Definition at line 95 of file playlist-utils.c.
Definition at line 100 of file playlist-utils.c.
Definition at line 72 of file playlist-utils.c.
Referenced by tuple_compare_date(), and tuple_compare_track().
Definition at line 59 of file playlist-utils.c.
Referenced by tuple_compare_album(), tuple_compare_artist(), and tuple_compare_title().
Definition at line 85 of file playlist-utils.c.
Definition at line 105 of file playlist-utils.c.
const gchar* aud_titlestring_presets[] [static] |
{ "${title}", "${?artist:${artist} - }${title}", "${?artist:${artist} - }${?album:${album} - }${title}", "${?artist:${artist} - }${?album:${album} - }" "${?track-number:${track-number}. }${title}", "${?artist:${artist} }${?album:[ ${album} ] }${?artist:- }" "${?track-number:${track-number}. }${title}", "${?album:${album} - }${title}", }
Definition at line 33 of file playlist-utils.c.
Referenced by get_gentitle_format().
const PlaylistStringCompareFunc filename_comparisons[] [static] |
{ [PLAYLIST_SORT_PATH] = string_compare_encoded, [PLAYLIST_SORT_FILENAME] = filename_compare_basename, [PLAYLIST_SORT_TITLE] = NULL, [PLAYLIST_SORT_ALBUM] = NULL, [PLAYLIST_SORT_ARTIST] = NULL, [PLAYLIST_SORT_DATE] = NULL, [PLAYLIST_SORT_TRACK] = NULL, [PLAYLIST_SORT_FORMATTED_TITLE] = NULL}
Definition at line 110 of file playlist-utils.c.
Referenced by playlist_remove_duplicates_by_scheme(), playlist_sort_by_scheme(), and playlist_sort_selected_by_scheme().
const gint n_titlestring_presets = G_N_ELEMENTS (aud_titlestring_presets) |
Definition at line 45 of file playlist-utils.c.
Referenced by get_gentitle_format(), and on_titlestring_cbox_realize().
const PlaylistStringCompareFunc title_comparisons[] [static] |
{ [PLAYLIST_SORT_PATH] = NULL, [PLAYLIST_SORT_FILENAME] = NULL, [PLAYLIST_SORT_TITLE] = NULL, [PLAYLIST_SORT_ALBUM] = NULL, [PLAYLIST_SORT_ARTIST] = NULL, [PLAYLIST_SORT_DATE] = NULL, [PLAYLIST_SORT_TRACK] = NULL, [PLAYLIST_SORT_FORMATTED_TITLE] = string_compare}
Definition at line 130 of file playlist-utils.c.
Referenced by playlist_sort_by_scheme(), and playlist_sort_selected_by_scheme().
const PlaylistTupleCompareFunc tuple_comparisons[] [static] |
{ [PLAYLIST_SORT_PATH] = NULL, [PLAYLIST_SORT_FILENAME] = NULL, [PLAYLIST_SORT_TITLE] = tuple_compare_title, [PLAYLIST_SORT_ALBUM] = tuple_compare_album, [PLAYLIST_SORT_ARTIST] = tuple_compare_artist, [PLAYLIST_SORT_DATE] = tuple_compare_date, [PLAYLIST_SORT_TRACK] = tuple_compare_track, [PLAYLIST_SORT_FORMATTED_TITLE] = NULL}
Definition at line 120 of file playlist-utils.c.
Referenced by playlist_remove_duplicates_by_scheme(), playlist_sort_by_scheme(), and playlist_sort_selected_by_scheme().