Kodi Community Forum

Full Version: PM3.HD - Adding "DVD Thumb" View to Music Category
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I've tried to do this but i can't quiet figure it out, this are the changes i've made to usr/share/xbmc/skin/pm3.hd/720p

MyMusicSongs.xml (Bold are modified code)
Code:
<window id="501">
    <defaultcontrol always="true">50</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    <views>50,51,59,53,[b][size=large]57[/size][/b],500</views>
    <controls>
        <include>CommonBackground</include>
        <include>3d_CoverView_Music</include> <!-- view id = 500 -->
        <control type="group">
            <include>Window_OpenClose_Right_Panel_Animation</include>
            <control type="group">
                <animation effect="slide" start="0,0" end="970,-100" time="300" tween="quadratic" easing="out" condition="Control.IsVisible(500)">Conditional</animation>
                <include>ContentPanel</include>
                <include>CommonRootView</include> <!-- view id = 50 -->
                <include>CommonListView</include> <!-- view id = 51 -->
                <include>SongInfoListView</include> <!-- view id = 59 -->
                <include>ThumbnailView</include> <!-- view id = 53 -->
[b]                [size=large]<include>MovieDVDView</include> <!-- view id = 57 -->[/size][/b]
            </control>

MyMusicNav.xml (Bold are modified code)
Code:
<window id="502">
    <defaultcontrol always="true">50</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    <views>50,51,59,53,56,55,[b][size=large]57[/size][/b],500</views>
    <controls>
        <include>CommonBackground</include>
        <control type="largeimage">
            <posx>0</posx>
            <posy>105</posy>
            <width>850</width>
            <height>540</height>
            <aspectratio scalediffuse="false">scale</aspectratio>
            <texture diffuse="Fanart_Diffuse.png" fallback="background-music.jpg">$INFO[Fanart.Image]</texture>
            <visible>Control.IsVisible(55)</visible>
            <include>VisibleFadeEffect</include>
            <include>Window_OpenClose_Animation</include>
        </control>
        <control type="largeimage">
            <posx>0</posx>
            <posy>105</posy>
            <width>850</width>
            <height>540</height>
            <aspectratio scalediffuse="false">scale</aspectratio>
            <texture diffuse="Fanart_Diffuse.png" fallback="background-music.jpg">$INFO[ListItem.Property(Fanart_Image)]</texture>
            <include>VisibleFadeEffect</include>
            <fadetime>FanartCrossfadeTime</fadetime>
            <visible>Control.IsVisible(56)</visible>
            <include>Window_OpenClose_Animation</include>
        </control>
        <include>3d_CoverView_Music</include> <!-- view id = 500 -->
        <control type="group">
            <include>Window_OpenClose_Right_Panel_Animation</include>
            <control type="group">
                <animation effect="slide" start="0,0" end="970,-100" time="300" tween="quadratic" easing="out" condition="Control.IsVisible(500)">Conditional</animation>
                <animation effect="slide" start="0,0" end="560,0" time="300" tween="quadratic" easing="out" condition="[Control.IsVisible(55) | Control.IsVisible(56)]">Conditional</animation>
                <include>Window_OpenClose_Right_Panel_Animation</include>
                <include>ContentPanel</include>
                <include>CommonRootView</include> <!-- view id = 50 -->
                <include>CommonListView</include> <!-- view id = 51 -->
                <include>SongInfoListView</include> <!-- view id = 59 -->
                <include>ThumbnailView</include> <!-- view id = 53 -->
                <include>ArtistFanartView</include> <!-- view id = 56 -->
                <include>AlbumSongsFanartView</include> <!-- view id = 55 -->
[b]                [size=large]<include>MovieDVDView</include> <!-- view id = 57 -->[/size][/b]
            </control>

Nothing happens, what have i missed?

Thanks for the support.
you'll also have to change the <visible> condition for the MovieDVDView wraplist in ViewsVideoLibrary.xml

note, in this view all images are stretched to dvd cover format, so it won't look good for artist and album thumbs.
Alright so i added

ViewsVideoLibrary.xml
Code:
<visible>Container.Content(Movies) | Window.IsVisible(VideoFiles) | Container.Content(Albums) | Container.Content(Artists)</visible>

Still won't work, probably added the code wrong or something?
Got it, changed code to:

Code:
Container.Content(Movies) | Window.IsVisible(VideoFiles) | Window.IsVisible(MusicFiles) | Window.IsVisible(MusicPlaylist) | Container.Content(Songs) | Container.Content(Albums) | Container.Content(Artists)

thanks for the help!