eitd/xmlutil.cpp: change event file name to match channel id order

This commit is contained in:
[CST] Focus
2015-05-26 13:26:03 +03:00
parent d8a4dd2c0d
commit 37a2fc42d7

View File

@@ -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;