Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from OpenPLi:develop #2

Open
wants to merge 917 commits into
base: develop
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 18, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Sep 18, 2023
Huevos and others added 29 commits March 31, 2024 20:17
Continues work from @nautilus7 in 2e7479e

The filename will be identical to the channel name in lowercase including any spaces or special chars. Only characters prevented by sanitizeFilename will be omitted. For more info on sanitizeFilename see https://pypi.org/project/sanitize-filename/

Legacy code has been kept for compatibility with current picons.
[Picon] Allow unicode filenames
-convert convertLatin1UTF8
thanks @jbleyel
and
-small textual improvement to the file code
- Improve logging
- Set proper routing
- Add Critical Security Update Version protocol
-Fix not working second VU FBC tuner
- Set descrambler key according to spec
thanks @betacentauri

-Possibility to supress Auth Key Verification Failed (error 10) message
on CI module init
thanks @DimitarCC
It was depended on if the receiver had one or more tuners enabled, but
it seems to be better the user can decide it by themselves as there are
users that have tuners active on client boxes
[unicable.xml] add more LNB
-setup.xml add more entry/remove old description
-menu.xml add "channelselection" entry
This reverts commit cffcdf8.

Sorry that I revert this one... as I initially did not want to merge
this. There is maybe more that could be re-assigned to the menu
structure and there are also facturs in this commit that need
discussion. I prefer first to get all structurise and then change it at
once...
[Added] New addon for Main menu rendering
[Added] new events in Screen and List
[setup.xml] remove not used text
Littlesat and others added 30 commits September 2, 2024 09:44
This gives a wider window so the detailed information for images do fit.
Now I can revert 47a7ad4
Thanks Huevos as this could lead to a GSOD it should be referenceList
not reflist
Output of sanitizeFilename gives valid utf8 filenames including spaces. This is correct behaviour. But enigma will not tolerate spaces in bouquet filenames (it truncates the filename on the space), so remove any spaces here rather than breaking santizeFilename by including this there.
Most Unix file systems typically allow filenames of up to 255 bytes. However, the actual number of characters allowed can vary due to the representation of Unicode characters. Therefore length checks must be done in bytes, not unicode.

Remove re.split(r"/|\\", filename) because we obviously can't split on character that have already been removed by the blacklist. Remember this function is supposed to process a prospective filename, not a path.

Add a max length argument to command lengths other than 255, e.g. when we are going to append ascii to the filename.

Simplify a lot of overcomplicated code.

Add comments to make easy to understand.

[Directories.getRecordingFilename] also here filename length was being calulated in unicode, not bytes.

Use sanitizeFilename to clean up recording filename rather than having code duplication.

Get rid of this bug: path += "_%03d" % i

>>> path = "abc.def"
>>> for i in range(5):
...     path += "_%03d" % i
...     print(path)
...
abc.def_000
abc.def_000_001
abc.def_000_001_002
abc.def_000_001_002_003
abc.def_000_001_002_003_004
>>>
#4062)

* [Updated] Sync some of the code between distros to allow cross plugin usage

* [Fixed] Compile issue
1. Give a message in the log when you start it that the thread is
   already running
2. Download the bouquets during they are analysed for other linked files
   so they do not need to downloaded twice and when they are already in
   the temp directory do not download them additionally
3. Add error handling around the service file fetching
4. In getURL add also retries for [Errno -2] in case AVAHI is not
   updated yet shortly after the network comes-up
As this had no added value. Also a cosmetic correction regarding a
commented outed debug line.
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 1091, in mainMenu
  File "/usr/lib/enigma2/python/StartEnigma.py", line 296, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 306, in open
    dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 249, in instantiateDialog
    return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
  File "/usr/lib/enigma2/python/StartEnigma.py", line 273, in doInstantiateDialog
    dlg.applySkin()
  File "/usr/lib/enigma2/python/Screens/Screen.py", line 263, in applySkin
  File "/usr/lib/enigma2/python/Screens/Screen.py", line 296, in createGUIScreen
  File "/usr/lib/enigma2/python/Screens/Menu.py", line 251, in layoutFinished
  File "/usr/lib/enigma2/python/Screens/Screen.py", line 239, in screenContentChanged
  File "skin applet", line 21, in <module>
AttributeError: 'MainMenu' object has no attribute 'setFont'
[ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.HelpableActionMap object at 0xaf7acaa8>>,('InfobarMenuActions', 'mainMenu')) failed)

Introduced in commit
e960a13.
I'm not fully shure if this was somehow intended
* [Added] text blending functionality
* most of the code is taken from OpenATV.
* Credits to @jblayel

e.g. <widget source="myText" render="Label" alphatest="blend" ... />

* [Updated]  Adjust addons to respect new text blending possibilities

* [font.cpp] attempt to fix build error...

PLi compiler is old and not compatible with "register" keyword. Please revert when the compiler is updated.

error: ISO C++17 does not allow ‘register’ storage class specifier [-Werror=register]

---------

Co-authored-by: Dimitar Tsenev <[email protected]>
Issue was caused by a skin change, and needs to be fixed there.

This reverts commit d7275db.
Also fix Exception error message.
Honour screen.resolution attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.