Jump to content


Photo

merge requests for PLi's git


  • Please log in to reply
1748 replies to this topic

Re: merge requests for PLi's git #861 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 6 June 2015 - 22:11

When you want this... why not directlu mod the default spinner...?????


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: merge requests for PLi's git #862 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 6 June 2015 - 22:15

Well, as it actually has a fallback to the default spinner, I don't think the idea is too bad.

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 ...
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

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 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

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 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

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 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 7 June 2015 - 09:37

If we change this the best solution is to replace it permanently to /usr/share/enigma2/spinner.... We do not need a 'fallback' or so... but than our oe needs also some changes...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: merge requests for PLi's git #867 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 7 June 2015 - 09:42

I do not agree that there is no need a 'fallback'.
I think that the sinner must work just like skin. If the user uses his own, then the enigma use it, if not, then from skin_default.



Re: merge requests for PLi's git #868 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

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 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

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 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 7 June 2015 - 12:16

I think that if you do not want to add an alternative location for user spinner, it is better not to change anything.
For default spinner skin_default it is the right place, and changing something can break plugins and hacks for spinner.



Re: merge requests for PLi's git #871 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 7 June 2015 - 14:36

You get it!!!


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: merge requests for PLi's git #872 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

Posted 8 June 2015 - 08:00

I'm sorry, but I'll get alternative location for user spinner, or I'll get that nothing has changed?
I ask because I see that in git no changes, but I understood that I have satisfied you about the alternative location.



Re: merge requests for PLi's git #873 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 8 June 2015 - 09:04

alternative location was made there long time ago, but was not accepted... problem is, that in time, when is loaded spinner's png, then does not exist skins.


Edited by ims, 8 June 2015 - 10:12.

Kdo nic nedělá, nic nezkazí!

Re: merge requests for PLi's git #874 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

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 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

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.

Kdo nic nedělá, nic nezkazí!

Re: merge requests for PLi's git #876 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

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/Solo 4K


Re: merge requests for PLi's git #877 Taapat

  • PLi® Core member
  • 2,343 posts

+120
Excellent

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 peteru

  • Senior Member
  • 36 posts

+5
Neutral

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 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

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 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 15 June 2015 - 07:14

Merge request:

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 ...

Attached File  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 ...
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users