mirror of
https://projects.vdr-developer.org/git/vdr-plugin-scraper2vdr.git
synced 2023-10-19 17:58:31 +02:00
fixed bug that scraped events are not displayed randomly
This commit is contained in:
parent
c538d359ec
commit
1f0f79d71f
4
update.c
4
update.c
@ -173,7 +173,7 @@ int cUpdate::ReadScrapedEvents(void) {
|
||||
select->build("select ");
|
||||
select->bind(cTableEvents::fiEventId, cDBS::bndOut);
|
||||
select->bind(cTableEvents::fiChannelId, cDBS::bndOut, ", ");
|
||||
select->bind(cTableEvents::fiUseId, cDBS::bndOut, ", ");
|
||||
select->bind(cTableEvents::fiMasterId, cDBS::bndOut, ", ");
|
||||
select->bind(cTableEvents::fiScrSeriesId, cDBS::bndOut, ", ");
|
||||
select->bind(cTableEvents::fiScrSeriesEpisode, cDBS::bndOut, ", ");
|
||||
select->bind(cTableEvents::fiScrMovieId, cDBS::bndOut, ", ");
|
||||
@ -203,7 +203,7 @@ int cUpdate::ReadScrapedEvents(void) {
|
||||
string channelId = "";
|
||||
int numNew = 0;
|
||||
for (int res = select->find(); res; res = select->fetch() && Running()) {
|
||||
eventId = tEvents->getIntValue(cTableEvents::fiUseId);
|
||||
eventId = tEvents->getIntValue(cTableEvents::fiMasterId);
|
||||
channelId = tEvents->getStrValue(cTableEvents::fiChannelId);
|
||||
seriesId = tEvents->getIntValue(cTableEvents::fiScrSeriesId);
|
||||
episodeId = tEvents->getIntValue(cTableEvents::fiScrSeriesEpisode);
|
||||
|
Loading…
Reference in New Issue
Block a user