Skip to content

Commit

Permalink
Fix VoD channels
Browse files Browse the repository at this point in the history
  • Loading branch information
flubshi committed May 7, 2024
1 parent 3cf484e commit 7bfa297
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WaipuData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ bool WaipuData::LoadChannelData()
WaipuChannel waipuChannel;

waipuChannel.iChannelNumber = i + 1; // position
waipuChannel.tvfuse = 0;
waipuChannel.tvfuse = false;
waipuChannel.waipuID = waipuId; // waipu[id]
waipuChannel.iUniqueId = Utils::Hash(waipuId);
waipuChannel.strChannelName = channel["displayName"].GetString(); // waipu[displayName]
Expand All @@ -823,6 +823,7 @@ bool WaipuData::LoadChannelData()
bool isFav = userSettings["favorite"].GetBool();
bool isVisible = userSettings["visible"].GetBool();
bool tvfuse = (*stationConfig)["newTv"].GetBool();
waipuChannel.tvfuse = tvfuse;

// skip if we do not enforce to show all
if (m_channel_filter != CHANNEL_FILTER_ALL && !isVisible)
Expand Down

0 comments on commit 7bfa297

Please sign in to comment.