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 a584e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WaipuData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,6 @@ bool WaipuData::LoadChannelData()
WaipuChannel waipuChannel;

waipuChannel.iChannelNumber = i + 1; // position
waipuChannel.tvfuse = 0;
waipuChannel.waipuID = waipuId; // waipu[id]
waipuChannel.iUniqueId = Utils::Hash(waipuId);
waipuChannel.strChannelName = channel["displayName"].GetString(); // waipu[displayName]
Expand All @@ -823,6 +822,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 a584e01

Please sign in to comment.