Changeset 37074 for titan/titan


Ignore:
Timestamp:
02/06/16 17:16:09 (8 years ago)
Author:
gost
Message:

[titan] DM7020.. fix play/pause button

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r34844 r37074  
    5050        int playinfobarcount = 0, playinfobarstatus = 0;
    5151       
    52         if(file_exist("/etc/.mipsel") || ((checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && ostrcmp(getconfig("remotecontrol", NULL), "1") != 1))
     52        if(file_exist("/etc/.mipsel") || ((checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1) && ostrcmp(getconfig("remotecontrol", NULL), "1") != 1))
    5353                playstop = 0;
    5454        else
     
    215215                       
    216216               
    217                 if(status.pvr == 1 && (rcret == getrcconfigint("rcpause", NULL) || ((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)))
     217                if(status.pvr == 1 && (rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 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)))
    218218                {
    219219                        //timeshift
  • titan/titan/titan.c

    r36997 r37074  
    10231023                        }
    10241024                }
     1025                if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1)
     1026                {
     1027                        addconfig("remotecontrol", "0");
     1028                        writeallconfig(1);     
     1029                }                       
    10251030        }
    10261031
Note: See TracChangeset for help on using the changeset viewer.