[Mod] Startup Playlist

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
krypt2nite Offline
Fan
Posts: 479
Joined: Dec 2008
Reputation: 15
Location: Phoenix, AZ
Post: #1
After seeing rausch101's thread I remembered I wanted to do this. Something I've missed and such a simple addition.


Download these xml files and place them in your 720p folder.
Startup.xml
Customisation.xml

If you want to edit your own Customization.xml here are the two radio buttons that need added some where.


Code:
                <control type="radiobutton" id="506">
                    <include>Objects_SettingsDefaultRadioButton</include>
                    <label>Enable Startup Playlist (For Music Playlist Playback After Startup)</label>
                    <onclick>Skin.ToggleSetting(startplay)</onclick>
                    <selected>Skin.HasSetting(startplay)</selected>
                </control>
                
                <control type="radiobutton" id="507">
                    <include>Objects_SettingsDefaultRadioButton</include>
                    <label>Specify Startup Playlist (For M3U Playlist Playback At Startup)</label>
                    <label2>$INFO[Skin.String(startuplocation)]</label2>
                    <onclick>Skin.SetFile(startuplocation,.m3u,Q:\UserData\playlists\music\)</onclick>
                    <enable>Skin.HasSetting(startplay)</enable>
                </control>


I take no credit for this either. I simply ripped this simple code out of the old Horizonz skin. Mod makers please feel free to include in your mods. Hitcher =)

[Image: settings.png]
find quote
valho Offline
Junior Member
Posts: 31
Joined: May 2009
Reputation: 0
Post: #2
I added the code to my Customisation and Startup file, well it works fine except that I set my xbmc to update library at startup and the compressing database dialogbox doesn't disappear
find quote