#include <glib.h>
#include <regex.h>
#include <string.h>
#include <libaudcore/audstrings.h>
#include <libaudcore/hook.h>
#include "misc.h"
#include "playlist.h"
Go to the source code of this file.
static gint filename_compare_basename | ( | const gchar * | a, | |
const gchar * | b | |||
) | [static] |
Definition at line 39 of file playlist-utils.c.
static const gchar* get_basename | ( | const gchar * | filename | ) | [static] |
Definition at line 32 of file playlist-utils.c.
Referenced by filename_compare_basename().
void load_playlists | ( | void | ) |
Definition at line 358 of file playlist-utils.c.
Referenced by init_two().
static void load_playlists_real | ( | void | ) | [static] |
Definition at line 290 of file playlist-utils.c.
Referenced by load_playlists().
static gchar* make_playlist_path | ( | gint | playlist | ) | [static] |
Definition at line 281 of file playlist-utils.c.
Referenced by load_playlists_real(), and save_playlists_real().
Definition at line 147 of file playlist-utils.c.
void playlist_remove_failed | ( | gint | playlist | ) |
Definition at line 205 of file playlist-utils.c.
Definition at line 227 of file playlist-utils.c.
Definition at line 125 of file playlist-utils.c.
Definition at line 135 of file playlist-utils.c.
void save_playlists | ( | gboolean | exiting | ) |
Definition at line 376 of file playlist-utils.c.
Referenced by do_autosave(), and shut_down().
static void save_playlists_real | ( | void | ) | [static] |
Definition at line 316 of file playlist-utils.c.
Referenced by save_playlists().
static void state_cb | ( | void * | data, | |
void * | user | |||
) | [static] |
Definition at line 353 of file playlist-utils.c.
Referenced by load_playlists().
Definition at line 75 of file playlist-utils.c.
Definition at line 80 of file playlist-utils.c.
Definition at line 85 of file playlist-utils.c.
Definition at line 57 of file playlist-utils.c.
Referenced by tuple_compare_date(), and tuple_compare_track().
Definition at line 44 of file playlist-utils.c.
Referenced by tuple_compare_album(), tuple_compare_artist(), and tuple_compare_title().
Definition at line 70 of file playlist-utils.c.
Definition at line 90 of file playlist-utils.c.
static void update_cb | ( | void * | data, | |
void * | user | |||
) | [static] |
Definition at line 344 of file playlist-utils.c.
Referenced by load_playlists().
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 95 of file playlist-utils.c.
Referenced by playlist_remove_duplicates_by_scheme(), playlist_sort_by_scheme(), and playlist_sort_selected_by_scheme().
gboolean hooks_added [static] |
Definition at line 342 of file playlist-utils.c.
Referenced by load_playlists().
gboolean playlists_changed [static] |
Definition at line 342 of file playlist-utils.c.
Referenced by load_playlists(), save_playlists(), and update_cb().
gboolean state_changed [static] |
Definition at line 342 of file playlist-utils.c.
Referenced by load_playlists(), save_playlists(), state_cb(), and update_cb().
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 115 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 105 of file playlist-utils.c.
Referenced by playlist_remove_duplicates_by_scheme(), playlist_sort_by_scheme(), and playlist_sort_selected_by_scheme().