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

New skin compatibility toolkit #145

Open
mazkolain-zz opened this issue Jan 28, 2014 · 0 comments
Open

New skin compatibility toolkit #145

mazkolain-zz opened this issue Jan 28, 2014 · 0 comments
Milestone

Comments

@mazkolain-zz
Copy link
Owner

Experiment with a new skin toolkit that would improve the current xbmc-skinutils in use. This toolkit would make Spotimc more friendly to the XBMC's official repo rules, and would remove many quirks of the current one:

  • No need to patch current skin
  • No need to copy skin to userdata
  • No need to perform userdata / main skin version checks
  • No need to reload current skin on startup and shutdown

It would operate as a skin preprocessor, with two clear parts:

  • An include substitution engine that would replace statements with the actual markup behind them.
  • A font compatibility table: That would enumerate the stantard (in terms of size) fonts for each skin.
  • A variable substitution engine (to be used with the standard font table).

As a fallback, this compatibility table could be built on the fly reading skin's fonts xml, but my first impression is that it would be somewhat error prone.

Caching would be a gread addition too, by using all the involved file timestamps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant