72 if (decoder->is_our_file_from_vfs !=
NULL)
77 if (decoder->is_our_file_from_vfs (state->
filename, state->
handle))
120 const char *
s = strstr (state->
filename,
"://");
125 AUDDBG (
"Probing by scheme.\n");
135 const char * ext, * sub;
141 AUDDBG (
"Probing by extension.\n");
143 memcpy (buf, ext + 1, sub - ext - 1);
144 buf[sub - ext - 1] = 0;
159 AUDDBG (
"Probing by MIME type.\n");
167 AUDDBG (
"Probing by content.\n");
175 AUDDBG (
"Probing %s.\n", filename);
208 g_return_val_if_fail (ip,
NULL);
209 g_return_val_if_fail (ip->probe_for_tuple,
NULL);
212 Tuple * tuple = ip->probe_for_tuple (filename, handle);
221 void * *
data, int64_t * size)
227 g_return_val_if_fail (ip,
FALSE);
228 g_return_val_if_fail (ip->get_song_image,
FALSE);
231 bool_t success = ip->get_song_image (filename, handle, data, size);
254 g_return_val_if_fail (ip,
FALSE);
255 g_return_val_if_fail (ip->update_song_tuple,
FALSE);
262 bool_t success = ip->update_song_tuple (tuple, handle);
279 g_return_val_if_fail (ip,
FALSE);
280 g_return_val_if_fail (ip->file_info_box,
FALSE);
282 ip->file_info_box (filename);