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
Development
General Development (no feature request here!)
[DVB EPG] Added template based naming of epg title and description
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="dalmer" data-source="post: 208011" data-attributes="member: 57967"><p>Hi Gemx. There is problem with star rating entirely. Fo NA providers, I've looked at the epg in MT and Mediaportal, and they don't even correspond to each other. I can't even find any correlation between them. I think the epgparser must be decoding that value incorrectly. Maybe it is in NA only? You'll notice the other poster is from Canada as well, so I think that is why everything looks OK to you but we see "<undefined>" all over the guide (as well as wrong ratings). I think MT is right because it gave "The Dukes of Hazzard" 2 stars and MP gave it 3...</p><p></p><p> At any rate, I've looked at the C++ portion of the code, but without any knowlege of how the epg in encoded, I can't be of much help.</p><p></p><p>Also, I would be really nice to change the "<undefined>" to string.Empty so it isn't cluttering up the guide... <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p><Edit></p><p>I did some more digging and I think the problem may be in DecodeCombinedStarRating_MPAARatingDescriptor in epgDecoder.cpp I think the star rating code is wrong. In the comments it shows the data is based on a post in the dvbn boards. I found a later post that says the data is in bits 13-15 not 1-3:</p><p></p><p><a href="http://dvbn.happysat.org/viewtopic.p...ating&start=45" target="_blank">http://dvbn.happysat.org/viewtopic.p...ating&start=45</a></p><p></p><p>The relavent post is:</p><p><em>Here is what I have found in the 0x89 descriptor (view it as a 16 bit word, big endian): </em></p><p><em></em></p><p><em>bits 13-15 of descriptor 0x89 data: star rating </em></p><p><em>000 = not rated </em></p><p><em>001 = 1 star </em></p><p><em>010 = 1.5 stars </em></p><p><em>... </em></p><p><em>111 = 4 stars </em></p><p><em></em></p><p><em>bits 10-12: MPAA rating </em></p><p><em>000 = NR/AO (pr0n) </em></p><p><em>001 = G ? </em></p><p><em>010 = PG </em></p><p><em>011 = PG-13 </em></p><p><em>100 = R </em></p><p><em>101 = NC-17 ? </em></p><p><em>110 = unrated / not a movie </em></p><p><em>111 = ??? </em></p><p><em></em></p><p><em>bit 9 = violent </em></p><p><em>bit 8 || bit 0 = sexual content? my 301.013 sees SC on every single movie, I think dish is screwing this up </em></p><p><em>bit 6 = nudity </em></p><p><em>bit 5 = unknown but sometimes set </em></p><p><em>bit 1 = language </em></p><p><em></em></p><p><em>I found a C program called tv_grab_dvb which, with some tweaking, parses the dish network epg/eepg into an xmltv file. It's still not all that great but I haven't found any other open source programs which do this.</em></p><p></p><p>This could be helpful as well:</p><p><a href="http://board.mytheatre.ru/viewtopic.php?t=1265&highlight=star+rating" target="_blank">http://board.mytheatre.ru/viewtopic.php?t=1265&highlight=star+rating</a></p><p></p><p>Could that be the problem for NA users? I haven't really had time to go over the code enough to see which bits it is actually using...</p></blockquote><p></p>
[QUOTE="dalmer, post: 208011, member: 57967"] Hi Gemx. There is problem with star rating entirely. Fo NA providers, I've looked at the epg in MT and Mediaportal, and they don't even correspond to each other. I can't even find any correlation between them. I think the epgparser must be decoding that value incorrectly. Maybe it is in NA only? You'll notice the other poster is from Canada as well, so I think that is why everything looks OK to you but we see "<undefined>" all over the guide (as well as wrong ratings). I think MT is right because it gave "The Dukes of Hazzard" 2 stars and MP gave it 3... At any rate, I've looked at the C++ portion of the code, but without any knowlege of how the epg in encoded, I can't be of much help. Also, I would be really nice to change the "<undefined>" to string.Empty so it isn't cluttering up the guide... :) <Edit> I did some more digging and I think the problem may be in DecodeCombinedStarRating_MPAARatingDescriptor in epgDecoder.cpp I think the star rating code is wrong. In the comments it shows the data is based on a post in the dvbn boards. I found a later post that says the data is in bits 13-15 not 1-3: [url]http://dvbn.happysat.org/viewtopic.p...ating&start=45[/url] The relavent post is: [I]Here is what I have found in the 0x89 descriptor (view it as a 16 bit word, big endian): bits 13-15 of descriptor 0x89 data: star rating 000 = not rated 001 = 1 star 010 = 1.5 stars ... 111 = 4 stars bits 10-12: MPAA rating 000 = NR/AO (pr0n) 001 = G ? 010 = PG 011 = PG-13 100 = R 101 = NC-17 ? 110 = unrated / not a movie 111 = ??? bit 9 = violent bit 8 || bit 0 = sexual content? my 301.013 sees SC on every single movie, I think dish is screwing this up bit 6 = nudity bit 5 = unknown but sometimes set bit 1 = language I found a C program called tv_grab_dvb which, with some tweaking, parses the dish network epg/eepg into an xmltv file. It's still not all that great but I haven't found any other open source programs which do this.[/I] This could be helpful as well: [url]http://board.mytheatre.ru/viewtopic.php?t=1265&highlight=star+rating[/url] Could that be the problem for NA users? I haven't really had time to go over the code enough to see which bits it is actually using... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[DVB EPG] Added template based naming of epg title and description
Contact us
RSS
Top
Bottom