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
Improvement Suggestions
Use data-provided value for #TV.Guide.thumb texture?
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="Blue Lightning" data-source="post: 1196082" data-attributes="member: 115994"><p>This is what I've been able to do so far: <a href="http://pastebin.com/BCeKV0zv" target="_blank">http://pastebin.com/BCeKV0zv</a> (ignore the commented out bit, I needed that early on to avoid crashing)</p><p>The database needs <em>ALTER TABLE program ADD COLUMN icon VARCHAR(200) NOT NULL DEFAULT ""; ALTER TABLE recording ADD COLUMN icon VARCHAR(200) NOT NULL DEFAULT "";</em></p><p></p><p>The change makes the xmltv data importer take an <icon src=""> from the data and store that in the database, and show the URL in the TV guide if there is one. I tried to add it to search but that is incomplete (and it should be on Recorded TV too). It also doesn't cache the image outside the MP session but I think that's beyond what I'm going to be able to do with this.</p><p>In the guide the icon is available directly via TV.Guide.Icon or if you use TV.Guide.thumb (any existing skin) it'll use the Icon if there is one (otherwise uses the channel logo or default image as normal)</p><p></p><p>Can anyone take this and improve/extend it?</p></blockquote><p></p>
[QUOTE="Blue Lightning, post: 1196082, member: 115994"] This is what I've been able to do so far: [URL]http://pastebin.com/BCeKV0zv[/URL] (ignore the commented out bit, I needed that early on to avoid crashing) The database needs [I]ALTER TABLE program ADD COLUMN icon VARCHAR(200) NOT NULL DEFAULT ""; ALTER TABLE recording ADD COLUMN icon VARCHAR(200) NOT NULL DEFAULT "";[/I] The change makes the xmltv data importer take an <icon src=""> from the data and store that in the database, and show the URL in the TV guide if there is one. I tried to add it to search but that is incomplete (and it should be on Recorded TV too). It also doesn't cache the image outside the MP session but I think that's beyond what I'm going to be able to do with this. In the guide the icon is available directly via TV.Guide.Icon or if you use TV.Guide.thumb (any existing skin) it'll use the Icon if there is one (otherwise uses the channel logo or default image as normal) Can anyone take this and improve/extend it? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Use data-provided value for #TV.Guide.thumb texture?
Contact us
RSS
Top
Bottom