diff --git a/tvgrabpyAPI/tv_grab_fetch.py b/tvgrabpyAPI/tv_grab_fetch.py index 21b21ac..c005705 100644 --- a/tvgrabpyAPI/tv_grab_fetch.py +++ b/tvgrabpyAPI/tv_grab_fetch.py @@ -2882,6 +2882,7 @@ def do_final_processing(channelid): if 'last of the page' in p.keys(): # Check for a program split by the day border if p[ 'name'].lower() == p2[ 'name'].lower() and p['stop-time'] >= p2['start-time'] \ + and p['prog_ID'] == p2['prog_ID'] \ and ((not 'episode title' in p and not 'episode title' in p2) \ or ('episode title' in p and 'episode title' in p2 \ and p[ 'episode title'].lower() == p2[ 'episode title'].lower())):