comparison src/audtool/audtool_handlers_vitals.c @ 3873:f3341c2d6b9e

audacious remote functions: - playlist_ins_url_string() and playlist_enqueue_to_temp() have been implemented. - now get_version() returns audacious version instead of protocol version. audtool: - now argc check works properly. - some cleanups.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 30 Oct 2007 22:12:47 +0900
parents 964413953abd
children 1792ab581321
comparison
equal deleted inserted replaced
3872:b02853ac8466 3873:f3341c2d6b9e
169 audtool_whine("syntax: %s <fieldname>", argv[0]); 169 audtool_whine("syntax: %s <fieldname>", argv[0]);
170 audtool_whine(" - fieldname example choices: performer, album_name,"); 170 audtool_whine(" - fieldname example choices: performer, album_name,");
171 audtool_whine(" track_name, track_number, year, date, genre, comment,"); 171 audtool_whine(" track_name, track_number, year, date, genre, comment,");
172 audtool_whine(" file_name, file_ext, file_path, length, formatter,"); 172 audtool_whine(" file_name, file_ext, file_path, length, formatter,");
173 audtool_whine(" custom, mtime"); 173 audtool_whine(" custom, mtime");
174 return; 174 exit(1);
175 } 175 }
176 176
177 if (!(data = audacious_get_tuple_field_data(dbus_proxy, argv[1], audacious_remote_get_playlist_pos(dbus_proxy)))) 177 if (!(data = audacious_get_tuple_field_data(dbus_proxy, argv[1], audacious_remote_get_playlist_pos(dbus_proxy))))
178 { 178 {
179 return; 179 return;