Add keyboard support for fast forward / fast backward
I use a bluetooth keyboard and would like to press a button to skip forward and backward (a few seconds) as you do on a touch screen with >> and <<.
Nowadays Podcastaddict only supports media keys and only their direct actions, as media play/pause, media next, media previous, volume up/down. (Meaning you can't even map fastforward to media_next button)
I even can write my own application to pass actions to PodcastAddict on key press, or one can use Tasker, but one needs to know what to pass (the Intent or http command) to your application for this action (fast forward/backward).
Tell me please, is it possible?
Do you have Intents for such actions? Are you planning to allow to extend the external support for more actions (other playlist actions, maybe actions like 'add podcast with address') from other applications?
Other cool idea to support the keyboard is to have all actions that you (author) provide in a config xml (as Kodi has), where the user can edit the key and the action for this key. In this way, if you provided the SkipForward/Backward action, a user could map any key he/she would like to the user interface of PodcastAddict.
This feature has now been released
@Xavier Thank you for your perfect program, I really like it as many others do. Very useful and has many cool features, as playback speed control, automatic adding of new podcasts to the playlist and so many other functions.
@others who want to use external keyboard to control PodcastAddict. To the extent that Xavier adds new Intents one can solve this task (very hacky way, but anyway) by using XPosed Additions (only full version) + Tasker (Send Intent). Also, Automate (not AutomateIt, simply Automate) can be used instead of Tasker.
You're right I will add arguments to some intents in the v3.11
Thanks for the suggestion.
Ah, I see. Maybe in the future.
Unfortunately, the remote controls of Player menu setting would not help in my case, I need to both skip forward/backward and also skip to next track and previous track on the playlist. With the either setting you can do the fast forward OR next track, not both.
By the way, why not do the intent with the parameter, of how many seconds to rewind? Or the speed to play (so you could pass to Intent 0.9 or 1.5)?
Skip forward / Backward intents use the app settings and will skip the number of seconds selected in the app settings.
For the rest it's not that it's difficult to implement it's just that it's too specific and I don't want to add more complexity to the app than it already has.
All right then.. I'm not a big Android nerd, but I do not think it's difficult to add hardware button support to the app, api surely exists and not difficult to use.
Anyway, then please add more Intents in the future. I would love to see speed 0.8 and speed 0.9.
Also, there's a setting how many seconds you want to rewind/skip with >> and <<. Why is the intent doing the fixed jump of 30 secs forward and 15 backwards? It can read that setting, at least.
The app only react to Android media remote controls. If you can map some keyboard action to emulate Android remote controls then you will be able to control the app with those keyboard shortcuts.
Sorry but you won't be able to map 'keys' to remote controls within the app
Hello, Xavier. Did I get correctly, that the only way to assign the action to the keyboard key (other than media button) is through some tricky way like Intent+Tasker and would not be an easier way in your app to use the bluetooth keyboard in the nearest time?
You will find the complete list of supported Intents in the app FAQs. You can also map Next episode command to fast forward if you want to (Settings/Player/Remote controls => skip forward/rewind controls)
Also, speed up/speed down actions would be cool as well..
Forgot to note, of course I was talking about PodcastAddict internal player.