vdr-1.7.27.diff
| skinenigmang-0.1.1/enigma.c 2012-04-07 00:42:42.000000000 +0200 | ||
|---|---|---|
| 2617 | 2617 | |
| 2618 | 2618 |
// draw recording date string |
| 2619 | 2619 |
std::stringstream sstrDate; |
| 2620 |
sstrDate << *DateString(Recording->start)
|
|
| 2621 |
<< " " << *TimeString(Recording->start);
|
|
| 2620 |
sstrDate << *DateString(Recording->Start())
|
|
| 2621 |
<< " " << *TimeString(Recording->Start());
|
|
| 2622 | 2622 | |
| 2623 | 2623 |
unsigned long long nRecSize = -1; |
| 2624 | 2624 |
unsigned long long nFileSize[1000]; |
| ... | ... | |
| 2674 | 2674 |
bool fCutIn = true; |
| 2675 | 2675 |
cMark *mark = marks.First(); |
| 2676 | 2676 |
while (mark) {
|
| 2677 |
index->Get(mark->position, &FileNumber, &FileOffset); //TODO: will disc spin up?
|
|
| 2677 |
index->Get(mark->Position(), &FileNumber, &FileOffset); //TODO: will disc spin up?
|
|
| 2678 | 2678 |
if (fCutIn) {
|
| 2679 |
nCutInFrame = mark->position;
|
|
| 2679 |
nCutInFrame = mark->Position();
|
|
| 2680 | 2680 |
fCutIn = false; |
| 2681 | 2681 |
if (nRecSize >= 0) |
| 2682 | 2682 |
nCutInOffset = nFileSize[FileNumber-1] + FileOffset; |
| 2683 | 2683 |
} else {
|
| 2684 |
nCutLength += mark->position - nCutInFrame;
|
|
| 2684 |
nCutLength += mark->Position() - nCutInFrame;
|
|
| 2685 | 2685 |
fCutIn = true; |
| 2686 | 2686 |
if (nRecSize >= 0) |
| 2687 | 2687 |
nRecSizeCut += nFileSize[FileNumber-1] + FileOffset - nCutInOffset; |
| ... | ... | |
| 2778 | 2778 |
} |
| 2779 | 2779 |
delete index; |
| 2780 | 2780 | |
| 2781 |
sstrInfo << trVDR("Priority") << ": " << Recording->priority << std::endl
|
|
| 2782 |
<< trVDR("Lifetime") << ": " << Recording->lifetime << std::endl;
|
|
| 2781 |
sstrInfo << trVDR("Priority") << ": " << Recording->Priority() << std::endl
|
|
| 2782 |
<< trVDR("Lifetime") << ": " << Recording->Lifetime() << std::endl;
|
|
| 2783 | 2783 |
if (Info->Aux()) {
|
| 2784 | 2784 |
sstrInfo << std::endl << tr("Auxiliary information") << ":\n"
|
| 2785 | 2785 |
<< parseaux(Info->Aux()); |