'Make the modify date and time of a file reflect the show air date and time.
Note: Also called from postProcessor'

def airdateModifyStamp(self):

    if (not all([sickbeard.AIRDATE_EPISODES, self.airdate, self.location, self.show, self.show.airs, self.show.network])):
        return
    try:
        airdate_ordinal = self.airdate.toordinal()
        if (airdate_ordinal < 1):
            return
        airdatetime = network_timezones.parse_date_time(airdate_ordinal, self.show.airs, self.show.network)
        if (sickbeard.FILE_TIMESTAMP_TIMEZONE == u'local'):
            airdatetime = airdatetime.astimezone(network_timezones.sb_timezone)
        filemtime = datetime.datetime.fromtimestamp(ek(os.path.getmtime, self.location)).replace(tzinfo=network_timezones.sb_timezone)
        if (filemtime != airdatetime):
            import time
            airdatetime = airdatetime.timetuple()
            logger.log(u"{0}:    About    to    modify    date    of    '{1}'    to    show    air    date    {2}".format(self.show.indexerid, self.location, time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)), logger.DEBUG)
            try:
                if helpers.touchFile(self.location, time.mktime(airdatetime)):
                    logger.log(u"{0}:    Changed    modify    date    of    '{1}'    to    show    air    date    {2}".format(self.show.indexerid, ek(os.path.basename, self.location), time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)))
                else:
                    logger.log(u"{0}:    Unable    to    modify    date    of    '{1}'    to    show    air    date    {2}".format(self.show.indexerid, ek(os.path.basename, self.location), time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)), logger.WARNING)
            except Exception:
                logger.log(u"{0}:    Failed    to    modify    date    of    '{1}'    to    show    air    date    {2}".format(self.show.indexerid, ek(os.path.basename, self.location), time.strftime(u'%b    %d,%Y    (%H:%M)', airdatetime)), logger.WARNING)
    except Exception:
        logger.log(u"{0}:    Failed    to    modify    date    of    '{1}'".format(self.show.indexerid, ek(os.path.basename, self.location)), logger.WARNING)
