Changeset 44708 for titan


Ignore:
Timestamp:
02/03/20 04:15:33 (4 years ago)
Author:
obi
Message:

vusolo2 add rec/ts work allowed only 1 rec/ts currently

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r44642 r44708  
    245245                if(status.pvr == 1 && (rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && rcret == getrcconfigint("rcplay", NULL) && status.pause == 0 && status.slowspeed == 0 && status.playspeed == 0 && ostrcmp(getconfig("remotecontrol", NULL), "0") == 0)))
    246246                {
     247                        // currently works only 1 rec or timeshift
     248                        if(checkbox("VUSOLO2") == 1 && status.recording > 0)
     249                                continue;
     250
    247251                        //timeshift
    248252                        if(status.playpic == 1)
     
    671675                if(rcret == getrcconfigint("rcrecord", NULL) && status.pvr == 1)
    672676                {
     677                        // currently works only 1 rec or timeshift
     678                        if(checkbox("VUSOLO2") == 1 && status.timeshift == 1)
     679                                continue;
    673680                        subtitlepause(1);
    674681                        status.infobar = 0;
  • titan/titan/record.h

    r44664 r44708  
    17131713        }
    17141714
     1715        // currently works only 1 rec or timeshift
     1716        if((checkbox("VUSOLO2") == 1 && status.recording == 0) || checkbox("VUSOLO2") == 0)
     1717        {
    17151718                //65535 gleich HDMIIN
    1716         if(status.aktservice->channel->serviceid != 65535)
    1717                 addmenulist(&mlist, _("add recording (stop after current event)"), NULL, NULL, 0, 0);
    1718         addmenulist(&mlist, _("add recording (indefinitely)"), NULL, NULL, 0, 0);
    1719         addmenulist(&mlist, _("add recording (enter duration)"), NULL, NULL, 0, 0);
     1719                if(status.aktservice->channel->serviceid != 65535)
     1720                        addmenulist(&mlist, _("add recording (stop after current event)"), NULL, NULL, 0, 0);
     1721                addmenulist(&mlist, _("add recording (indefinitely)"), NULL, NULL, 0, 0);
     1722                addmenulist(&mlist, _("add recording (enter duration)"), NULL, NULL, 0, 0);
     1723        }
    17201724
    17211725        mbox = menulistbox(mlist, "recordlist", _("Record"), NULL, NULL, NULL, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.