This is our Unit Project for 237. Notes and implementation strategy are here. For usage, you will have to upload an XML file from your iTunes library. A sample XML file is provided as Library.xml
- Prompt user for XML file
- Parse XML for Artist, Albums, Songs, Time
- Populate the Library Window
- Highlight it
- Query YT for vid list
- Raise up iFrame
- Draw videos
- Move thumbnails
- Play new vid
- toggle play of YT video (or begin playing 1st song in current window)
- redraw iFrame
- Highlight PL
- remove all song DOM elements in current library
- refill with dom elements form appropriate playlist
- Get static UI
- Add dynamic elements to UI
- Write XML parser for playlist and store in proper object
- Fill library functionality
- Create and add Playlist functionality
- Sorting of library elements
- Write Youtube player/iFrame
- Write Controller from Library
playlist{
"Name":Str,
"Songs":[]
}
song {
"Artist": str,
"Title" : str,
"Album" : str,
"Time" : num,
"defaultVidIndex" : num
}
queue {
"songs" : array,
"shuffle" : boolean,
"repeat" : <"no", "all", "one">
}
- HTML and CSS
- Library parsing, storage, and display
- Ajax functionality
- YouTube API