When you want this... why not directlu mod the default spinner...?????
merge requests for PLi's git
Re: merge requests for PLi's git #861
Re: merge requests for PLi's git #862
Posted 6 June 2015 - 22:15
Replacing the spinner after a reflash always involves uninstalling the pre-installed one and putting new ones ...
User defined spinners in /etc/enigma2 would simply restore when restoring settings ...
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: merge requests for PLi's git #863
Posted 6 June 2015 - 22:42
When you want this... why not directlu mod the default spinner...?????
Correct me if I'm wrong, but the spinner is included in enigma package.
If it is changed in /usr/share/enigma2/skin_default/spinner, then after every enigma update it replaces with the original from enigma package.
This patch allows own spinner placed in /etc/enigma2/spinner. It will keep when creating backup, and nothing will be changed after enigma update.
Edited by Taapat, 6 June 2015 - 22:43.
Re: merge requests for PLi's git #864
Posted 7 June 2015 - 07:59
Did you post a patch?
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: merge requests for PLi's git #865
Posted 7 June 2015 - 09:11
Take a look at the previous page: http://forums.openpl...-43#entry493721
And just I imagine. Spinner is a design element like skin, perhaps he right place is in /usr/share/enigma2/spinner instead of /etc/enigma2/spinner. But then it automatically will not be included in the backup copy.
Re: merge requests for PLi's git #866
Re: merge requests for PLi's git #867
Re: merge requests for PLi's git #868
Posted 7 June 2015 - 09:52
And I can not imagine how you create dependencies in packages, to enigma always use the spinner.
If enigma will depend on spinner package, then it will not be able to change without conflict.
If the 'fallback' spinner remains as it is now- in skin_default, then user can independently use theirs, and you can change your when you want, without disturbing the user.
Re: merge requests for PLi's git #869
Posted 7 June 2015 - 09:52
The fallback is not required at all when you move the complete spinner to that specific location....
Note the skinner is already required far before the skin is required and parsed... even before the settings are loaded... So you can not compare it 'simply' as it should work as a skin.
I saw e.g. in ViX they made an ugly patch so you can add it to your skin... the big disadvantage of this patch is that they parse the /etc/enigma/setting file twice...
In general you already can change the spinner as it is now. There were also aleady plugins existing that replace the spinner png's....
I can follow you to put it on a more logic location... But not with differet fall backs etc.. As basically it does not have any added value at all.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: merge requests for PLi's git #870
Re: merge requests for PLi's git #871
Re: merge requests for PLi's git #872
Re: merge requests for PLi's git #873
Re: merge requests for PLi's git #874
Posted 8 June 2015 - 13:55
About spinner responsible enigma.cpp and therefore I propose modifications in this file.
For skin responsible skin.py, and I do not see any problem here.
The fact, that I think that the spinner should work just like skin, does not mean that it should be used the same methods.
But seems to me that on these issues, I've written here too much, so I must stop with this.
Re: merge requests for PLi's git #875
Posted 8 June 2015 - 15:06
@Taapat: for example (see date) http://forums.openpl...inner-as-globe/
Edited by ims, 8 June 2015 - 15:06.
Re: merge requests for PLi's git #876
Posted 8 June 2015 - 17:21
@Taapat: for example (see date) http://forums.openpl...inner-as-globe/
excellent spinners
Let's really make a custom version of the location of the spinners.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: merge requests for PLi's git #877
Posted 8 June 2015 - 20:16
@Taapat: for example (see date) http://forums.openpl...inner-as-globe/
Oh now I understand why the skin is mentioned.
I agree that the spinner can be related to the skin, but why no one worried that picons (except picon_default) is not related to the skin?
Maybe spinner like picons, can be installed as an independent package and not associate it with the skin?
But I really think that this discussion should stop, allowing openpli team decide whether to make the following changes or not.
I myself use the default spinner, and propose the changes just because I again was reading the user question- why after the update missing his previous spinner.
Re: merge requests for PLi's git #878
Posted 9 June 2015 - 01:12
Another way to do this, is to have the default spinner packaged with enigma2 and use it as is during early startup. i.e no change to the existing method. Later on during the startup, after the user configuration is parsed, the spinner can be replaced with a user selected alternative. It would be nice to package this and a UI for selecting a spinner into a plugin.
The way to replace a spinner is to call:
virtual void setSpinner(eRect pos, ePtr<gPixmap> *pic, int len);
This method would change the spinner (and possibly the location where it is displayed) at some stage during the boot process. I don't see that as much of a problem.
Another alternative is to make the spinner an optional skin element, so a skin can supply the spinner. I'm not in favour of that, because then you couple the skin and the spinner unnecessarily.
"Beauty lies in the hands of the beer holder."
Re: merge requests for PLi's git #879
Posted 13 June 2015 - 06:26
You could always choose to ignore my patches. You could instead google my nickname
and checkup on my opensource experience.
I just want to say I did
http://xdandroid.com...evelopment_Team
CaptNoord : Kernel Developer
Keep up the good work
Edited by Persian Prince, 13 June 2015 - 06:26.
Open Vision sources: https://github.com/OpenVisionE2
Re: merge requests for PLi's git #880
Posted 15 June 2015 - 07:14
I'm not a big fan of whitespace fixes, but for xmltvimporter/EPGImport it is really necessary.
The code is almost unreadable unless one makes insane adjustments to the editor.
A mixture of spaces, tabs, "half tabs", trailing whitespaces and so on ...
0001_xmltvimport-whitespace.patch 75.73KB 8 downloads
You might need to search and replace the path specs inside the diff/patch, as I made the patch against persian pro's OpenPLi-Github.
Sorry about that, but I would have preferred simply creating a pull request on Github ...
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
28 user(s) are reading this topic
0 members, 28 guests, 0 anonymous users