New Function: Player.CurrentPosition_in_%()
#1
Dear Board.
I asked from you to implement Player.FinishTime(), and you did. I have utilized that in Skin for quite some time now (in VideoFullScreen.xml).

Can there be also function to return current playing time in %.
We have System.Time() and we have Player.FinishTime()?
Reply
#2
Dear Board.

Can there be <PageSkip Forward> maped to FastForwad' button
and <PageSkip Backward> maped to 'Rewind' buttons on IR remote?

All the System etc dialogs that have long file/items listings should have pageSkip, so that the hopping on the list could be a lot of faster.

Example, PlugIN SurfTheChannel under 'TV shows' has over 670 items on the list. Scrolling to the middle of if take DownArrow_press' a bit of time. Page skip could hop one page (some 30 items visible on one "page") with one keyPress.
Reply
#3
player.progress

will conflict with player controls
Reply
#4
PageSkip can be maped when player is off and common dialog is on. during media play, regular FF,Rew are mapd. function modes.
Reply
#5
there's no such thing as conditional key mappings.

and in any case i would strongly oppose such a change - there's nothing quite as bad as a user interface where one button can do several things in one place
Reply
#6
well, at the moment those keys are not doing anything when any media player isn't runnig.

Sure there can be check wheater there is a item dialog created or not and then deliever the KeyEvent?

donno.
Reply
#7
spiff Wrote:player.progress

What does Player.Progress return?
Player.FinishTime returns text.
Reply
#8
sure it can be. but i just told you why i think it's a bad idea.

hmm, player.progress is an int, dunno if those can be used in info strings
Reply
#9
spiff Wrote:hmm, player.progress is an int, dunno if those can be used in info strings


..and thats why I asked for the new function to return "40%" meaning a textual (string) output, same fashion as that Player.FinishTime.

Smile
Reply
#10
realjobe Wrote:..and thats why I asked for the new function to return "40%" meaning a textual (string) output, same fashion as that Player.FinishTime.

Smile
Player.Progress = <control type="progress" id="1">
Player.FinishTime = control type="label" id="1">


Smile
Reply
#11
player.progress returns a label in % if you use it in a label at least pretty sure it does
Reply
#12
<control type="label" id="1">
<description>The Current progress</description>
<width>100</width>
<posx>680</posx>
<posy>30</posy>
<info>Player.Progress</info>
<align>right</align>
<textcolor>green</textcolor>
<font>special13</font>
</control>

did not work. VideoFullScreen.xml file.
Reply

Logout Mark Read Team Forum Stats Members Help
New Function: Player.CurrentPosition_in_%()0