summaryrefslogtreecommitdiff
path: root/vdradmind.pl
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2005-12-06 14:18:01 +0100
committerAndreas Mair <amair.sob@googlemail.com>2005-12-06 14:18:01 +0100
commit4f4223794cd8d7efc2c4b95ba4742728eef5a103 (patch)
tree7dbc40cc8fe6f976da5a91225f662c596bb63006 /vdradmind.pl
parent18ad5414acb6cea4e2cd645e8a8d81f371285824 (diff)
downloadvdradmin-am-0.97-am3.4.2.tar.gz
vdradmin-am-0.97-am3.4.2.tar.bz2
2005-12-06: 0.97-am3.4.2v0.97-am3.4.2
- Updated de, es and fi translation (got no response by fr translator). - Use the channel name as title if title in timer_new is empty (Requested by Hardy Flor). - Improved handling of dates reported by "lstr". - SMTPAuth for sendEmail. - Fixed: Programming a timer using InternetExplorer, didn't return to the previous page but gave an error (Reported by several people). - Remember sorting after (in)activating selected timers (Reported by Atti). - Updated Template-Toolkit to v2.13. - Reworked sorting in rec_list/timer_list/at_timer_list. - Activate/Inactivate selected timers in timers_list (Requested by Atti). - Event's title in prog_summary/prog_list/prog_list2 links to prog_detail (Requested by Scorp). - Added "Refresh" button in rec_list to refresh the cache of the list of recordings. - Fixed popup if deleting timers/recordings/autotimers containing a "'" (Reported by Saxman2k). - Remember sorting after deleteing or editing timer or autotimer (Reported by Atti). - Improved re-connect to VDR if VDRAdmin crashes. - Set "LANGUAGE" environment variable to "" on startup, so it causes no problems with language setting in VDRAdmin. - Added caching of listing of recordings. Can be adjusted by "CACHE_REC_TIMEOUT=number of minutes" in vdradmind.conf. Defaults to "60", "0" disables caching. - Remember sorting when toggling in timer or autotimer list. - New configuration option for Timers: don't add summary. - Email notification for AutoTimer can be set in configuration menu. - Optimized AutoTimer matching a little bit. - Reworked detection of another VDRAdmin process if pid file exists. - No more config settings that require a VDRAdmin restart. - Find "sendEmail" program in $PATH. - For VDR >=1.3.24 use VDR's timer flags for finding timers that are currently recording. - Fixed sendmail notification for AutoTimer. - If /usr/bin/locale is not available, language can be entered in textfield instead of chosing in selectbox. - Fixed wrong display of double quotes in timer_list and at_timer_list. - Fixed browsing in "recordings" menu (if there are folders having the same name). - Added new skin "default" (InternetExplorer has problems with displaying it). - Removed i18n.pl. - Localization can be set in configuration again. - Added "Transponder" and "CA-System" to tooltips in timer_list. - Show recording's summary and subtitle in rec_edit (Requested by BigDiSt). - Check for and shorten too long summary when programming timer. - Check for too long commands sent to SVDRPort. - Channel select box in TV. - "Test" button in AutoTimer edit for showing results of current settings (Requested by Hardy Flor). - Link from channel name in prog_list2 and timer_list to prog_list. - Bring popups to the front (e.g. help, prog_detail...) (Based on a patch submitted by Ville Skyttä). - Reuse existing TV, RC and help windows (Based on a patch submitted by Ville Skyttä). - Send vdradmin.m3u when streaming. - Tooltips in timer_list, prog_timeline and at_timer_list can be deactivated (Requested by Hardy Flor). - Fixed wrong HTML tags in rec_detail (Reported by foobar42).
Diffstat (limited to 'vdradmind.pl')
-rwxr-xr-xvdradmind.pl12
1 files changed, 7 insertions, 5 deletions
diff --git a/vdradmind.pl b/vdradmind.pl
index 7fa704b..0a3948e 100755
--- a/vdradmind.pl
+++ b/vdradmind.pl
@@ -172,7 +172,7 @@ $CONFIG{CHANNELS_WANTED_WATCHTV} = "";
#
$CONFIG{PROG_SUMMARY_COLS} = 3;
-my $VERSION = "0.97-am3.4.2rc5";
+my $VERSION = "0.97-am3.4.2";
my $SERVERVERSION = "vdradmind/$VERSION";
my $LINVDR = isLinVDR();
my $VDRVERSION = 0;
@@ -1452,10 +1452,10 @@ sub AT_ProgTimer {
$sum = $summary;
# remove all HTML-Tags from text
$sum =~ s/\<[^\>]+\>/ /g;
- $dat = strftime("%x", localtime($start));
+ $dat = strftime("%A, %x", localtime($start));
$strt= strftime("%H:%M", localtime($start));
$end = strftime("%H:%M", localtime($stop));
- $mail = sprintf("Created AUTOTIMER for $title\n===========================================================================\n$dat,$strt-$end\n\nSummary:\n--------\n$sum");
+ $mail = sprintf("Created AUTOTIMER for $title\n===========================================================================\nChannel: $channel\n$title\n$dat, $strt-$end\n\nSummary:\n--------\n$sum");
#
# the "sendEmail" tool (written by "caspian at dotconf.net") is available from [URL]http://caspian.dotconf.net/menu/Software/SendEmail/[/URL]
@@ -1564,7 +1564,7 @@ sub CheckTimers {
#$ntitle,
$timer->{title},
# If there already is a summary, the user might have changed it -- leave it untouched.
- $timer->{summary} ? $timer->{summary} : $event->{summary},
+ $timer->{summary} ? $timer->{summary} : ( $CONFIG{TM_ADD_SUMMARY} ? $event->{summary} : "" ),
);
Log(LOG_CHECKTIMER, sprintf("CheckTimers: Timer %s updated.", $timer->{id}));
}
@@ -1628,7 +1628,7 @@ sub CheckTimers {
# don't touch the title since we're not too sure about the event
$timer->{title},
# If there already is a summary, the user might have changed it -- leave it untouched.
- $timer->{summary} ? $timer->{summary} : $event->{summary},
+ $timer->{summary} ? $timer->{summary} : ( $CONFIG{TM_ADD_SUMMARY} ? $event->{summary} : "" ),
);
Log(LOG_CHECKTIMER, sprintf("CheckTimers: Timer %s updated.", $timer->{id}));
}
@@ -2982,6 +2982,8 @@ sub timer_add {
if(length($q->param("title")) > 0) {
$data->{title} = $q->param("title");
+ } else {
+ $data->{title} = GetChannelDescByNumber($data->{channel}) if ($data->{channel});
}
if(length($q->param("summary")) > 0) {