Skip to content

Commit

Permalink
- Added comment to RadioWebStreamInfo
Browse files Browse the repository at this point in the history
- Fixed exception in GetAvailableCardsForChannel when using RadioWebStreamInfo
  • Loading branch information
doskabouter committed Feb 23, 2025
1 parent 6c8f30d commit c1ec37a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion TvEngine3/TVLibrary/SetupTv/SettingsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ private void AddServerTvCards(Servers servers, IList<Server> dbsServers, bool re
cardName = String.Format("{0} {1}", cardId, cardName);
InfoPage RadioWebStreamInfo = new InfoPage(cardName);
RadioWebStreamInfo.InfoText =
"The RadioWebStream card does not have any options.\n\n\nYou can add your favourite radio webstreams under:\n\n --> 'Radio Channels', 'Add', 'Web-Stream' or by importing a playlist.";
"The RadioWebStream card does not have any options.\n\nNote that this card doesn't support recording or previewing\n\nYou can add your favourite radio webstreams under:\n\n --> 'Radio Channels', 'Add', 'Web-Stream' or by importing a playlist.";
AddChildSection(cardPage, RadioWebStreamInfo, 1);
break;
case CardType.Unknown:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ public List<CardDetail> GetAvailableCardsForChannel(IDictionary<int, ITvCardHand

foreach (IChannel tuningDetail in tuningDetails)
{
if (tuningDetail == null)
{
Log.Error("GetAvailableCardsForChannel: channel #{0} tuningdetails = null", number);
continue;
}
cardsUnAvailable.Clear();
number++;
if (LogEnabled)
Expand Down

0 comments on commit c1ec37a

Please sign in to comment.