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: 208312" data-attributes="member: 57967"><p>The removal of undefined works great.</p><p></p><p>The star rating does not. I checked the DB and it's all 0.</p><p></p><p>Now, keep in mind that my C++ is about as rusty as the Titanic (I mostly use C# nowadays). So don't laugh if I'm way off base. I took a quick peek at the code and you've got this:</p><p></p><p>int starRating=(int)data[3]&0xE0; // bits 13-15</p><p></p><p>Don't you have to shift the bits before casting to an int? I'm gussing that it is creating a number thatis much larger than 7 so it always gets set to 0 a few lines down? </p><p></p><p>Don't laugh if I'm out to lunch, I told you my c++ was rusty. <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 finally got some time to comple and test some stuff on my own. (I was completly rebuilding my computer etc). At any rate, I believe I've got this working. I have to test against the Guide in MT, but so far the numbers look correct. I also believe I've discovered a bug in classification as it never writes anything to the DB. </p><p></p><p>More Later... I might not be able to get back to this for a couple of days. I have a new computer comming, I'll be switching it with my current one. I'll be switching the current one with my HTPC and installing an ATI HD 2400... Lots on the go. After that, I can hopefully look at helping out geting the NA EPG tuned as long as you can help me with my rusty c++. <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>EDIT2:</p><p>I fixed it and uploaded the epgDecoder.cpp to the patch queue. It turns out that both links (in the comments) were correct if depending on how you interpreted them. I've found another problem though, it seems that classification never gets written to the db for some reason. If I find out more details, I'll let you know...</p></blockquote><p></p>
[QUOTE="dalmer, post: 208312, member: 57967"] The removal of undefined works great. The star rating does not. I checked the DB and it's all 0. Now, keep in mind that my C++ is about as rusty as the Titanic (I mostly use C# nowadays). So don't laugh if I'm way off base. I took a quick peek at the code and you've got this: int starRating=(int)data[3]&0xE0; // bits 13-15 Don't you have to shift the bits before casting to an int? I'm gussing that it is creating a number thatis much larger than 7 so it always gets set to 0 a few lines down? Don't laugh if I'm out to lunch, I told you my c++ was rusty. :) EDIT: I finally got some time to comple and test some stuff on my own. (I was completly rebuilding my computer etc). At any rate, I believe I've got this working. I have to test against the Guide in MT, but so far the numbers look correct. I also believe I've discovered a bug in classification as it never writes anything to the DB. More Later... I might not be able to get back to this for a couple of days. I have a new computer comming, I'll be switching it with my current one. I'll be switching the current one with my HTPC and installing an ATI HD 2400... Lots on the go. After that, I can hopefully look at helping out geting the NA EPG tuned as long as you can help me with my rusty c++. :) EDIT2: I fixed it and uploaded the epgDecoder.cpp to the patch queue. It turns out that both links (in the comments) were correct if depending on how you interpreted them. I've found another problem though, it seems that classification never gets written to the db for some reason. If I find out more details, I'll let you know... [/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