Movie Player modifications
Re: Movie Player modifications #41
Re: Movie Player modifications #42
Re: Movie Player modifications #43
Posted 22 February 2012 - 22:25
I tried everything I could - changing modes, formats etc. in Notepad++, I tried also several other editors, even created new empty files in ubuntu (gedit) and copied the contents there. Nothing helped.
If you could suggest something, I'll be gratefull. Otherwise I'm afraid I won't be able to produce a "clean" patch...
Perhaps I damaged those files by previous change and that's the reason for the problem - I tried to edit other files using Notepad++ and then check git Diff - there wasn't any problem similar to this one...
Re: Movie Player modifications #44
Posted 22 February 2012 - 22:51
I'll take care of it in the future. Tomorrow I'll prepare a new patch but It seems for me that git is not able to correct such a difference by itself, so I think I'll have to ask you to replace the whole MovieList.py file in the repository - I'll prepare it in proper format and attach in the same post tomorrow.
Regards.
Re: Movie Player modifications #45
Posted 23 February 2012 - 09:23
All files are saved in UNIX, UTF-8 wihout BOM format, so I hope there won't be any problem. Please replace the whole MovieList.py file in the repository.
Additionaly there is a file with patch for Skin-PLiHD but I don't have the link for the right repository, so I used https://github.com/n...skin-PLiHD.git.
If you can give me the proper link I'll check and if it is necessary correct the skin patch. The change in skin is required for char hint displaying.
Thanks and regards.
Attached Files
Re: Movie Player modifications #46
Re: Movie Player modifications #47
Posted 23 February 2012 - 09:39
The one from nobody9 seems to be old...
Re: Movie Player modifications #48
Re: Movie Player modifications #49
Posted 25 February 2012 - 16:31
@Pli Team: please find the patch attached. I updated it to include the last changes in MovieSelection.py and skin_default.xml. In my opinion everything is working fine. The only thing I wasn't able to check is extended keyboard ("gotAsciiCode": self.keyAsciiCode) but the solution is copied from ChannelSelection so I don't expect any problems there. Please remember that updating git would require replacing whole MovieList.py file because of UTF-8 BOM format.
Regards.
Attached Files
Re: Movie Player modifications #50
Posted 25 February 2012 - 22:47
note:
- preview play with < > is well, but when is moved selector to some item, then < > play prev/next item of last item and not item under selector.
- if there in list is little file ( f.eg. 9MB - i know, it is nonsence), then < > dont know skip it.
- TV button does not stop preview playback ... under preview playback it is used as: InfobarActions-showTv instead as MoviePlayerActions-leavePlayer
Edited by ims, 25 February 2012 - 23:45.
Re: Movie Player modifications #51
Posted 26 February 2012 - 10:22
see here for reported GS-issue:
http://openpli.org/f...nduser-support/
Due to your commit:
http://openpli.git.s...83f3025c1c3015e
+ self.numericalTextInput = NumericalTextInput.NumericalTextInput(mapping=NumericalTextInput.MAP_SEARCH_UPCASE)
Re: Movie Player modifications #52
Posted 26 February 2012 - 10:41
In my intention < > keys enable playing next / previous item relatively to currently played song / movie (in preview). MiLo added starting preview functionality when there is nothing previewed. Mainly because for some STBs we don't have any other key left to assign to... I know what to expect so I like the feature as it is but you are right - for some users it could be confusing. Two possibilities: 1. I can prepare a patch, where < > will only jump to next / previous item when previewed item is still selected. Audio key could be used for jumping to currently previewed item.- preview play with < > is well, but when is moved selector to some item, then < > play prev/next item of last item and not item under selector.
2. Resigning of use > key as preview command.
Additionaly I consider overriding << >> keys in preview mode - they will do seeking actions as they do already but additionaly the selection will come back to previewed item.
Later I can add an icon similar to currently being recorded item which will indicate played one.
I'm not sure I understand what you mean. Music files are usually smaller so the feature should at least behave defferently for them... I think more desirable feature will be ignoring starting tags in preview mode.- if there in list is little file ( f.eg. 9MB - i know, it is nonsence), then < > dont know skip it.
Strange - for sure there is a bug: TV key is by default assigned to "gohome", but at the same time is defined in keymap.xml as "leaveplayer"...- TV button does not stop preview playback ... under preview playback it is used as: InfobarActions-showTv instead as MoviePlayerActions-leavePlayer
In my opinion the first functionality overrides the other and the simplest way is to clear keymap.xml.
Remember that preview key only stops previewed item if selection is pointing it. Otherwise (by selecting folders) it works similar to OK button - I think, I'll change it - preview button will only start / stop preview - If a folder is selected and any item is previewed it will stop it instead of browsing the folder.
MiLo and other users: if you have any suggestions I'll appreciate it.
Regards.
Re: Movie Player modifications #53
Posted 26 February 2012 - 13:25
see here for reported GS-issue:
http://openpli.org/f...nduser-support/
Due to your commit:
http://openpli.git.s...83f3025c1c3015e
+ self.numericalTextInput = NumericalTextInput.NumericalTextInput(mapping=NumericalTextInput.MAP_SEARCH_UPCASE)
No idea what's wrong - works just fine here after a clean rebuild & install. Maybe some plugin that hacks the NumericalTextInput script?
Re: Movie Player modifications #54
Posted 26 February 2012 - 13:27
Remember that preview key only stops previewed item if selection is pointing it. Otherwise (by selecting folders) it works similar to OK button - I think, I'll change it - preview button will only start / stop preview - If a folder is selected and any item is previewed it will stop it instead of browsing the folder.
MiLo and other users: if you have any suggestions I'll appreciate it.
Using "Preview" on a folder currently lets you go into a folder that would otherwise be played, like the VIDEO_TS folder of a DVD. That's why it behaves like "OK" on a folder instead of stopping playback.
Re: Movie Player modifications #55
Posted 26 February 2012 - 13:42
... and before preview playback with getCurrent() to know, which next/prev item from list will be play in preview ?- preview play with < > is well, but when is moved selector to some item, then < > play prev/next item of last item and not item under selector.
it is rest of some video file. It plays cca 2sec. But preview playback dont know play it or with next ">" skip it- if there in list is little file ( f.eg. 9MB - i know, it is nonsence), then < > dont know skip it.
from Helpmenu it is possible stop, but from RC is used showTv- TV button does not stop preview playback ... under preview playback it is used as: InfobarActions-showTv instead as MoviePlayerActions-leavePlayer
Re: Movie Player modifications #56
Posted 26 February 2012 - 14:41
It is as follows (MovieSelection.py):
@@ -436,7 +436,12 @@ class MovieSelection(Screen, HelpableScreen, SelectionEventInfo, InfoBarBase): self.delayTimer.callback.append(self.updateHDDData) self.feedbackTimer = None - self.numericalTextInput = NumericalTextInput.NumericalTextInput(mapping=NumericalTextInput.MAP_SEARCH_UPCASE) + try: + self.numericalTextInput = NumericalTextInput.NumericalTextInput(mapping=NumericalTextInput.MAP_SEARCH_UPCASE) + except: #temporary solution for problems with NumericalTextInput + self.numericalTextInput = NumericalTextInput() + self.numericalTextInput.setUseableChars(u'1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ') + self["chosenletter"] = Label("") self["chosenletter"].visible = FalseIf you want a patch for it, please let me know.
Regards.
Re: Movie Player modifications #57
Posted 26 February 2012 - 15:03
We've always been strongly opposed to skins and plugins which patch/replace system files, and todays problems are a perfect illustration of what we've been warning people against.
I'd say get rid of the problem itself, no need to work around it.
We don't need that ugly 3rd-party stuff in our feed.
Edited by pieterg, 26 February 2012 - 15:04.
Re: Movie Player modifications #58
Posted 26 February 2012 - 16:36
Thanks a lot for information and help in solving this problem, especially to MiLo and daddelfalk.
Is there any way to be quickly informed in such cases (SMS etc.)?
@ims I'll analyse those issues.
Regards.
Re: Movie Player modifications #59
Re: Movie Player modifications #60
Posted 26 February 2012 - 19:35
InfobarActions
playbackActions
When I tried it with DMkeyboard, only with STOP button it works. With RC it works only, if I set prio=-1 for InfobarActions, ( then does not work "showTv")
7 user(s) are reading this topic
0 members, 7 guests, 0 anonymous users