|
 |
Music on XBMC Startup Tutorial |
 |
Music on XBMC Startup TutorialPublished by anonymous on 2004-10-30 Category: XBMC | Page Views: 19,154
Download XBMC Script:
http://xbox-hq.com/html/download-file-818.html&title=XBMC%20Randplay%20on%20Startup
Included are two scripts that will allow you to have playback of music on start up.I've included two scripts made by guyane[at]ifrance.com (RandomPlay1.py) & C. Newman (RandomPlay2.py) respectively
Both scripts will do the job- guyane[at]ifrance.com's script will launch a random playlist with no indication at start up, while C. Newman's will start with a dialog box telling you which playlist has been loaded
For this to work you have to create one or more playlists first (both will select a playlist at random on start up and shuffle the playlist before playing)
To create a playlist- go to my music- select a track and hit "y" on the gamepad or "0" on the remote (assuming you have not changed the keymap.xml). If you hit "y"/"0" over a folder or bookmark it will will add all valid music files in that bookmark/folder and all subdirectories to the playlist. Then save the playlist by accessing playlist view by hitting either black button on the gamepad or the "title" button the remote. Save the file (this will be saved to Q:albumsplaylists by default- where Q: is the XBMC "home" folder) using the onscreen keyboard to name the playlist.
Make sure that you have all the Python library installed for this to work. If you don't have it get it here: Unrar the and copy the scripts and python folders to the XBMC "home drive".
If you want to use the script that starts without any dialog screens you don't need to edit anything just copy autoexec.py and RandomPlay1.py to the scripts folder. if you want dialog, open the autoexec.py and rename RandomPlay1.py to Randomplay2.py (in notepad), and copy the edited autoexec.py and RandomPlay2.py to the scripts folder.
Changes I've made to the scripts:
RandomPlay1.py
Changed playlist path from E:AppsXBMCAlbumsplaylists to Q:albumsplaylists
RanddomPlay2.py
Changed playlist path from C:playlists to Q:albumsplaylists added shuffle (xbmc.PlayList(0).shuffle() - remove if you don't want playlist to be shuffled- similalrly remove pls.shuffle() from RandomPlay1.py if you do not want to shuffle the playlist in RandomPlay1)
None of this is my own work and i'd like to thank guyane[at]ifrance.com & C. Newman for creating these scripts
Download XBMC Script:
http://xbox-hq.com/html/download-file-818.html&title=XBMC%20Randplay%20on%20Startup
Related URL: Music on XBMC Startup |
|
 |
Browse Tutorials |
 |
| |
  | Latest News |  |   | Popular Xbox Games |  |
WWE Crush Hour Page Views: 285,081 WWE Crush Hour features more than 30 fantasy, personalized Superstar vehicles including Hollywood Hulk Hogan's(TM) sports car, Big Show's(TM) big rig, The Rock's luxury sports car and Stone Cold Steve.. |  | More Xbox Games |
| |