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
MediaPortal 1 Plugins
Popular Plugins
Fanart Handler
Latest Media Handler - Skin settings - Custom latests items number
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="CyberSimian" data-source="post: 1253892" data-attributes="member: 141969"><p>In thinking about this, it occurred to me that there is another value that might be useful to a skin author. [USER=54906]@catavolt[/USER] 's design for "DefaultWideHD" displays the names of the channels that are currently recording. But that requires space on the panel. If space is unavailable, a shorter representation would be to show the <strong>number of currently-active recordings</strong>. In fact, the skin could position this number within the red dot itself, in place of the "rec" or "R" that some skins use (although it would probably be easier to position this number adjacent to the red dot).</p><p></p><p>Perhaps LMH already provides a "count" variable that supplies this value? But if it does not, could one be added? Something like the following (note that there is no numeric suffix to "active"):</p><p></p><p>#latestMediaHandler.tvrecordings.active.count</p><p></p><p>This variable contains the number of currently-active recordings, which would often be less than the LMH limit on the number of active recordings (e.g. limit=4, active=2). I don't know how LMH queries "TV Server" to get the information about active recordings, but I guess that it might even be possible for the active count to be greater than the LMH limit (but I don't think that that matters):</p><p></p><p>active_count=GetNumberOfActiveRecordings();</p><p>for (index=0; index<min(active_count,limit); index++)</p><p>{ info[index]=GetRecordingInfo[index]; }</p><p></p><p>Finally, it might be appropriate to add equivalent count variables for the other info provided by LMH (videos, music, etc.), but I don't know enough about those areas to make a judgement.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1253892, member: 141969"] In thinking about this, it occurred to me that there is another value that might be useful to a skin author. [USER=54906]@catavolt[/USER] 's design for "DefaultWideHD" displays the names of the channels that are currently recording. But that requires space on the panel. If space is unavailable, a shorter representation would be to show the [b]number of currently-active recordings[/b]. In fact, the skin could position this number within the red dot itself, in place of the "rec" or "R" that some skins use (although it would probably be easier to position this number adjacent to the red dot). Perhaps LMH already provides a "count" variable that supplies this value? But if it does not, could one be added? Something like the following (note that there is no numeric suffix to "active"): #latestMediaHandler.tvrecordings.active.count This variable contains the number of currently-active recordings, which would often be less than the LMH limit on the number of active recordings (e.g. limit=4, active=2). I don't know how LMH queries "TV Server" to get the information about active recordings, but I guess that it might even be possible for the active count to be greater than the LMH limit (but I don't think that that matters): active_count=GetNumberOfActiveRecordings(); for (index=0; index<min(active_count,limit); index++) { info[index]=GetRecordingInfo[index]; } Finally, it might be appropriate to add equivalent count variables for the other info provided by LMH (videos, music, etc.), but I don't know enough about those areas to make a judgement. -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Fanart Handler
Latest Media Handler - Skin settings - Custom latests items number
Contact us
RSS
Top
Bottom