Recognise difference in Spotify output?

I use Spotify of my player for everything. I would like to make a formula that changes the appearance of some objects depending if I'm using Spotify to listen to music or to podcasts. Is that even remotely possible?

Posted Jul 19, 2018, 6:01 PM UTC

16
BenRandomNameHere•

check what the track and artist info is for the currently playing track; I don't listen to podcasts in Spotify, so I am unsure if the default info provided to Kustom will cover your needs...

alternatively, wait until me and some big brains figure out how to call the Spotify API properly; might be trying to build a help-app to pull the plethora of extra info available in Spotify's API...

2
CigaretteFactoryOP•

That would be awesome!

Right now I'm basing it off the length. Over 25 mins is a good bet that it's a podcast but if feels so wrong

3
arawagcoGalaxy S9+, OG Pixel•

So you want $if(mi(package)=[Spotify's package name here] , [whatever you want it to do when it is Spotify] , [whatever you want it to be when it isn't] )$

Right?

2
Zungate•

Not what he's looking for sadly, he always uses spotify.

2
arawagcoGalaxy S9+, OG Pixel•

Ohhhhh, I misread the question.

Sorry, but why use Spotify for podcasts? They have fewer podcasts than most dedicated podcast apps, even Google Podcasts has more.

1
CigaretteFactoryOP•

Yeah sadly I use Spotify for everything sadly. Changing podcast service for a kustom I'll probably use for a month seems silly but I'm contemplating it :p

1