The Dr. Marv Show was a talk show produced by the Trilateral Broadcasting Company, for broadcast on television on the planet Viden. Its presenter (presumably the titled Dr. Marv) was a balding, bespectacled man and the show's tagline was "He Cures Unresolved Issues". The program was filmed in front of a live studio audience.
In 2269, Captain James T. Kirk, Mr. Spock and Dr. Leonard McCoy became inadvertent guests on the show while on Viden. The trio had been taken captive by the Trilateral Broadcasting Company but had managed to escape their cell and were trying to find their way to the office of the company's president, Ted Tinker, to recover their communicators and get back to the Enterprise. Unfortunately, unknown to them, the entire scenario was a set-up, and being broadcast.
As they got to Tinker's office doors, they walked into the studio of the The Dr. Marv Show where Dr. Marv introduced them, promising his audience that he would "find out what these friends like about each other, and what drives them crazy". (TOS - Year Four comic: "Year Four, Issue 4")