Mercurial > audlegacy-plugins
changeset 983:cc0c5c9ad2b9 trunk
[svn] - Out-Lame can now prepend the playlist position to the filename if the
track number can't be found
author | mf0102 |
---|---|
date | Sat, 28 Apr 2007 15:27:15 -0700 |
parents | 7b0d16a9a92f |
children | df7b09989aee |
files | ChangeLog src/lame/out_lame.c |
diffstat | 2 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Apr 27 12:44:37 2007 -0700 +++ b/ChangeLog Sat Apr 28 15:27:15 2007 -0700 @@ -1,3 +1,13 @@ +2007-04-27 19:44:37 +0000 Cristi Magherusan <majeru@atheme.org> + revision [2104] + fixed all the warnings + + trunk/src/lastfm/Makefile | 1 + trunk/src/lastfm/lastfm.c | 45 +++++++++------------------------------ + trunk/src/lastfm/lastfm.h | 53 ++++++++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 65 insertions(+), 34 deletions(-) + + 2007-04-27 09:29:33 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> revision [2102] - replace almost all of outlame_write() with standard code from disk_writer in hope of fixing endianness problem.
--- a/src/lame/out_lame.c Fri Apr 27 12:44:37 2007 -0700 +++ b/src/lame/out_lame.c Sat Apr 28 15:27:15 2007 -0700 @@ -367,10 +367,10 @@ #endif if (tuple && !b_use_path_anyway) { - if (b_prepend_track_number && tuple->track_number) { + if (b_prepend_track_number) { filename = g_strdup_printf("%s/%.02d %s.mp3", b_use_source_file_path ? tuple->file_path : file_path, - tuple->track_number, title); + tuple->track_number ? tuple->track_number : pos+1, title); } else { filename = g_strdup_printf("%s/%s.mp3", @@ -2346,7 +2346,7 @@ (use_source_file_path), TRUE); prepend_track_number = - gtk_check_button_new_with_label("Prepend track number to filename"); + gtk_check_button_new_with_label("Prepend track number/playlist position to filename"); gtk_box_pack_start(GTK_BOX(GTK_BOX(path_hbox)), prepend_track_number, TRUE, TRUE, 5); gtk_signal_connect(GTK_OBJECT(prepend_track_number), "toggled",