[MOD] Home Video On/Off
#1
Following on from this thread asking for Now Playing Video on the Home menu I've added an On/Off option to the Global menu (press 'S').

Image

Image

Image

Edit strings.xml and add this these two lines below <string id="31210">EJECT</string>
Code:
    <string id="31211">HOME VIDEO: OFF</string>
    <string id="31212">HOME VIDEO: ON</string>

Edit DialogButtonMenu.xml and find this code
Code:
            <control type="togglebutton" id="804">
                <description>Home Visualiser</description>
                <label>31203</label>
                <altlabel>31204</altlabel>
                <include>Objects_ContextMenuButton</include>
                <onclick>Skin.Togglesetting(homevis)</onclick>
                <usealttexture>Skin.HasSetting(homevis)</usealttexture>
            </control>
and add this after it
Code:
            <control type="togglebutton" id="812">
                <description>Home Video</description>
                <label>31211</label>
                <altlabel>31212</altlabel>
                <include>Objects_ContextMenuButton</include>
                <onclick>Skin.Togglesetting(videohome)</onclick>
                <usealttexture>Skin.HasSetting(videohome)</usealttexture>
            </control>

Edit Includes_Backgrounds.xml and find and replace all instances of
Code:
<visible>![Control.IsVisible(87) | [Skin.HasSetting(homevis) + Player.HasAudio + Window.IsActive(Home)]]</visible>
with
Code:
<visible>![Control.IsVisible(87) | [Skin.HasSetting(homevis) + Player.HasAudio + Window.IsActive(Home)] | [Skin.HasSetting(videohome) + Player.HasMedia + Window.IsActive(Home)]]</visible>

Edit Includes_Objects.xml and find -
Code:
    <include name="Objects_ButtonMenu10Group">
            <height>370</height>    
    </include>
    
    <include name="Objects_ButtonMenu9Group">
            <height>333</height>    
    </include>
    
    <include name="Objects_ButtonMenu8Group">
            <height>296</height>    
    </include>
and replace with -
Code:
    <include name="Objects_ButtonMenu10Group">
            <height>407</height>    
    </include>
    
    <include name="Objects_ButtonMenu9Group">
            <height>370</height>    
    </include>
    
    <include name="Objects_ButtonMenu8Group">
            <height>333</height>    
    </include>
Reply
#2
Awesome!
Reply
#3
awesome job. thank you.
The Transforminators HD Movie Trailer
- from the creators of Terminator and Transformers -
Reply
#4
great! thank you
Reply
#5
It is possible to get this mod for a smaller size than fullscreen, like the size of the now playing album cover art for music playing?
Reply
#6
^ super idea
The Transforminators HD Movie Trailer
- from the creators of Terminator and Transformers -
Reply
#7
That would require a significant amount of work for size, placement, etc.
I suggest seeing how other skins like PM3 do it and implementing it yourself.
Reply
#8
where is the strings.xml?? cannot locate mine its not in my 720p folder in the auriga skin folder

nm found it, its in the language folder
Reply
#9
hikaricore Wrote:That would require a significant amount of work for size, placement, etc.
I suggest seeing how other skins like PM3 do it and implementing it yourself.

size is no matter. just modify hitcher's code to any size you want. but you will need to create some kind of border image so it does not sit "naked" on front of your background.
cheers,azido :;):
Reply
#10
UPDATE: Code change to Includes_Objects.xml to increase Menu size to fit all buttons.

Image
Reply
#11
heya,this is really cool and ure other mods have really made my aeon nicer..but im having trouble using home video.. once ive implemented these changes my background stays black at all times on home and when i go into video/pictures/music the backdrops for that folder rapidly keep changing..this is same with home video on or off.. I might have made a mistake somewhere,but tried it twice and still same Sad on all home menues it will be black while scrolling it that is..
Reply
#12
I Second this ^^^^
Is it possible to get the backdrops back when you choose video off in the menu?
Reply
#13
Did you replace all 4 instances of this
Code:
<visible>![Control.IsVisible(87) | [Skin.HasSetting(homevis) + Player.HasAudio + Window.IsActive(Home)]]</visible>
with this
Code:
<visible>![Control.IsVisible(87) | [Skin.HasSetting(homevis) + Player.HasAudio + Window.IsActive(Home)] | [Skin.HasSetting(videohome) + Player.HasMedia + Window.IsActive(Home)]]</visible>
in the Includes_Backgrounds.xml?
Reply
#14
yup, redid it again and it's still black ..both with video off and on
Reply
#15
and just checked..the movie isn't playing in the main menu either ;/
Reply

Logout Mark Read Team Forum Stats Members Help
[MOD] Home Video On/Off0