1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

If regenerating an index file fails and no data is written to the file, VDR now reports this error and removes the empty index file

This commit is contained in:
Klaus Schmidinger 2012-09-13 11:18:53 +02:00
parent e775f25add
commit cc16e9fdc7
31 changed files with 134 additions and 38 deletions

View File

@ -7234,3 +7234,8 @@ Video Disk Recorder Revision History
Authors of plugins that implement skins may want to adapt their SetButtons()
function in order to make use of this new feature. See, for instance, the function
cSkinClassicDisplayMenu::SetButtons() in skinclassic.c for details.
2012-09-13: Version 1.7.31
- If regenerating an index file fails and no data is written to the file, VDR now
reports this error and removes the empty index file.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: config.h 2.51 2012/09/09 12:57:33 kls Exp $
* $Id: config.h 2.52 2012/09/13 11:12:07 kls Exp $
*/
#ifndef __CONFIG_H
@ -22,13 +22,13 @@
// VDR's own version number:
#define VDRVERSION "1.7.30"
#define VDRVERSNUM 10730 // Version * 10000 + Major * 100 + Minor
#define VDRVERSION "1.7.31"
#define VDRVERSNUM 10731 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number:
#define APIVERSION "1.7.30"
#define APIVERSNUM 10730 // Version * 10000 + Major * 100 + Minor
#define APIVERSION "1.7.31"
#define APIVERSNUM 10731 // Version * 10000 + Major * 100 + Minor
// When loading plugins, VDR searches them by their APIVERSION, which
// may be smaller than VDRVERSION in case there have been no changes to

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-10-16 11:16-0400\n"
"Last-Translator: Osama Alrawab <alrawab@hotmail.com>\n"
"Language-Team: Arabic <ar@li.org>\n"
@ -1280,6 +1280,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "لا يمكن قفل الحاسوب الرمز s لم يحدد"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-03-02 19:02+0100\n"
"Last-Translator: Luca Olivetti <luca@ventoso.org>\n"
"Language-Team: Catalan <vdr@linuxtv.org>\n"
@ -1255,6 +1255,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "No puc apagar, falta la opció -s !"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.14\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2010-05-06 11:00+0200\n"
"Last-Translator: Radek Šťastný <dedkus@gmail.com>\n"
"Language-Team: Czech <vdr@linuxtv.org>\n"
@ -1254,6 +1254,9 @@ msgstr "Generování index souboru"
msgid "Index file regeneration complete"
msgstr "Generování index souboru dokončeno"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Vypnutí není možné - chybí volba '-s'!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Mogens Elneff <mogens@elneff.dk>\n"
"Language-Team: Danish <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Kan ikke slukke - parameter '-s' ikke angivet!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2010-01-16 16:46+0100\n"
"Last-Translator: Klaus Schmidinger <kls@tvdr.de>\n"
"Language-Team: German <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr "Index-Datei wird regeneriert"
msgid "Index file regeneration complete"
msgstr "Regenerierung der Index-Datei abgeschlossen"
msgid "Index file regeneration failed!"
msgstr "Regenerierung der Index-Datei fehlgeschlagen!"
msgid "Can't shutdown - option '-s' not given!"
msgstr "Ausschalten unmöglich - Option '-s' fehlt!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Dimitrios Dimitrakos <mail@dimitrios.de>\n"
"Language-Team: Greek <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Áäýíáôïí íá ãßíåé ôåñìáôéóìüò. Áíýðáñêôç ç ðáñÜìåôñïò '-s'!"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-03-02 19:02+0100\n"
"Last-Translator: Luca Olivetti <luca@ventoso.org>\n"
"Language-Team: Spanish <vdr@linuxtv.org>\n"
@ -1253,6 +1253,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "¡No se puede apagar - falta el parámetro '-s'!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Arthur Konovalov <artlov@gmail.com>\n"
"Language-Team: Estonian <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr "Indeksfaili regenereerimine"
msgid "Index file regeneration complete"
msgstr "Indeksfaili regenereerimine lõpetatud"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Väljalülitamine nurjus - '-s' parameeter puudub!"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2007-08-15 15:52+0200\n"
"Last-Translator: Rolf Ahrenberg <rahrenbe@cc.hut.fi>\n"
"Language-Team: Finnish <vdr@linuxtv.org>\n"
@ -1255,6 +1255,9 @@ msgstr "Luodaan indeksitiedosto uudelleen"
msgid "Index file regeneration complete"
msgstr "Indeksitiedosto valmistui"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Sammutus ei onnistu - '-s' parametri puuttuu!"

View File

@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-02-27 18:14+0100\n"
"Last-Translator: Jean-Claude Repetto <jc@repetto.org>\n"
"Language-Team: French <vdr@linuxtv.org>\n"
@ -1258,6 +1258,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Arrêt impossible - option '-s' absente !"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-03-17 19:00+0100\n"
"Last-Translator: Adrian Caval <anrxc@sysphere.org>\n"
"Language-Team: Croatian <vdr@linuxtv.org>\n"
@ -1254,6 +1254,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Ga¹enje nemoguæe - nedostaje opcija '-s'!"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2012-01-02 11:54+0200\n"
"Last-Translator: István Füley <ifuley@tigercomp.ro>\n"
"Language-Team: Hungarian <vdr@linuxtv.org>\n"
@ -1256,6 +1256,9 @@ msgstr "Az index file
msgid "Index file regeneration complete"
msgstr "Index file újragenerálása kész."
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "A leállítás nem lehetséges - Opció '-s' hiányzik!"

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2012-06-06 22:50+0100\n"
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
"Language-Team: Italian <vdr@linuxtv.org>\n"
@ -1259,6 +1259,9 @@ msgstr "Rigenerazione file indice"
msgid "Index file regeneration complete"
msgstr "Rigenerazione file indice completata"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Impossibile spegnere - parametro '-s' non assegnato!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.16\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2010-10-30 11:55+0200\n"
"Last-Translator: Valdemaras Pipiras <varas@ambernet.lt>\n"
"Language-Team: Lithuanian <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr "Pergeneruojamas index failas"
msgid "Index file regeneration complete"
msgstr "Index failo pergeneravimas baigtas"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Sistemos negalima išjungti, nes starto metu nebuvo komandinėj eilutėj paduota savybė '-s'!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR-1.7.14\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2010-03-11 00:54+0100\n"
"Last-Translator: Dimitar Petrovski <dimeptr@gmail.com>\n"
"Language-Team: Macedonian <en@li.org>\n"
@ -1253,6 +1253,9 @@ msgstr "Регенерирање на индекс датотека"
msgid "Index file regeneration complete"
msgstr "Регенерирањето на индексот заврши"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Невозможно гаснење - недостасува опцијата '-s'!"

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-02-26 17:20+0100\n"
"Last-Translator: Johan Schuring <johan.schuring@vetteblei.nl>\n"
"Language-Team: Dutch <vdr@linuxtv.org>\n"
@ -1256,6 +1256,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Shutdown onmogelijk - Optie '-s' ontbreekt!"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Truls Slevigen <truls@slevigen.no>\n"
"Language-Team: Norwegian Nynorsk <vdr@linuxtv.org>\n"
@ -1253,6 +1253,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Kan ikke slå av - startet uten parameteret '-s'!"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-03-09 12:59+0100\n"
"Last-Translator: Michael Rakowski <mrak@gmx.de>\n"
"Language-Team: Polish <vdr@linuxtv.org>\n"
@ -1253,6 +1253,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Nie mo¿na wy³±czyæ - nie podano opcji '-s'!"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.15\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2010-03-28 22:49+0100\n"
"Last-Translator: Cris Silva <hudokkow@gmail.com>\n"
"Language-Team: Portuguese <vdr@linuxtv.org>\n"
@ -1253,6 +1253,9 @@ msgstr "A regenerar
msgid "Index file regeneration complete"
msgstr "Regeneração do índice do ficheiro completa"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Impossível desligar - falta o parâmetro '-s'!"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.12\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2011-03-10 23:52+0100\n"
"Last-Translator: Lucian Muresan <lucianm@users.sourceforge.net>\n"
"Language-Team: Romanian <vdr@linuxtv.org>\n"
@ -1255,6 +1255,9 @@ msgstr "Generez index"
msgid "Index file regeneration complete"
msgstr "Generarea indexului s-a incheiat"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Nu pot închide - vezi opþiunea '-s'"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-12-15 14:37+0100\n"
"Last-Translator: Oleg Roitburd <oleg@roitburd.de>\n"
"Language-Team: Russian <vdr@linuxtv.org>\n"
@ -1253,6 +1253,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "²ëÚÛîçÕÝØÕ ÝÕÒÞ×ÜÞÖÝÞ - ÝÕ ×ÐÔÐÝ ßÐàÐÜÕâà '-s'!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.16\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2011-02-15 16:29+0100\n"
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
"Language-Team: Slovak <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr "Regenera
msgid "Index file regeneration complete"
msgstr "Regenerácia indexového súboru hotová"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Vypnutie nie je mo¾né - chýba voµba '-s'!"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-02-28 19:44+0100\n"
"Last-Translator: Matjaz Thaler <matjaz.thaler@guest.arnes.si>\n"
"Language-Team: Slovenian <vdr@linuxtv.org>\n"
@ -1253,6 +1253,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Zaustavitev ni izvedljiva - opcija '-s' ni podana!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.1\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2011-01-09 15:57+0100\n"
"Last-Translator: Milan Cvijanoviæ <elcom_cvijo@hotmail.com>\n"
"Language-Team: Serbian <vdr@linuxtv.org>\n"
@ -1278,6 +1278,9 @@ msgstr "Obnavljanje index datoteke"
msgid "Index file regeneration complete"
msgstr "Obnavljanje index datoteke zavr¹eno"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Ga¹enje nemoguæe - nedostaje opcija '-s'!"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-03-12 18:25+0100\n"
"Last-Translator: Magnus Andersson <svankan@bahnhof.se>\n"
"Language-Team: Swedish <vdr@linuxtv.org>\n"
@ -1255,6 +1255,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Kan inte avsluta, måste använda parameter '-s'"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2008-02-28 00:33+0100\n"
"Last-Translator: Oktay Yolgeçen <oktay_73@yahoo.de>\n"
"Language-Team: Turkish <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Kapatýlamýyor - '-s' seçeneði verilmemiþ!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.7.7\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2010-04-25 16:35+0200\n"
"Last-Translator: Yarema aka Knedlyk <yupadmin@gmail.com>\n"
"Language-Team: Ukrainian <vdr@linuxtv.org>\n"
@ -1252,6 +1252,9 @@ msgstr "Регенерація файлу індексів"
msgid "Index file regeneration complete"
msgstr "Регенерацію файлу індексу завершено"
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "Виключенння неможливе - не задано параметр '-s'!"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-09-09 15:20+0200\n"
"POT-Creation-Date: 2012-09-13 13:15+0200\n"
"PO-Revision-Date: 2009-09-23 23:50+0800\n"
"Last-Translator: Nan Feng <nfgx@21cn.com>\n"
"Language-Team: Chinese (simplified) <vdr@linuxtv.org>\n"
@ -1255,6 +1255,9 @@ msgstr ""
msgid "Index file regeneration complete"
msgstr ""
msgid "Index file regeneration failed!"
msgstr ""
msgid "Can't shutdown - option '-s' not given!"
msgstr "不能关机 - 操作 '-s' 不允许!"

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.c 2.60 2012/09/06 09:57:31 kls Exp $
* $Id: recording.c 2.61 2012/09/13 11:02:17 kls Exp $
*/
#include "recording.h"
@ -1483,6 +1483,7 @@ cIndexFileGenerator::~cIndexFileGenerator()
void cIndexFileGenerator::Action(void)
{
bool IndexFileComplete = false;
bool IndexFileWritten = false;
bool Rewind = false;
cFileName FileName(recordingName, false);
cUnbufferedFile *ReplayFile = FileName.Open();
@ -1514,6 +1515,7 @@ void cIndexFileGenerator::Action(void)
if (FrameDetector.NewFrame()) {
IndexFile.Write(FrameDetector.IndependentFrame(), FileName.Number(), FrameOffset >= 0 ? FrameOffset : FileSize);
FrameOffset = -1;
IndexFileWritten = true;
}
FileSize += Processed;
Buffer.Del(Processed);
@ -1568,10 +1570,15 @@ void cIndexFileGenerator::Action(void)
break;
}
}
// Delete the index file if the recording has not been processed entirely:
if (IndexFileComplete)
if (IndexFileComplete) {
if (IndexFileWritten) {
Skins.QueueMessage(mtInfo, tr("Index file regeneration complete"));
return;
}
else
Skins.QueueMessage(mtError, tr("Index file regeneration failed!"));
}
// Delete the index file if the recording has not been processed entirely:
IndexFile.Delete();
}