2010-07-07, 17:41
I would like to suggest what I think would be an improvement to timecode search in videos (where you enter a time, and xbmc seeks to that position in the video). I have almost all of this working in 9.11, so if this suggestion is met with approval, I'll port it to current SVN and submit a ticket and patch in trac.
What do you think?
- It should be possible to enter seconds as well as hours and minutes. Users who only want hours and minutes should be able to turn seconds off through advancedsettings.xml.
- When a time is displayed, the skip commands (skip forward/back by a fixed amount) should skip by the amount entered instead of the fixed amounts. So to skip forward by 43 seconds, enter 00:00:43, then use any skip-forward command. Let's call this feature 'variable-length skipping'. There is a ticket and patch in trac for this already, but I think my implementation is better.
- When entering the time, numbers should shift in from right to left. This reduces the number of keystrokes/button presses required in many cases, and with the current behavior is necessary to support variable-length skipping of small amounts (xbmc would seek to the time entered as soon as you entered the seconds value -- see next bullet).
- Seeking to a specific time is triggered when the user has entered a complete time (currently four digits). I propose to keep this as default but allow the user to disable it through advancedsettings.xml.
- There should be a key/button to immediately seek to the time entered so far. That way, if you want to seek to e.g. 1:30, you enter '130', then one more key, not '000130'.
- While entering the time, the template displayed should be '--:--:--' instead of 'hh:mms' (currently it is 'hh:mm'). I have found that the current template works well when the numbers are typed left-to-right, but when shifting from the right, it's less successful (probably because in that case, the time is always a valid time, but with the letters in there, it looks like it isn't).
What do you think?