Add a simple config migrator to move config items around at load. I've used it

to move general/process_m3u to scanning/process_playlists, scanning/process_xml
to scanning/process_itunes, and make scanning/process_m3u actually control just
m3u file rather than all playlists.  In addition, scan/correct_order has been
moved to daap/correct_order.  This closes long-standing bug #172.
This commit is contained in:
Ron Pedde
2007-04-06 05:05:50 +00:00
parent e6d550dd49
commit 00ded64dab
13 changed files with 129 additions and 329 deletions

View File

@@ -195,8 +195,8 @@ int decode_tag(FILE *fout, unsigned char *current, int level, int len) {
current[2] << 8 |
current[3];
// fprintf(stderr,"Tag: %c%c%c%c, subtag len: %d, len: %d\n",
// tag[0],tag[1],tag[2],tag[3],subtag_len, len);
fprintf(stderr,"Tag: %c%c%c%c, subtag len: %d, len: %d\n",
tag[0],tag[1],tag[2],tag[3],subtag_len, len);
current += 4;
len -= 4;