Switch to unified view

a/src/main.cxx b/src/main.cxx
...
...
498
        } else {
498
        } else {
499
            break;
499
            break;
500
        }
500
        }
501
    }
501
    }
502
502
503
    const MpdStatus& mpdstat = mpdclip->getStatus();
504
    // Only the "special" upmpdcli 0.19.16 version has patch != 0
505
    bool enableL16 = mpdstat.versmajor >= 1 || mpdstat.versminor >= 20 ||
506
        mpdstat.verspatch >= 16; 
507
        
503
    // Initialize libupnpp, and check health
508
    // Initialize libupnpp, and check health
504
    LibUPnP *mylib = 0;
509
    LibUPnP *mylib = 0;
505
    string hwaddr;
510
    string hwaddr;
506
    int libretrysecs = 10;
511
    int libretrysecs = 10;
507
    for (;;) {
512
    for (;;) {
...
...
541
546
542
    // Initialize the data we serve through HTTP (device and service
547
    // Initialize the data we serve through HTTP (device and service
543
    // descriptions, icons, presentation page, etc.)
548
    // descriptions, icons, presentation page, etc.)
544
    unordered_map<string, VDirContent> files;
549
    unordered_map<string, VDirContent> files;
545
    if (!initHttpFs(files, g_datadir, UUID, friendlyname, enableAV, enableOH,
550
    if (!initHttpFs(files, g_datadir, UUID, friendlyname, enableAV, enableOH,
546
                    !senderpath.empty(),
551
                    !senderpath.empty(), enableL16,
547
                    iconpath, presentationhtml)) {
552
                    iconpath, presentationhtml)) {
548
        exit(1);
553
        exit(1);
549
    }
554
    }
550
555
551
    if (ownqueue)
556
    if (ownqueue)