From patchwork Sun Oct 14 19:42:08 2007 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ville_Skytt=C3=A4?= X-Patchwork-Id: 12531 Received: from smtp6.pp.htv.fi ([213.243.153.40]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1Ih9Lo-0004nM-5P for vdr@linuxtv.org; Sun, 14 Oct 2007 21:42:12 +0200 Received: from viper.bobcat.mine.nu (cs181043142.pp.htv.fi [82.181.43.142]) by smtp6.pp.htv.fi (Postfix) with ESMTP id 0393B5BC18F for ; Sun, 14 Oct 2007 22:42:09 +0300 (EEST) From: Ville =?iso-8859-1?q?Skytt=E4?= To: vdr@linuxtv.org Date: Sun, 14 Oct 2007 22:42:08 +0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Message-Id: <200710142242.08460.ville.skytta@iki.fi> Subject: [vdr] [PATCH] Make kPlay start playback from recording list X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2007 19:42:12 -0000 Status: O X-Status: X-Keywords: X-UID: 14239 Hello, After about three years of VDR use, I still quite often try to start playback of a recording from the recordings view using the play button, swear for a bit, and then hit ok. I couldn't think of a reason why play wouldn't start the playback, so here's a tiny patch against VDR 1.4.7 that implements it. --- menu.c~ 2006-12-02 13:12:02.000000000 +0200 +++ menu.c 2007-10-14 22:03:06.000000000 +0300 @@ -2074,6 +2074,7 @@ if (state == osUnknown) { switch (Key) { + case kPlay: case kOk: return Play(); case kRed: return (helpKeys > 1 && RecordingCommands.Count()) ? Commands() : Play(); case kGreen: return Rewind();