Jump to content
Flirc Forums
Sign in to follow this  
hhbernd

[XBMC] Music not Pausing

Recommended Posts

Hello everyone,

i have a ZBOX ID41+ and XBMXbuntu and want to use it with my Harmony. I followed the steps above and programmed the harmony as Panasonic TC-P65VT30. For Keymapping i used the attached pdf from Chris - thank you !

Everything seems to work. Only the play/pause-button doesn't work while playing a song. If i press the pause-button, the menu shortly disapears but nothing else. If i push the play button during playback, the song starts from the beginning.

In videomode when watching a film, the play and pause button works as usual.

Can anyone help ?

Thanks

Bernd

[Note from Chris: This Topic was split from "Recommended Harmony Device" () as it is mainly about changing a keymap]

Share this post


Link to post
Share on other sites

Hi hhbernd, welcome to the Flirc forums,

I've given it a go and you are correct (I don't usually use XBMC for music so didn't notice it earlier).

The issue appears to lies with XBMC. You should notice that thesong start from the begging when p is pressed if XBMC is currently hovering over that song. You have two options for pausing:

1) Come out of the music section (to the homescreen for example) then press p or space bar

2) Press tab to go into visualise then press space

Pleasant regards,

Chris!

Share this post


Link to post
Share on other sites

Hi hhbernd, welcome to the Flirc forums,

I've given it a go and you are correct (I don't usually use XBMC for music so didn't notice it earlier).

The issue appears to lies with XBMC. You should notice that thesong start from the begging when p is pressed if XBMC is currently hovering over that song. You have two options for pausing:

1) Come out of the music section (to the homescreen for example) then press p or space bar

2) Press tab to go into visualise then press space

Pleasant regards,

Chris!

Hi Chris ant thank you for the welcome,

OK - the workaround you mentioned works - but is there any chance of doing anything within the keymap to give the play/pause button back the normal function ? I mostly hear music with XMBC and miss the function very much.

Cheers

Bernd

Share this post


Link to post
Share on other sites

Thanks to Burke's I too decided to have a little stab at keymapping.

Even though you mentioned your platform i'm gonna generalise a tad so others can benefit (if required):

How to change Music control so Spacebar is always pause

1) Find your keyboard.xml file:

Keymap configuration files are stored in the "keymaps" folder in the userdata (http://wiki.xbmc.org...?title=Userdata) folder:

- Windows XP: Documents and Settings\%userprofile%\Application Data\XBMC\userdata\

- Vista/Windows 7: Users\%userprofile%\AppData\Roaming\XBMC\userdata\

- Mac OS X: /Users/<your_user_name>/Library/Application Support/XBMC/userdata/

- iOS: /private/var/mobile/Library/Preferences/XBMC/userdata/

- Linux: $HOME/.xbmc/userdata/

2) Open your keyboard.xml in wordpad/TextEdit/another basic text editor

3) Find the section that deals with music controls, it should look something like this:

<MyMusicPlaylist>

<keyboard>

<space>Back</space>

<delete>Delete</delete>

<u>MoveItemUp</u>

<d>MoveItemDown</d>

</keyboard>

</MyMusicPlaylist>

<MyMusicPlaylistEditor>

<keyboard>

<u>MoveItemUp</u>

<d>MoveItemDown</d>

<delete>Delete</delete>

</keyboard>

</MyMusicPlaylistEditor>

<MyMusicFiles>

<keyboard>

<space>Playlist</space>

<q>Queue</q>

<delete>Delete</delete>

</keyboard>

</MyMusicFiles>

<MyMusicLibrary>

<keyboard>

<space>Playlist</space>

<q>Queue</q>

</keyboard>

</MyMusicLibrary>

4) Change the "<space>Playlist</space>" to "<space>Pause</space>" (in bold below for emphasis)

<MyMusicPlaylist>

<keyboard>

<space>Pause</space>

<delete>Delete</delete>

<u>MoveItemUp</u>

<d>MoveItemDown</d>

<backspace>Playlist</backspace>

</keyboard>

</MyMusicPlaylist>

<MyMusicPlaylistEditor>

<keyboard>

<u>MoveItemUp</u>

<d>MoveItemDown</d>

<delete>Delete</delete>

</keyboard>

</MyMusicPlaylistEditor>

<MyMusicFiles>

<keyboard>

<space>Pause</space>

<q>Queue</q>

<delete>Delete</delete>

</keyboard>

</MyMusicFiles>

<MyMusicLibrary>

<keyboard>

<space>Pause</space>

<q>Queue</q>

</keyboard>

</MyMusicLibrary>

5) Save the keyboard.xml. (Close XBMC if open, then) Open XBMC and it should work great.

Let us know how it goes.

Share this post


Link to post
Share on other sites

Hi Chris,

thank you again for your help. I followed your instructions and realized that there was no keyboard.xml in my home/bernd/.xmbc/userdata/keymaps folder. I loaded the default keyboard.xml which is shipped with XBMC from here and edited the file as shown above. Then i saved it in the above shown path and folder.

Every button works but when I press the play-button XMBC crashes and restarts.

Can you imagine what is wrong ?

Share this post


Link to post
Share on other sites

Oh dear. Does the play button cause a crash everywhere in xbmc (music, video etc) or just one place.

A debug log may help. I'll help where I can but it may turn out to be an XBMC issue.

Pleasant regards

Chris

Share this post


Link to post
Share on other sites

Topic closed :-)

Everything works: is sompletely did a new XBMCubuntu - setup. Now the play/pause button works with the modification of keymapping as shown above.

Thank you for your help !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×