How to check is XMB Music player is playing?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

How to check is XMB Music player is playing?

Post by Torch »

How do I check is music is currently playing in the XMB player?
I understand that there might not be a 100% reliable way to do the above because its probably completely software controlled, but anyways..
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

well i don't know the details, but the solution might be always the same: hook the player module's functions that start/stop music with fake ones like

Code: Select all

newFunctionA()
{
   signalFunctionACalled();
   functionA(); // call old function
}
...just the idea for it...if you ask me how to do it,....well i'm still having headaches with my projects using this technique.
To start you could take a look into pikey sources; then, remember to always hook kernel functions with kernel functions and so on...
User avatar
jean
Posts: 489
Joined: Sat Jan 05, 2008 2:44 am

Post by jean »

arghhh!! doublepost! sorry.
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Thanks but I no longer need to check the music player, I found another way to do what I want.
Post Reply