comparison src/audacious/pluginenum.c @ 4070:040243a50bd3

- modified playlist_load_ins_file() and playlist_load_ins_file_tuple(). path builder and ext_hash checker have been extracted from playlist_load_ins_file_tuple() and are provided as individual functions. - path builder is available to plugins as aud_construct_uri() and it allows container plugins to construct valid uri. - replaced __playlist_ins_with_info_tuple() with the superset __playlist_ins_file(). it can accept both tuple and title/length pair. - changed call dependency among playlist_load_ins_file(), playlist_load_ins_file_tuple() and __playlist_ins_file(). playlist_load_ins_file() no longer calls playlist_load_ins_file_tuple() nor builds any tuple. - made some cleanups.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Fri, 07 Dec 2007 01:11:25 +0900
parents 0b004b3bfb70
children 9e24c8746d99
comparison
equal deleted inserted replaced
4069:b26a96a5da69 4070:040243a50bd3
386 .dock_is_moving = dock_is_moving, 386 .dock_is_moving = dock_is_moving,
387 387
388 .get_output_list = get_output_list, 388 .get_output_list = get_output_list,
389 389
390 .input_get_volume = input_get_volume, 390 .input_get_volume = input_get_volume,
391 .construct_uri = construct_uri,
391 }; 392 };
392 393
393 /*****************************************************************/ 394 /*****************************************************************/
394 395
395 GList *lowlevel_list = NULL; 396 GList *lowlevel_list = NULL;