MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Get Support


Get Support Problems with the TV-Server or Client? Post them in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-06-12, 14:46   #11 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,220
Thanks: 22
Thanked 173 Times in 91 Posts

Country:

My System

Default

I have checked it and the problem is that e.g. in your ts dump there are only 3 NIT sections (they contain the LCN) in the whole approx. 100 MB file.
That means it takes it's for the first NIT section to arrive.
The NIT grabber currently has a timeout of 5 seconds which in your case was not enough.
No NIT section has been received during this period.
I could make the timeout bigger but that would mean that scanning takes longer for all.
Since the LCN is only additional info i would suggest leaving things as they are.
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Old 2008-06-12, 21:05   #12 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,636
Thanks: 69
Thanked 66 Times in 55 Posts


Default

Quote:
Originally Posted by gemx View Post
I have checked it and the problem is that e.g. in your ts dump there are only 3 NIT sections (they contain the LCN) in the whole approx. 100 MB file.
That means it takes it's for the first NIT section to arrive.
The NIT grabber currently has a timeout of 5 seconds which in your case was not enough.
No NIT section has been received during this period.
I could make the timeout bigger but that would mean that scanning takes longer for all.
Since the LCN is only additional info i would suggest leaving things as they are.
I would propose that we add user configurable NIT timeout for 1.0.1 as some 3rd party clients might be interested in the information (sort channels etc.).
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is online now   Reply With Quote
Old 2008-06-14, 01:32   #13 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 102
Thanks: 2
Thanked 1 Time in 1 Post


Default

Thank you very much for looking gemx,

Ok, so I would need a timeout of 20 secs I guess. Other people in my country have this issue with this same mux with MP tve3. Could this be treated like a bug though: add a user option in.. or hook into an existing timeout and append "/NIT" to the textbox label. Also, channel scanning is seldom done, it's not like we're talking about zapping times here.

Good thing tho, it seems if i do 2 or 3 re-scans over the top of existing channels, it updates the LCN properly, and doesn't seem to overwrite the correct LCN with 10000 when it's timed out that time. Can anyone confirm this ?
binary64 is offline   Reply With Quote
Old 2008-07-07, 03:09   #14 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 102
Thanks: 2
Thanked 1 Time in 1 Post


Default

Just re-read what gemx said: "Since the LCN is only additional info i would suggest leaving things as they are."

Most countries don't care about LCN(?), but here in the UK we live by it. So it's not just some wierd meta information we wont care about.

Perhaps if it was made to be 10 secs, then it would be more specs-compliant.. and squash another bug.

Last edited by binary64; 2008-07-07 at 03:15.
binary64 is offline   Reply With Quote
Old 2008-07-19, 02:38   #15 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 102
Thanks: 2
Thanked 1 Time in 1 Post


Default

This "bug" still exists in RC2:

I thought some more about it, and gemx said it would affect all users. Well if it's a timeout, and most users TV broadcasters send frequent NIT's, then they shouldn't be affected by increasing the timeout. Ie, most people should wait below the NIT timeout value, depending on when they tuned in it might take 0ms-10secs). The only people who would be "forced" to wait longer for a channels-scan (which is rarely done, and manually done anyway - it's not like this is a WAF task) are the people who would have been given a channel lineup with missing LCN's anyway, so what does it matter.

Hope I make a bit of sense here.
binary64 is offline   Reply With Quote
Old 2008-07-19, 14:38   #16 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 2,636
Thanks: 69
Thanked 66 Times in 55 Posts


Default

Quote:
Originally Posted by binary64 View Post
This "bug" still exists in RC2:

I thought some more about it, and gemx said it would affect all users. Well if it's a timeout, and most users TV broadcasters send frequent NIT's, then they shouldn't be affected by increasing the timeout. Ie, most people should wait below the NIT timeout value, depending on when they tuned in it might take 0ms-10secs). The only people who would be "forced" to wait longer for a channels-scan (which is rarely done, and manually done anyway - it's not like this is a WAF task) are the people who would have been given a channel lineup with missing LCN's anyway, so what does it matter.

Hope I make a bit of sense here.
If you look at the Mantis you'll see that the timeout issue has target after the 1.0 release. Thats why its still open at RC2.

0001367: Wrong LCN value in channel scan - MediaPortal Bugtracker

What comes to the scanning. Currently it can take up to 30 minutes... now we dont really want to add 15 minutes extra
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is online now   Reply With Quote
Old 2008-07-22, 09:21   #17 (permalink)
Portal Member
 
Join Date: Feb 2007
Location: London
Age: 25
Posts: 354
Thanks: 9
Thanked 11 Times in 9 Posts

Country:

My System

Send a message via MSN to revs
Default

How about when a UK Transmitter is selected for scanning the scanning is changed. That way its not slow for everyone else?

Just pop up a message saying it may take a while to scan! How often do people scan anyway? I just do it once when I setup the TV Server.
revs is online now   Reply With Quote
Old 2008-08-16, 13:49   #18 (permalink)
Portal Member
 
markius's Avatar
 
Join Date: Dec 2006
Location: Maidstone, UK
Age: 31
Posts: 48
Thanks: 1
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by gemx View Post
I could make the timeout bigger but that would mean that scanning takes longer for all.
Since the LCN is only additional info i would suggest leaving things as they are.
<EDIT> D'uh... just realised this is the same as what binary64 wrote
I blame too many late nights watching Olympics!
</EDIT>

Would it be possible to change the logic slightly?

My understanding is that the channel scan will wait for 5 seconds for NIT sections to arrive before moving on to the next MUX and if we up the timeout to 20 seconds then channel scanning will be slower. (My understanding could of course be way off)

Could we have logic that waits for *up to* 20 seconds for the NIT section, but will move on to the next MUX as soon as the NIT section is seen? This may even result in faster channel scans on MUXs where NIT sections are transmitted more frequently.

Just a thought and as I say my assumptions could be way off

Cheers for the hard work guys... loving your work!

Mark

Last edited by markius; 2008-08-16 at 13:52. Reason: blindness
markius is offline   Reply With Quote
This User Say Thank You:
Reply

Bookmarks

Tags
lcn, mux

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot switch channels using EPG LCN number Salem 1.0 RC1 and SVN Builds 2 2008-04-24 09:02
Sharing The Mux! leckytech Hardware Selection Help 2 2007-08-02 09:14
What is being recorded by TVServer (MUX or channel)? cul8er General Talk 1 2007-02-27 10:37
Ease accessing multiple channels on the same mux risu Improvement Suggestions 4 2007-02-02 19:21
EPIA VIA M-10000 Video Playback Problems TylerDurden Codecs, External Players 1 2006-07-23 17:50


All times are GMT +1. The time now is 09:57.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress