r/tasker • u/joaomgcd π Tasker Owner / Developer • Oct 20 '22
Developer [DEV] Since Pocket Casts is now open source I couldn't resist to adding a Tasker plugin to it! π
I know, I know, I already have a lot of stuff to do! But I couldn't resist!
Pocket Casts is now open source so anyone can contribute to its code now!
I use Pocket Casts daily and one of the things I do the most in it is playing all the episodes in a certain filter in the Filters tab in the app.
I always have to
Open the app
Find the filter
click on menu
click on Play All
confirm that I want to overwrite the current playlist
These are a lot of steps!
Now I can simply have a physical button (Flic) that makes Tasker do all of that for me and I don't even have to turn on the phone's screen! π
You can check out the fork with this addition here: https://github.com/joaomgcd/pocket-casts-android/tree/taskerplugin
I already created a pull request so that they add the feature to the regular version itself: https://github.com/Automattic/pocket-casts-android/pull/431
3
u/rodrigoswz Oct 20 '22
Thank you so much for that JoΓ£o, I finally have a valid reason to change my podcast aggregator π
1
u/joaomgcd π Tasker Owner / Developer Oct 21 '22
Nice! ππ I added a new action too! It's the Control Playback one.
BTW, were you able to build a "release" version of the app? π
1
u/rodrigoswz Oct 21 '22
Time to build again π
And no :( I managed to build only debug one, release version results an error of some missing Google component... honestly I don't remember what exactly
1
u/joaomgcd π Tasker Owner / Developer Oct 21 '22
Yeah, same here :P Let me know if the new action works for you if you can.
3
2
u/bekaladin Oct 21 '22
Off-Topic: Podcasts recommendation? What do you watch/listen?
1
u/joaomgcd π Tasker Owner / Developer Oct 21 '22
Mostly:
This Week in Tech
Conan O'Brien Needs a Friend
All About Android
Player One Podcast
Coffee & Coding
A bunch of Portuguese Podcasts
2
1
u/joelrendall Oct 20 '22
Amazing! Any chance of getting support to skip to Next chapter for podcasts that have chapters? I've been trying to find a solution for ages
1
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
Does the app natively support that?
2
u/joelrendall Oct 20 '22
Not sure, I am a recent convert from iOS after being bored by their complete lack of innovation π. I tried to explore some of the intents in Pocket casts and I couldn't find them. I'm not sure if I fully discovered all of the potential ways that an app can be interacted with. Still learning, absolutely loving Tasker so far! :-)
1
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
I meant in the app itself :) Are you able to do what you wanted using the app's normal UI? If so then you can probably do that via Tasker as well!
2
u/joelrendall Oct 20 '22
Absolutely. When an episode has chapters added to it by the show's creator, the Now Playing interface shows < and > buttons for skipping to Prev / Next chapter. I have been able to use AutoInput to automate it, but it will take a bit more work to account for situations where the Now Playing screen is / isn't expanded. It would be amazing if there were a way to automate it without UI automation, to be able to control chapters without opening the app (using widgets, gestures, lock screen shortcuts etc). But not sure if it's something that PocketCasts would have to support first
1
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
Can you please tell me an example of an episode that supports that so I can try it out? :) Thanks!
1
u/joelrendall Oct 20 '22
https://pca.st/episode/8dbf61b2-be2a-4d8f-8c13-9a7fe828b59f Thanks so much for looking into it! Γs um gΓͺnio π
1
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
Yep! Just tried it and it works! It's pretty simple to do as well! π
1
u/joelrendall Oct 20 '22
That's amazing! Are you using intents to do it? Any hint on how to make a tasker automation for it?
4
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
I'm not using intents, I just created another action in the Tasker plugin I created to control playback and one of the options is skipping to the next chapter :)
→ More replies (0)2
u/joelrendall Oct 20 '22
(Ps. I've bought all the Tasker add-ons, even those I don't need since from what I can tell you charge too little for your apps for the amount of power they have. A shame everyone wants everything for free and gets offended by subscriptions because your app suite deserves alot of support)
1
u/sid32 Direct-Purchase User Oct 20 '22
Looking forward to the Antennapod fork you create.
2
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
Haha, I don't use that app so I won't create that π
-2
u/sid32 Direct-Purchase User Oct 20 '22
Next fix the on going album art for individual episode bug not work...) Please..
12
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
I'm not going to fix another app's bugs, sorry! π I have my hands full with my own issues right now!
1
0
Oct 20 '22
[deleted]
3
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
Tasker is already part of Google Play Pass actually π
0
0
Oct 21 '22
[deleted]
1
u/joaomgcd π Tasker Owner / Developer Oct 21 '22
Haha how exactly would I make big bucks doing that? π
14
Oct 20 '22
[removed] β view removed comment
19
u/joaomgcd π Tasker Owner / Developer Oct 20 '22
As soon as I saw the news I got the irresistible urge to do it! Had to! π
3
6
4
u/bkuri Oct 20 '22
Wow, this is amazing news. Just a few days ago I sent on a feature request and was told that I would need to convince a bunch of users for it to be considered.
Since you've looked at the code, how difficult would you say it would be to add an intent (Ie
au.com.shiftyjelly.pocketcasts.action.ARCHIVE) that would allow me to archive the current episode and jump to the next one?Currently this requires multiple taps unless the main screen is active, which is not always the case.
Anyways, do keep up the excellent work as you always do, u/joaomgcd!