-
-
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
Add support for VFS addons #8966
Conversation
@@ -412,6 +413,8 @@ void CAddon::BuildLibName(const cp_extension_t *extension) | |||
case ADDON_SERVICE: | |||
case ADDON_REPOSITORY: | |||
case ADDON_CONTEXT_ITEM: | |||
case ADDON_AUDIODECODER: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
IMO an excellent idea. Once this is integrated we can start cleaning up vfs, i.e. PVR is the only client of LiveTV interface and can make use of this extension point. |
#include "utils/URIUtils.h" | ||
#include "addons/VFSEntry.h" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@notspiff this PR was looking pretty good, what's the status? I'm happy to help if you have any TODOs left |
i haven't touched it. there were some comments, feel free to address those. i will try to find some time.. |
c07be51
to
682a3de
Compare
rebased and updated. very little tested, in particular i'm not sure how well BinaryAddonCache manages the lifetime of add-ons. example addon: https://github.com/notspiff/vfs.sacd this is for SuperAudioCD isos. that is the reason for the last commit. the hack commit highlights a nasty issue with current code design, which is triggered by adding this code. |
thanks for the rebase. it'll probably be a few months before I pull this into my retroplayer branch, i'm focusing on getting input near flawless for the v17 release. |
Rather it goes to master. Retro carries enough /random as-is.
|
Rather RetroPlayer goes to master ;) |
682a3de
to
31dd267
Compare
modernized https://github.com/notspiff/vfs.rar added a commit that removes the internal rar support for this reason. the add-on will not work if core carries UnrarXLib. |
modernized https://github.com/notspiff/vfs.sftp added a commit that removes the internal sftp support. |
What is left to merge it? |
(notspiff under his day-work intentity); from my POV:
|
0015b39
to
dc17ac4
Compare
Any news on this topic? Will this change be part of Kodi 18? |
VFS can be hit very early (InitDirectoriesXXX()) and with vfs add-ons (and audio decoders) providing VFS entries, we get in a squeeze. this is not meant for inclusion as-is just highlights the issue.
2b7672b
to
129b51a
Compare
rebased. |
upstream kodiplatform is not prepared yet
129b51a
to
560857d
Compare
jenkins build this with addons please |
560857d
to
8d88a54
Compare
ish, sorry for bad timing. i was asked to remove the removal commits. |
jenkins build this with addons please |
no relevant failures in jenkins. |
@@ -72,6 +72,7 @@ class CServiceManager | |||
CPlatform& GetPlatform(); | |||
|
|||
PLAYLIST::CPlayListPlayer& GetPlaylistPlayer(); | |||
int init_level = 0; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This is my VFS add-on work. I send the PR to see if there is interest.
Some remaining stuff;
see the repo list at https://github.com/notspiff for some example add-ons. No guarantee many of them are in working condition, i know vfs.sacd is (in terms of the iface), as well as vfs.rar, but there's some stability issues in the latter. also quite a few are now probably void since you have removed the code from mainline.