-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[python] move xbmc.makeLegalFilename() to xbmcvfs module #17735
Conversation
2054ca2
to
cc64aec
Compare
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.
looks good to me
jenkins build and merge |
cc64aec
to
9b02540
Compare
jenkins build and merge |
@enen92 if you're planning on moving even thanks |
Yeah I'm thinking about moving both |
i think it is a very good idea |
xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead. The reference if from: xbmc/xbmc#17735
xbmc.translatePath is deprecated and might be removed in future kodi versions. Please use xbmcvfs.translatePath instead. The reference if from: xbmc/xbmc#17735
Description
I was not familiar with this method so decided to take a look at what it does to improve the documentation.
fatX
) that still dates back from the original xbox days (and that was ignored internally)For consistency I think it makes more sense in xbmcvfs. It's a filesystem related (or at least helper) method anyway. Another good candidate is
xbmc.translatePath
(although that one is used by a lot of addons...)This affects a total of 4 addons, none of which are yet in matrix:
Motivation and Context
Improve the python api and its docs now that a breaking change is happening.
How Has This Been Tested?
Compile and tested in a sample addon.
Types of change
Checklist: