Can you add ranking support for the media keyboard?
0 views
Skip to first unread message
nickc316
unread,
Jan 28, 2008, 3:23:36 PM1/28/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openpandora
Hi All,
Would it be possible to mark a track as "I like it" / "I don't like
it" from a multimedia keyboard using the Rewind and Stop button? I
think this can be done in the file Player.cs file inside the function
"private void GlobalKeyUp()" at ~line:2839. You may be able to use the
following logic to be able to tag songs ...
/* existing */
else if (e.KeyCode == Keys.MediaNextTrack)
{
pandora.NextTrack();
e.Handled = true;
}
/* new */
else if (e.KeyCode == Keys.MediaPrevTrack)
{
pandora.Like();
e.Handled = true;
}
else if (e.KeyCode == Keys.MediaStop)
{
pandora.Hate();
e.Handled = true;
}
/* end new */
Let me know what you think and THANK you for this app!!