mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
eitd/xmlutil.cpp: change event file name to match channel id order
This commit is contained in:
@@ -557,7 +557,7 @@ void writeEventsToFile(const char *epgdir)
|
||||
onid = (*e)->original_network_id;
|
||||
tsid = (*e)->transport_stream_id;
|
||||
sid = (*e)->service_id;
|
||||
snprintf(eventname, 17, "%04x%04x%04x.xml", onid, tsid, sid);
|
||||
snprintf(eventname, 17, "%04x%04x%04x.xml", tsid, onid, sid);
|
||||
filename = (std::string)epgdir + "/" + (std::string)eventname;
|
||||
if (!(eventfile = fopen(filename.c_str(), "w"))) {
|
||||
goto _done;
|
||||
|
Reference in New Issue
Block a user