﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
12882	mythfilldatabase causes incorrect original air date in mythweb	Peter Bennett	Peter Bennett	"This problem exists for xmltv grabbers, not for the data direct grabber.

In mythweb, the original air date for tv series is always showing the current year instead of the actual original air date.

This is because it uses the ""airdate"" column if it is non-zero, otherwise it uses the ""original air date"".

For TV series, airdate should not be used. (see description from dbcheck.cpp: 'airdate' is a string representing the year of release for movies and may have no meaning for other types of shows.

xmltvparser.cpp has logic that inserts the current year in airdate if there is no airdate. This should not be done for TV series.

I am proposing a fix for it, which is working for me. 

The code has been like this since 2009, I am wondering why nobody has noticed the problem. Perhaps most xmltv providers do not supply a real original air date. For Schedules direct, original air date is accurate almost all of the time.

For proposed fix see here -> https://github.com/bennettpeter/mythtv/commit/de66eac

Let me know of any issues with the fix."	Patch - Bug Fix	closed	minor	0.28.1	MythTV - Mythfilldatabase	0.28.0	medium	fixed			0
