home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
MediaPortal do not show TV Channels, although Channels found in TV-Server Configuration
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Edalex" data-source="post: 1244211" data-attributes="member: 63839"><p>Hi, all text below is just a guess.</p><p>In your logs I see this lines:</p><p></p><p>Related code looks like this:</p><p>[code=csharp] Log.Info("found:{0} tv channels", channels.Count);</p><p> TvNotifyManager.OnNotifiesChanged();</p><p> m_groups.Clear();</p><p></p><p> TvBusinessLayer layer = new TvBusinessLayer();</p><p> RadioChannelGroup allRadioChannelsGroup =</p><p> layer.GetRadioChannelGroupByName(TvConstants.RadioGroupNames.AllChannels);</p><p> IList<Channel> radioChannels = layer.GetAllRadioChannels();</p><p> if (radioChannels != null)</p><p> {</p><p> if (radioChannels.Count > allRadioChannelsGroup.ReferringRadioGroupMap().Count)</p><p> {</p><p> foreach (Channel radioChannel in radioChannels)</p><p> {</p><p> layer.AddChannelToRadioGroup(radioChannel, allRadioChannelsGroup);</p><p> }</p><p> }</p><p> }</p><p> Log.Info("Done.");[/code]</p><p>So either code is failing on clearing groups or it's failing on getting radio channels.</p><p>Could you describe what are your radio channels, what are tv channels and radio channels groups or maybe make export of tv/radio groups and channels to look at them.</p><p>Did you delete "All Channels" group or did something similar? Do you have groups with 0 channels or any another unusual situation?</p></blockquote><p></p>
[QUOTE="Edalex, post: 1244211, member: 63839"] Hi, all text below is just a guess. In your logs I see this lines: Related code looks like this: [code=csharp] Log.Info("found:{0} tv channels", channels.Count); TvNotifyManager.OnNotifiesChanged(); m_groups.Clear(); TvBusinessLayer layer = new TvBusinessLayer(); RadioChannelGroup allRadioChannelsGroup = layer.GetRadioChannelGroupByName(TvConstants.RadioGroupNames.AllChannels); IList<Channel> radioChannels = layer.GetAllRadioChannels(); if (radioChannels != null) { if (radioChannels.Count > allRadioChannelsGroup.ReferringRadioGroupMap().Count) { foreach (Channel radioChannel in radioChannels) { layer.AddChannelToRadioGroup(radioChannel, allRadioChannelsGroup); } } } Log.Info("Done.");[/code] So either code is failing on clearing groups or it's failing on getting radio channels. Could you describe what are your radio channels, what are tv channels and radio channels groups or maybe make export of tv/radio groups and channels to look at them. Did you delete "All Channels" group or did something similar? Do you have groups with 0 channels or any another unusual situation? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
MediaPortal do not show TV Channels, although Channels found in TV-Server Configuration
Contact us
RSS
Top
Bottom