comparison src/audacious/plugin.h @ 4024:d342cfceb294

added some comments to plugin.h about update_song_tuple()
author Eugene Zagidullin <e.asphyx@gmail.com>
date Tue, 27 Nov 2007 23:59:28 +0300
parents 918ccb2644fb
children 4f9cf3173e2d
comparison
equal deleted inserted replaced
4023:0f3cd542f23a 4024:d342cfceb294
1085 /* Added in Audacious 1.4.1 */ 1085 /* Added in Audacious 1.4.1 */
1086 gboolean have_subtune; 1086 gboolean have_subtune;
1087 1087
1088 /* Added in Audacious 1.5.0 */ 1088 /* Added in Audacious 1.5.0 */
1089 gboolean (*update_song_tuple)(Tuple *tuple, VFSFile *fd); 1089 gboolean (*update_song_tuple)(Tuple *tuple, VFSFile *fd);
1090 /*
1091 * Plugin can provide this function for file metadata (aka tag) writing functionality
1092 * in case when no reason to provide its own custom file info dialog. Thus in most cases.
1093 *
1094 * Some notes:
1095 *
1096 * 1. In current Audacious version, if plugin provides file_info_box(), the latter will be used in any case.
1097 * 2. Each field in tuple means operation on one and only one tag's filed:
1098 * 2.1. Set this field to appropriate value, if non-empty string or positive number provided.
1099 * 2.2. Set this field to blank (or just delete, at plugins`s discretion), if empty string or negative number provided.
1100 */
1090 }; 1101 };
1091 1102
1092 struct _GeneralPlugin { 1103 struct _GeneralPlugin {
1093 PLUGIN_COMMON_FIELDS 1104 PLUGIN_COMMON_FIELDS
1094 }; 1105 };