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

Improvements to music visualization using just artwork #199

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

da-anda
Copy link
Contributor

@da-anda da-anda commented Jan 22, 2017

This adds support for the artistslideshow addon. In addition it fixes 3D depths of the viz background. Can remove the later change if desired.

I'd like to add a setting that allows to animate the slideshow in the background, wasn't sure though where to place it best and how to do this correctly. Suggestions welcome.

@da-anda da-anda force-pushed the artistslideshow2 branch 2 times, most recently from ed4900d to ac07c86 Compare January 22, 2017 14:23
@da-anda
Copy link
Contributor Author

da-anda commented Jan 22, 2017

I think I managed to add the setting. Just not sure about the label. Should we make it specific to artistslideshow, or do we want it more generic?
Also, would you prefer a check if the add-on is installed, and if not ask to install it like you do for other optional add-ons?

@phil65
Copy link
Owner

phil65 commented Jan 24, 2017

Option should get moved to Custom_1105_MusicOSDSettings.xml, and should probably apply to non-script background as well.

<aspectratio>scale</aspectratio>
<fadetime>400</fadetime>
<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
<texture background="true" colordiffuse="88FFFFFF">$INFO[Player.Art(fanart)]</texture>
<visible>!Skin.HasSetting(hide_background_fanart)</visible>
</control>
<control type="multiimage">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this control and the above one into a group and move the "shared" stuff to group level (like animations, depth)

<loop>yes</loop>
<imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
<visible>System.HasAddon(script.artistslideshow)</visible>
<animation effect="zoom" start="110" end="130" center="auto" time="10000" tween="sine" easing="inout" pulse="true" condition="Skin.HasSetting(AnimateSlideshow)">Conditional</animation>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these 2 animations should get merged into a single one (example: https://github.com/phil65/skin.estuary/blob/master/xml/Home.xml#L37)

@da-anda da-anda changed the title [WIP] support for artistslideshow add-on Improvements to music visualization using just artwork Jan 24, 2017
@da-anda
Copy link
Contributor Author

da-anda commented Jan 24, 2017

updated. I tried to combine the two animations, but Kodi seems to have issues with the tweeners and easing in this case (there is no variation of the animation in any form), so I kept the two separate tags.

I added an additional commit that uses the poster/cover as fallback artwork if there is no fanart. It's looking way better than just the colored background, and if somebody doesn't want the artwork it'll also be hidden ofc.

@da-anda
Copy link
Contributor Author

da-anda commented Feb 12, 2017

good to go now?

@da-anda
Copy link
Contributor Author

da-anda commented Apr 2, 2017

bump

@dagwieers
Copy link

I learned yesterday that this repository is unmaintained and you need to propose this change to the upstream https://github.com/xbmc/xbmc repository. Good luck !

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

Successfully merging this pull request may close these issues.

3 participants