keyboard interaction?

Need help? Post your questions here.

Moderator: moderators

keyboard interaction?

Postby karamorf » Thu Oct 14, 2010 3:49 pm

Its pretty annoying to have to change to the subsonic tab to pause whatever is being played. I tried the SubAir client, but it didn't work. For whatever reason it wouldn't actually play the music. Not really convinced of the quality of this app either (1.1.1.1 doesn't work but http://1.1.1.1:4040 does? This is laziness by the developer), so don't really want to figure it out to be more functional. Perhaps there is a better way to interact with the server (on Ubuntu)?

Then I figured I could just use the API and throw a couple wget commands together to manipulate the playlist. Then map said commands to various buttons on the keyboard. Ya, I didn't see anything close to helpful for making a URL like that in the documentation.


How have other people gotten their keyboard to interact with Subsonic?
karamorf
 
Posts: 2
Joined: Wed Oct 13, 2010 3:36 pm

Postby donjulien » Wed Oct 27, 2010 9:30 pm

+1

I thought of the same, configured the player to jukebox, and wanted to do something like

Code: Select all
http://your-server/rest/jukeboxControl.view?action=playpause


Only that there is NO "playpause", only "play" or "stop". In fact, there is no "next" or "previous" either.

Maybe I don't understand jukebox player, but I really would like something like this to be implemented. With these actions, a dash of wget or curl, and some duct tape, off we would go!

In fact, if we could configure MANY jukebox players (to different audio devices), we could even serve different zones ;)
donjulien
 
Posts: 16
Joined: Fri Oct 22, 2010 12:13 am

Postby colli419 » Wed Nov 03, 2010 8:24 pm

+1

Would love to see keyboard interact with Subsonic, as I use it for my primary music player on all my boxes. Setting it as a jukebox player would follow by extension I would think though, because you would have the player open already.

Cheers
colli419
 
Posts: 75
Joined: Thu Aug 27, 2009 8:23 pm

Postby Tippi » Thu Nov 04, 2010 9:40 am

Keyboard interaction is the reason i coded jSub. Have a look here:
http://forum.subsonic.org/forum/viewtopic.php?t=4479

You can use the keyboard buttons for play, pause, stop, next, previous to handle playback.
There is no jukebox mode yet but if enough people want it I can (try to) implement it. First I need response to know if the effort is worth it.
Tippi
 
Posts: 12
Joined: Sun Oct 17, 2010 8:24 am
Location: CB, Germany

Postby GJ51 » Wed Dec 08, 2010 4:40 am

Why not just set it up to play in whatever your favorite desktop player is by defining an external player with playlist that recognizes keyboard commands?

Works fine in WMP.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: keyboard interaction?

Postby wolfdown » Wed May 14, 2014 12:59 am

@GJ51, can you explain how you setup subsonic to do this? By that I mean, play subsonic tracks in an external player on my desktop?
wolfdown
 
Posts: 10
Joined: Sun Jan 05, 2014 3:25 am

Re: keyboard interaction?

Postby GJ51 » Wed May 14, 2014 1:45 am

I'm only a Windows guy, I'm only a Windows guy....

That said, the external player feature can be a bit finicky to set up and in my estimation is of questionable valu, but if you insist...

On Windows you have to first designate the program that you want to use as your default player, be it VLC or WMP or any of a thousand others you can chose from. I personally like VLC primarily because it can usually handle almost any codec you throw at it.

You set the default in Control Panel/Defaut Programs - "Set your default programs." Once the list populates just pick your player then click OK.

Now go into subsonic and go into Settings/Players. Select the current Player that was onscreen when you logged in and just modify it by clicking on the radio button for either External player or Ext Player with Playlist and scroll to the bottom and Save.

Hopefully, if all goes to plan when you use that player it will transfer the playlist in your browser and you can select open or save. Select Open and it should open you player and begin playing.

I've only had success with this using IE on Windows - never seems to work right in other browsers for me, but it's probably just me.

HTH
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Help

Who is online

Users browsing this forum: No registered users and 11 guests