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
Submit: code patches (MediaPortal/TV-Server/etc.)
XMLTV import Icon, save to DB, expose to skins
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: 1227363" data-attributes="member: 115994"><p>Patch for MP1 attached</p><p></p><p><strong>Changes:</strong></p><p>* The database can store an Icon value</p><p>* xmltvimport will save an icon src when importing data (if available)</p><p>* Skins can access the icon</p><p></p><p><strong>Documentation:</strong></p><p>In xmltv data, programmes can optionally include an icon element with a src attribute. Example: <span style="font-family: 'Courier New'"><icon src="<a href="http://team-mediaportal.com/example.jpg" target="_blank">404 - MEDIAPORTAL</a>"></span> This is part of the xmltv standard.</p><p>Skins can access the attribute in the TV guide as #TV.Guide.Icon, the list of scheduled recording as #TV.Scheduled.Icon, and the TV search as #TV.Search.Icon</p><p></p><p><strong>Notes:</strong></p><p>This version of the patch is untested (I've had so much trouble compiling the TV server without any modification) but I've been running these changes all year and it works well.</p><p><a href="https://forum.team-mediaportal.com/threads/allow-web-image-caching-between-sessions-plus-general-web-image-improvements-mp-client.137103/" target="_blank">This other patch</a> is useful because it'll save the images temporarily instead of redownloading every session. But it is not required. The two patches can function on their own.</p><p>The benefit of this patch is that skins will be able to access a programme's icon (logo/thumbnail/image) from the data provider (if supplied) and display it in the guide, search results, schedule. The current image displayed is usually the channel logo via .Thumb, and this has not changed.</p></blockquote><p></p>
[QUOTE="Blue Lightning, post: 1227363, member: 115994"] Patch for MP1 attached [B]Changes:[/B] * The database can store an Icon value * xmltvimport will save an icon src when importing data (if available) * Skins can access the icon [B]Documentation:[/B] In xmltv data, programmes can optionally include an icon element with a src attribute. Example: [FONT=Courier New]<icon src="[URL="http://team-mediaportal.com/example.jpg"]404 - MEDIAPORTAL[/URL]">[/FONT] This is part of the xmltv standard. Skins can access the attribute in the TV guide as #TV.Guide.Icon, the list of scheduled recording as #TV.Scheduled.Icon, and the TV search as #TV.Search.Icon [B]Notes:[/B] This version of the patch is untested (I've had so much trouble compiling the TV server without any modification) but I've been running these changes all year and it works well. [URL='https://forum.team-mediaportal.com/threads/allow-web-image-caching-between-sessions-plus-general-web-image-improvements-mp-client.137103/']This other patch[/URL] is useful because it'll save the images temporarily instead of redownloading every session. But it is not required. The two patches can function on their own. The benefit of this patch is that skins will be able to access a programme's icon (logo/thumbnail/image) from the data provider (if supplied) and display it in the guide, search results, schedule. The current image displayed is usually the channel logo via .Thumb, and this has not changed. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
XMLTV import Icon, save to DB, expose to skins
Contact us
RSS
Top
Bottom