From 53b37fb0005cf0e83e2ade1e49b7a04db66470bf Mon Sep 17 00:00:00 2001
From: Roger Siddons <dizygotheca@ntlworld.com>
Date: Thu, 5 Nov 2015 12:23:14 +0000
Subject: [PATCH] TVRec: Set hostname of guide progs for STOP_RECORDING
messages.
For STOP_RECORDING messages the MASTER backend uses the ProgInfo hostname to determine the message source.
Guide programmes don't initialise the hostname so STOP_RECORDING messages are wrongly treated as slave requests, causing a race condition.
Fixes part of 12281
diff --git a/mythtv/libs/libmyth/programinfo.cpp b/mythtv/libs/libmyth/programinfo.cpp
index c213c60..6118252 100644
a
|
b
|
ProgramInfo::ProgramInfo( |
793 | 793 | dupmethod = s.dupmethod; |
794 | 794 | findid = s.findid; |
795 | 795 | recordedid = s.recordedid; |
| 796 | hostname = s.hostname; |
796 | 797 | |
797 | 798 | // This is the exact showing (same chanid or callsign) |
798 | 799 | // which will be recorded |