Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:seife:vdrdevel
vdradmin-am
vdradmin-3.6.9-recdetail-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vdradmin-3.6.9-recdetail-fix.diff of Package vdradmin-am
Index: b/vdradmind.pl =================================================================== --- a/vdradmind.pl +++ b/vdradmind.pl @@ -6266,11 +6266,14 @@ sub getRecInfo { my $vars; if ($FEATURES{VDRVERSION} >= 10325) { $SVDRP->command("lstr $id"); my ($channel_name, $subtitle, $text, $video, $audio, $subs); while ($_ = $SVDRP->readoneline) { - if (/^C (.*)/) { $channel_name = get_name_from_uniqid($1); } + # first, check for new vdr-1.6+ format "C S19.2E-1-1079-28007 3sat" + if (/^C \S+ (.*)/) { $channel_name = $1; } + # if that does not match, check for old "C S19.2E-1-1079-28007" + elsif (/^C (.*)/) { $channel_name = get_name_from_uniqid($1); } #elsif (/^E (.*)/) { $epg = $1; } elsif (/^T (.*)/) { $title = $1; } elsif (/^S (.*)/) { $subtitle = $1; } elsif (/^D (.*)/) { $text = $1; } elsif (/^X 1 [^ ]* (.*)/) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor