mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
add cmdline option to load xmltv epg
Origin commit data
------------------
Commit: b2ebab61c8
Author: TangoCash <eric@loxat.de>
Date: 2024-06-05 (Wed, 05 Jun 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
It would often be very helpful to know why a commit is there or what
a particular change is good for, or why it is needed, without having to
ask.
This commit is contained in:
@@ -67,6 +67,15 @@ int main(int argc, char** argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
if (!strcmp(argv[i], "--readxmltvepg")) {
|
||||||
|
if(argv[i+1]) {
|
||||||
|
char url[255];
|
||||||
|
sprintf(url, "%s", argv[i+1]);
|
||||||
|
printf("Reading xmltv epg from %s....\n", url);
|
||||||
|
client.readSIfromXMLTV(url);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
if (!strcmp(argv[i], "--dump")) {
|
if (!strcmp(argv[i], "--dump")) {
|
||||||
client.dumpStatus();
|
client.dumpStatus();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user