Changeset d8e11b227e in mythtv


Ignore:
Timestamp:
Feb 11, 2015, 11:21:05 PM (10 years ago)
Author:
Karl Dietz <dekarl@…>
Branches:
devel/2020-player, devel/ffmpeg-resync, fixes/0.28, fixes/29, fixes/30, fixes/31, github-templates, master
Children:
65766149d2
Parents:
ff2cd531e4
git-author:
Karl Dietz <dekarl@…> (02/11/15 23:21:05)
git-committer:
Karl Dietz <dekarl@…> (02/11/15 23:22:03)
Message:

Log external channel change script failure as an error

Patch by Karl Newman

Fixes #12374

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mythtv/libs/libmythtv/recorders/channelbase.cpp

    rff2cd531e4 rd8e11b227e  
    869869void ChannelBase::HandleScriptEnd(bool ok)
    870870{
    871     LOG(VB_CHANNEL, LOG_INFO, LOC + QString("Channel change script %1")
    872         .arg((ok) ? "succeeded" : "failed"));
    873 
    874871    if (ok)
    875872    {
     873        LOG(VB_CHANNEL, LOG_INFO, LOC + "Channel change script succeeded.");
     874
    876875        InputMap::const_iterator it = m_inputs.find(m_currentInputID);
    877876        if (it != m_inputs.end())
     
    880879            (*it)->startChanNum = m_curchannelname;
    881880        }
     881    }
     882    else
     883    {
     884        LOG(VB_GENERAL, LOG_ERR, LOC + "Channel change script failed.");
    882885    }
    883886}
Note: See TracChangeset for help on using the changeset viewer.