2018-03-25, 22:59
Better Profile Support
Name: Ibrahim Fathy Abdelmageed Elsayed Eissa
forum/e-mail: IbrahimFathy/[email protected]
Summary: Kodi profile support does not support multiple users in a perfect way, data and configurations are not separated among different profiles, just for example. And the profile codes doesn’t support adding more features easily.
How will I achieve this: First, I will split metadata from userdata in the database tables in the seek of, for example, making watched state/count profile dependent.
Then I will redesign the storage logic on the db end and then design and implement a framework, in C++, that provides a standard interface for user data and profiles. as Poplap and Dave Hand supposed.
Then I will redesign the unclear parts of Profile code that make it hard to modify.
What will the project focus on: Profile Support, DataBase Handling.
Benefits: Users with multiple profiles will gain the advantage of separate addons and separate data.
Developers will be able to add more featrures easily.
Goals:
What does it touch in Kodi: Profile system, userdata, database, settings, addons
Requirements: C++ coding experience, DB, access to multiple Kodi installations for testing.
Possible mentors:
Name: Ibrahim Fathy Abdelmageed Elsayed Eissa
forum/e-mail: IbrahimFathy/[email protected]
Summary: Kodi profile support does not support multiple users in a perfect way, data and configurations are not separated among different profiles, just for example. And the profile codes doesn’t support adding more features easily.
How will I achieve this: First, I will split metadata from userdata in the database tables in the seek of, for example, making watched state/count profile dependent.
Then I will redesign the storage logic on the db end and then design and implement a framework, in C++, that provides a standard interface for user data and profiles. as Poplap and Dave Hand supposed.
Then I will redesign the unclear parts of Profile code that make it hard to modify.
What will the project focus on: Profile Support, DataBase Handling.
Benefits: Users with multiple profiles will gain the advantage of separate addons and separate data.
Developers will be able to add more featrures easily.
Goals:
- Allow addons to be installed per profile. Right now all addons are stored in the same place and are used by all profiles but every profile has its own addon database so addons can be enabled/disabled per profile.
- Better support for library sharing like independent watched states. Right now when a library is shared every property of the library items is shared including watched state and resume positions etc.
- Improved integration in the code. Right now there are a lot of hacks all over the place to handle some of the profile features but it is often forgotten when writing new code.
What does it touch in Kodi: Profile system, userdata, database, settings, addons
Requirements: C++ coding experience, DB, access to multiple Kodi installations for testing.
Possible mentors: