(2013-02-16, 18:29)garbear Wrote: @Dondi, cptspiff, Bstrdsmkr, how should we do background music in the GUI? I'm thinking build a playlist, hit enter on a rom, and have xbmc start playing both at the same time
Hey garbear. Thanks for taking my suggestion under consideration. I guess I will again reference my 3DArcade setup where each arcade environment has a config file where you can assign a music playlist just as you referenced. In the config you can assign shuffle to TRUE/FALSE and a sound level 0 - 100. Herre is a copy/paste of the SOUND, AMBIENT SOUND & JUKEBOX section of one of my config files from one of my arcades in 3DArcade:
--8. Sound, ambient sound and jukebox
--
ambientfile|arcadeambient01.mp3|#sound|overrides the general setting in fe.cfg so you can use a different one for each arcade. if kept empty no background sound will be played for this arcade environment|
ambientvol|30|#editable|volume of the background sound 0-100|
musicmenulist|playlistmusic.atf|#list|a list that contains music playlists and will be shown on models of type arcjukebox|
musicplaylist|Big80s.atf|#list2|if this points to a valid playlist this list will be played when this arcade starts|
musicvol|70|#editable||
musicrandom|true|#boole|when set to true a random mp3 will be played from the current playlist|
Here are the relevant lines of the above cfg.
musicmenulist|playlistmusic.atf|#list|a list that contains music playlists and will be shown on models of type arcjukebox|
This is a master list of all music playlists available to 3DArcade (playlistmusic.atf). If you walk over to the jukebox that is in the arcade, you can change the playlist by selecting a different playlist without editing a config file or exiting the FE. This change will remain persistent across sessions
musicplaylist|Big80s.atf|#list2|if this points to a valid playlist this list will be played when this arcade starts|
I created several playlists, this acrade's music jukebox playlist is currently using my Big80s.atf playlist that is populated with old 80s mp3s
musicvol|70|#editable||
Here, the volume of the playlist is set to 70%
musicrandom|true|#boole|when set to true a random mp3 will be played from the current playlist|
...and here it plays in shuffle mode
I guess, if we equate each 3DArcade environment as the single GUI for RetroPlayer, then the above settings should equate similarly to the way RetroPlayer could handle playing music playlists. I am unclear on how you cited the instantiation of it however. Are you saying music will only play, or start playing after you select a ROM to play? Or will the music list play while navigating around the GUI while deciding which game to play?
I was thinking more along the lines that once a playlist has been selected in the settings, maybe it just starts, or you hit play right there and remains persistent throughout the Retroplayer session. Can this setting be persistent so that when you start retroplayer it will start playing when entering the GUI and continue playing uninterrupted even when starting and exiting different EMUs/games? I don't think I'd have a need for controlling the music or having it change/fast forward/skip or anything like that once it starts playing. I'm fine with letting a playlist simply play continuously, shuffled and uninterrupted while in the RetroPlayer GUI and while starting, playing and exiting my games while in the RetroPlayer session