Closed eharris closed 4 years ago
Imported from SourceForge on 2020-09-13 04:17:06 Created by erez_v on 2009-06-25 09:03:43 Original: https://sourceforge.net/p/mp3splt/patches/5/#33f8
trunk/libmp3splt/src/utils.c with support for single-letter @l/@L/@u/@U
Attachments:
Imported from SourceForge on 2020-09-13 04:17:08 Created by erez_v on 2009-06-25 09:04:23 Original: https://sourceforge.net/p/mp3splt/patches/5/#f473
trunk/newmp3splt/doc/mp3splt.1 with the new format variables
Attachments:
Imported from SourceForge on 2020-09-13 04:17:11 Created by erez_v on 2009-06-25 09:05:16 Original: https://sourceforge.net/p/mp3splt/patches/5/#f9e2
Diff against svn revision 522
Attachments:
Imported from SourceForge on 2020-09-13 04:17:14 Created by io_alex_2004 on 2009-07-08 21:25:53 Original: https://sourceforge.net/p/mp3splt/patches/5/#9314
Hello,
thanks a lot for the patch. Added in the latest subversion trunk, improved it and fixed some existing bugs with the number_of_digits. The feature will be available in the next version : libmp3splt 0.5.7 & mp3splt 2.2.6
Feel free to repost here if you have time to test the latest subversion trunk :)
-- Alex
Imported from SourceForge on 2020-09-13 04:17:16 Created by nobody on 2009-07-09 12:19:48 Original: https://sourceforge.net/p/mp3splt/patches/5/#2b89
Hello again,
I've taken a look at the newest trunk, and it seems to me as if the calculation of the number of digits in types_func.c:splt_t_set_oformat_digits_tracks() was a little "liberal" -- dividing by 28.
Since I've already implemented this calculation in splt_u_alpha_track(), I've moved it from there.
I'm attaching the modified types_func.c and utils.c, as well as a diff file.
Erez
Imported from SourceForge on 2020-09-13 04:17:19 Created by erez_v on 2009-07-09 12:23:32 Original: https://sourceforge.net/p/mp3splt/patches/5/#67fd
Diff against svn revision 527 (better number of alpha digits)
Attachments:
Imported from SourceForge on 2020-09-13 04:17:21 Created by erez_v on 2009-07-09 12:24:33 Original: https://sourceforge.net/p/mp3splt/patches/5/#1b9b
types_func.c with better alpha digit counter
Attachments:
Imported from SourceForge on 2020-09-13 04:17:24 Created by erez_v on 2009-07-09 12:25:28 Original: https://sourceforge.net/p/mp3splt/patches/5/#5c57
utils.c which uses better alpha digit counter from types_func.c
Attachments:
Imported from SourceForge on 2020-09-13 04:17:27 Created by io_alex_2004 on 2009-07-11 19:18:41 Original: https://sourceforge.net/p/mp3splt/patches/5/#3acd
Thanks again.
Second patch applied in the latest trunk.
-- Alex
Imported from SourceForge on 2020-09-13 04:17:29 Created by erez_v on 2009-07-12 12:22:42 Original: https://sourceforge.net/p/mp3splt/patches/5/#746e
Hi Alex,
Are you sure it's in the current trunk? I've updated my copy and the functions splt_t_set_oformat_digits_tracks() and splt_u_alpha_track() don't seem to have changed. Am I missing something?
Erez
Imported from SourceForge on 2020-09-13 04:17:04 Created by erez_v on 2009-06-25 09:02:34 Original: https://sourceforge.net/p/mp3splt/patches/5
Added the output format variables @l, @L, @u, @U:
Also supported: Specifying the number of digits, e.g., Track@u2 will give 'TrackAA.mp3', 'TrackAB.mp3', ... 'TrackAZ.mp3', 'TrackBA.mp3' , 'TrackBB.mp3'... Still needs improvement: Calculating the number of digits in advance (this assumes base-10 at the moment)
This patch is against svn revision 522. For comparison, I've also included a minimalistic implementation (only one letter supported)
Thank you for a wonderful program!