SvenGTC Wrote:Hello elitegamer360
first thanks for your work.
I missed one Function: Shuffle on/off - is this possible?
No probs any time mate :-)
I am not a intense Music user my iTunes does a better job than XBMC I think
I've always wanted an iTunes plugin that can read my iTunes library but no good news for me yet. Any ways back to subject!
You see when you go file mode or Library mode and select a file to play you will have a full shuffled playlist for the Album created for you, see this
wiki it has every thing you need to know to make the most out of your music and playlists.
The short answer! Yes it's kinda possible
All you need is to edit Keyboard.xml and insert a code in it. You might need to assign two buttons or One button to achieve this, Depends on what you like really :-)
I use
XML Marker in my examples, please use it to avoid errors.
One button solution:-
Say for example we want to use button "G" to shuffle music and to turn Shuffle Off, the fucntion in XBMC is Called "Random" make sure you select a letter or a letter combination that's not currently used to avoid conflicting commands.
1- Edit Keyboard.xml and on the left window tree view select + Keymap to show the full tree and then Select "
MyMusicPlaylist".
2- It will highlight the proper section on the right window, for the code insert this
Code:
<g>PlayerControl(Random)</g> <!-- Randomise playlist -->
below
Code:
<backspace>Playlist</backspace> <!-- Close playlist -->
if you want.
3- Now Select on the Tree View "
MyMusicPlaylistEditor" and insert
Code:
<g>PlayerControl(Random)</g> <!-- Randomise playlist -->
like you did above.
4- Now Select "
MyMusicFiles" and insert
Code:
<g>PlayerControl(RandomOff)</g> <!-- Random Off Library/Files mode -->
like you did above.
5- And finaly Select "
MyMusicLibrary" and insert
Code:
<g>PlayerControl(RandomOff)</g> <!-- Random Off Library/Files mode -->
by using this method when you select a song in File or Library mode XBMC will create a Random Playlist automatically if you press G the list will be played sequently, but if you go to the playlist view and press G shuffle will be activated and every time you press G the list will be shuffled.
This is easy I think because if you are using a remote you can use one button instead of two.
Save and Close XML Marker. Enjoy XBMC.
Two button solution:-
Say for example we want to use button "G" to shuffle music and to turn Shuffle Off we will use "Ctrl-G", buttons will be working in Playlist view only so you can see the Action happening.
by now you should get the hang of XML Marker and editing xml files, I'll just give you the code and where to insert it.
In
MyMusicPlaylist insert this code:
Code:
<g>PlayerControl(Random)</g>
<g mod="ctrl">PlayerControl(RandomOff)</g>
Then in
MyMusicPlaylistEditor do the same:
Code:
<g>PlayerControl(Random)</g>
<g mod="ctrl">PlayerControl(RandomOff)</g>
Save and Close XML Marker. Enjoy XBMC.
any probs let me know.
Cheers,
EG.