Change visualisation/skin for seek actions?
Re: Change visualisation/skin for seek actions? #21
Re: Change visualisation/skin for seek actions? #22
Posted 4 May 2021 - 18:55
I’m sure this might break plugins when the instantiate pvrstate screen class will be removed (as it should actually with your code)
Adding it to the existing class will also result in the plugins having the graphs...
Edited by littlesat, 4 May 2021 - 18:58.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Change visualisation/skin for seek actions? #23
Re: Change visualisation/skin for seek actions? #24
Posted 4 May 2021 - 21:33
Edited by littlesat, 4 May 2021 - 21:36.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Change visualisation/skin for seek actions? #25
Posted 4 May 2021 - 21:42
That part is not complete.... but the pvrstate.py gives a kind of logic and I suppose there is more code elsewhere... but code is last changed in 2013... by someone from openvix.
I have changed completely the way status icons are loaded. Look the pull request. I tried to keep the old PvrState screen as optional so to be possible to use old behavior in plugins.
I hope it will works. Check it out please
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
Re: Change visualisation/skin for seek actions? #26
Re: Change visualisation/skin for seek actions? #27
Posted 4 May 2021 - 22:16
Well when we use icons in movie infobar we dont need pvrstate screen. It can be added back if show_external_dialog is set to true. I can make that to be true by default. But in my opinion in movieplayer screen pvrstate is no longer needed. Am i wrong?
Otherwise InfoBarPVRState is inited on line 192
Edited by DimitarCC, 4 May 2021 - 22:17.
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
Re: Change visualisation/skin for seek actions? #28
Posted 5 May 2021 - 04:57
My two cents a choice need to be made...
1. Remove the pvrstate screen, and then also remove the py file, with risk breaking 3rd parry closed source plugins... (where the sources are available from can be solved). And accept the code in InfkBarGenerics
2. Adapt the pvrstate.py code.
My guts are for option 1.... which also means remove that pvrsfate.py and take the risk for that closed source stuff... (someone can still add the py manually when they like and in a 3rd party package the py can be added)
Edited by littlesat, 5 May 2021 - 04:59.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Change visualisation/skin for seek actions? #29
Posted 5 May 2021 - 06:49
I understand your point. I am also for choice 1. It is better to get rid of that screen in my opinion. And if someone needed it to be provided by third party package.
I can remove the screen or change the current code a bit more to instantiate the dialog by default and just not show it for movieplayer screen.
However you guys have to make that choice in which way to go. Still i think removing pvstate screen completely is better choice
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
Re: Change visualisation/skin for seek actions? #30
Posted 5 May 2021 - 07:36
Edited by littlesat, 5 May 2021 - 07:37.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Change visualisation/skin for seek actions? #31
Re: Change visualisation/skin for seek actions? #32
Posted 5 May 2021 - 08:01
GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K
Re: Change visualisation/skin for seek actions? #33
Posted 5 May 2021 - 10:33
When you are willing to offer a new merge request where the old code is removed.... thousand thanks! Note that it also simplifies the code and add more features... maybe also consider to add the graphs to our standard skin
The changes are done. PVRState.py is completely gone. All refs and calls are removed.
Now i am going to modify the skins in the repo pointed by @Dimitrij
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
Re: Change visualisation/skin for seek actions? #34
Posted 5 May 2021 - 10:52
@littlesat I created a pull request for skin modifications here https://github.com/l...-PLiHD/pull/881.
However i just added the graphic files (SVG) in correct folders but the MoviePlayer infobar skin have to be modified to put the correct widgets at correct places.
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
Re: Change visualisation/skin for seek actions? #35
Re: Change visualisation/skin for seek actions? #36
Posted 5 May 2021 - 18:25
If you are talking about the skins you can safely merge. Generally it will not cause any issues. But to be able to test in MoviePlayer skin definition should be added the new custom widgets. Otherwise there will be no pvr states shown.
The widgets are:
<widget name="stateicon" position="160,915" size="90,90" alphatest="blend" zPosition="10"/> <widget name="statespeedtext" foregroundColor="white" halign="left" position="260,960" size="90,45" font="Bold; 40" transparent="1"/> <widget name="statetext" foregroundColor="white" halign="left" position="260,960" size="90,45" font="Bold; 40" transparent="1"/>
And ofcource you have to get InfoBar.py and InfoBarGenerics.py from my other pull request.
Edited by DimitarCC, 5 May 2021 - 18:28.
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
Re: Change visualisation/skin for seek actions? #37
Posted 5 May 2021 - 18:26
Edited by Taapat, 5 May 2021 - 18:27.
Re: Change visualisation/skin for seek actions? #38
Posted 5 May 2021 - 18:53
If skins are not changed it will work with no problem Just will not display any pvr states icons nor text.
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
Re: Change visualisation/skin for seek actions? #39
Posted 5 May 2021 - 19:12
Edited by Taapat, 5 May 2021 - 19:13.
Re: Change visualisation/skin for seek actions? #40
Posted 5 May 2021 - 19:25
1. Put the images in data/skin_default is good idea but then it should be made possibility that images to be overrided from the skin. Otherwise there is no point to do it since standard images may not fit to the current skin
2. The idea of not have hardcoded images in python is good however achieving what you need might be tricky with only widgets.
I am sure many improuvments can be done to my proposal... But in some cases it might be better to be introduced something new even if something have to be adjusted later. Otherwise there is limited possibility things to become better
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users