MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2007-04-06, 13:55   #21 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,264
Thanks: 24
Thanked 188 Times in 99 Posts

Country:

My System

Default

Was able to find out a bit more:
- The "payloadUnitStart" bit in the section header should be "1" when a new section begins in the ts packet
- It should be "0" if a section continues in this ts packet
- The packet is only parsed if "payloadUnitStart=1".
It seems as if normal epg infos don't spread over several packets so nobody encountered that problem BUT DISH eepg uses this so we miss a show whenever a section spreads over more than 1 ts packet
Problem is: don't know how to solve this at the moment
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is offline   Reply With Quote
Old 2007-04-06, 14:24   #22 (permalink)
Portal Member
 
CommGuru's Avatar
 
Join Date: Oct 2006
Age: 31
Posts: 50
Thanks: 1
Thanked 0 Times in 0 Posts


Default

Nice! Glad to see the issue identified. You are (still) the man, gemx.
CommGuru is offline   Reply With Quote
Old 2007-04-06, 14:53   #23 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,264
Thanks: 24
Thanked 188 Times in 99 Posts

Country:

My System

Default

Ok. Got a bit further.
I was wrong before.
A ts packet always contains 188 bytes.
4 bytes header and 184 bytes payload.
The payload as far as pes packets are concerned can be 1 of the following:
1. One PES packet per TS packet. If the pes packet does not fit in the 184 bytes payload it continues in the next TS packet
2. One PES packet starting AND one PES packet continues in ONE ts packet
At the moment only option 1 is parsed.
But DISH seems to use option 2 so there are our skipped shows
So we have to implement option 2 too to get the missing shows as at the moment, these PES packets are dropped.
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is offline   Reply With Quote
Old 2007-04-06, 18:25   #24 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Nice work gemx. I'm confused though how this could have caused random shows missing. Unless they really weren't random, but just looked that way because of grabbing the (E)EPG at a later time?
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-04-09, 18:56   #25 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

I just had a look through the Myth source and it looks like it handles the "payloadUnitStart" the same way we are. Does anyone know for sure if Myth has this problem with NA EPG missing shows as we are seeing?
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-04-10, 01:36   #26 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: North America
Posts: 265
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

I just heard from a very reliable source that Myth (with the EIT Transponder Scanner patch) does not miss channels. At least we have a working model to look at.
__________________
-CodeMonkey

P4 2.8gHz, 512MB memory, nVidia FX5200, 40GB HD, 200GB HD
OS: Windows XP Home SP2
TVcard(s): Hauppauge PVR500MCE, Hauppauge PVR 250MCE(Installed in development machine)
Remote: MCE 2005 (US Model)
________________
CodeMonkey is offline   Reply With Quote
Old 2007-04-10, 02:15   #27 (permalink)
Portal Member
 
Join Date: May 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Good work Gemx and Asidie, i just give it a try and it grab almost all the Epg from Bev91, by the way for the one viewing this bird the best channel for Epg grabbing is A&E615. I will take a look in the SVN Build section to see when you have new version to try and give you feedback. The only thing that bother me is the channel numbering but i am working on that, i am using MySQL and start looking in a Sql command that will change the sorting order to match the sid number of the channel.

See Ya
Nox71 is offline   Reply With Quote
Old 2007-04-10, 02:56   #28 (permalink)
Portal Tester
 
ASiDiE's Avatar
 
Join Date: Jan 2005
Location: USA
Age: 32
Posts: 890
Thanks: 6
Thanked 4 Times in 4 Posts

My System

Default

This small app should have been released before.. but here it is. I think this will do what you want NOX71. This program will rename the channels based off of the SID of the channel... so Home becomes 100 Home. It can also just sort the channels by SID and not rename them.

ALL credit goes to GEMX on this one... Thanks again!
Attached Files
File Type: zip TvServerChannelReorder.zip (459.2 KB, 132 views)
__________________
I SEE WHAT YOU DID THERE!
ASiDiE is offline   Reply With Quote
Old 2007-04-11, 01:43   #29 (permalink)
Portal Member
 
Join Date: May 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks for the app Asidie but that don't work for me, i tried two times but no change to my channel sortorder. I first stop the TVService, after that start the app and enter credential to connect to SQL and choose, click on Reorder by SID, choose all channels and click ok. After that when i get back into TVServer my order have not chnged.

Edit: I was wrong my sortorder is ok but when entering channel number it don't work, it start at channel 1 and so on.

Last edited by Nox71; 2007-04-11 at 02:30.
Nox71 is offline   Reply With Quote
Old 2007-04-11, 14:42   #30 (permalink)
Portal Tester
 
ASiDiE's Avatar
 
Join Date: Jan 2005
Location: USA
Age: 32
Posts: 890
Thanks: 6
Thanked 4 Times in 4 Posts

My System

Default

Nox71... you are correct, it's just going to rename and put in order or just put your channels in order (by SID). This app does not fix the issue where you would like to hit the number of the channel and go to it. Don't know if anyone is working on that, but I am sure in the future, it will be fixed.
__________________
I SEE WHAT YOU DID THERE!
ASiDiE is offline   Reply With Quote
Reply

Bookmarks

Tags
dish or bev, epg, grabber, released

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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Skin release] SimpleMP Beta 4 (MP 0.2.3.0) mikael Simple MP 241 2008-09-04 19:39
(original thread) US/Canadian/Mexico EPG Zap2it Plugin Released bradsjm zap2it (discontinued) 513 2007-02-21 14:07
how to get released source from SVN? garry General Development (no feature request here!) 2 2006-11-16 06:48
DVB-EPG Grabber chris-at WebEPG 1 2006-08-25 06:33


All times are GMT +1. The time now is 05:56.


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