# Generating igloo music menus dynamically

**URL:** <https://solero.me/t/generating-igloo-music-menus-dynamically/38>\
**Category:** Releases\
**Created:** [July 26, 2018, 6:07pm UTC](https://solero.me/t/generating-igloo-music-menus-dynamically/38 "2018-07-26T18:07:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben](https://solero.me/user_avatar/solero.me/ben/32/509_2.png) [@Ben](https://solero.me/u/Ben)\
**Post date:** [July 26, 2018, 6:07pm UTC](https://solero.me/t/generating-igloo-music-menus-dynamically/38/1 "2018-07-26T18:07:04Z")

</div>

Let’s face it, this sucks:

 ![](https://solero.me/uploads/default/original/1X/8cdc7ea9cb1a11cdad1da9b5a822df4d9d4fe0b1.png)

So I made it better. This is a small change you can make but it’s pretty cool. Dyanmic igloo music menu generation.

```xml
<?xml version="1.0" encoding="utf-8"?>
<music>
	<song name="Brown Puffle Lab" id="305"/>
	<song name="Beware the Dragon" id="286"/>
	<song name="Planet Y" id="38"/>
	<song name="Pre-historic Rock" id="35"/>
	<song name="The Royal Court" id="233"/>
	<song name="Puffle Party" id="259"/>
	<song name="In the Tower" id="235"/>
	<song name="Norman Swarm" id="42"/>
	<song name="To Battle!" id="236"/>
	<song name="Flippr Jig" id="263"/>
	<song name="Icy Serenade" id="256"/>
	<song name="The Way of Sensei" id="24"/>
	<song name="Puffle Rescue: In the Cave" id="120"/>
	<song name="For Great Justice" id="32"/>

	<!--- Songs after the 14th will be paginated! --->
	<song name="Coffee Shop" id="1"/>
	<song name="Night Club" id="2"/>
</music>

```

A simple XML file can be edited to change the songs in the list.

 ![screenshot](https://solero.me/uploads/default/original/1X/6199cac46716e39fa154788a5b4149d010cb5252.png)

# Features

- Support XML configuration for ALL languages that your client supports (by default spanish, english, french and portuguese)
- Paginator displays once list gets full, allowing potentially unlimited music!
- Reload on-the-fly, no need to relogin to change the song list.
- Simulates original music list perfectly, no overly-redesigned features.
- Open-sourced.
- Long song names will be adjusted to fit the text box.

FLA is attached. Or to get started straight away download the `igloo_music.zip` and drop the contents into `/play/v2/content/global/content/` of your AS2 media server.

XML configs can now be found in -

- English - `/play/v2/content/global/content/igloo/en/igloo_music.xml`
- Spanish - `/play/v2/content/global/content/igloo/es/igloo_music.xml`
- French - `/play/v2/content/global/content/igloo/fr/igloo_music.xml`
- Portuguese - `/play/v2/content/global/content/igloo/pt/igloo_music.xml`

[igloo\_music.fla](https://solero.me/uploads/default/original/1X/0cca43137293677eb4c7653f5432ff82403fe6fa.fla) (29.8 KB)  
[igloo\_music.zip](https://solero.me/uploads/default/original/1X/5a423e836c56317d5a33e143cccbacce1e0fb4aa.zip) (157.3 KB)
