-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Directories.py] Implement planned changes
- Improve the efficiency of the resolveFilename() method by eliminating non-existent directories from the list. - Tidy up some code. - Correct and/or improve some comments. Developed by @jbleyel with a little help from @IanSav.
- Loading branch information
Showing
1 changed file
with
109 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IanSav @jbleyel
You need to apply this commit fairbird/enigma2-dreambox@27cb29f to fix the issue with reading symlink of .xml files that depend on some skin using with plugin
such as
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No .. we have removed the scan of /etc/enigma2 by purpose because this folder will be scanned for each file.
All skin files must be in
or
and not in the /etc/enigma2/ root folder!
This is a very old issue.
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may have includes in your xml files and these are the problem.
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar issue ->
#3508
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay.. Thank you
I will check it again .. But old method (scopeConfig) also need it some skins or the owners of these skins should be forced to change the settings of their skins, which I think is not desirable for them.
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe .. but the performance impact of scopeConfig will affect all skins and all user.
We may find a compromise to support the old skins without loosing the performance improvements.
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a compromise.
Directories.py.zip
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes ... After adding (skinResolveListXml) Back again skins/plugin work just fine !
Thank you
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know ;-)
But this is also only a workaround/compromise.
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a new update.
Please test.
Directories.py.zip
skin.py.zip
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create new branch and add the new codes then I can cherry-pick the codes to test it.
Anyway .. Tested .. Nice codes (works fine) ..
2c4698d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on old plugin method and it work great thanks
i test the new live update too on opatv 7.5.2 and 2 files (Directories.py, skin.py) work without any problem
Thanks openatv team and special thank to you jbleyel for your listening to user problem, make the fix and provide support