VLC Android Intent to Stop playback?
Posted: 31 Aug 2020 00:07
I use this intent to start an internet radio stream on VLC.
https://wiki.videolan.org/Android_Player_Intents/
What I want to do is use an intent to Stop that internet stream. Is there an intent method to do that?
I'm trying to make an app for personal use only that with one press it will:
1. stop internet stream immediately(not pause)
2. wait a predetermined amout of time(probably will be three minutes)
3. then start the internet stream
I know how to do 2 and 3 but not sure of number 1. I'm thinking I could have some .ogg silence file play and set duration for 1 second but wondered if there is a simpler code.
Doing this so I can skip ads on streams that I listen to in case you were wondering.
https://wiki.videolan.org/Android_Player_Intents/
What I want to do is use an intent to Stop that internet stream. Is there an intent method to do that?
I'm trying to make an app for personal use only that with one press it will:
1. stop internet stream immediately(not pause)
2. wait a predetermined amout of time(probably will be three minutes)
3. then start the internet stream
I know how to do 2 and 3 but not sure of number 1. I'm thinking I could have some .ogg silence file play and set duration for 1 second but wondered if there is a simpler code.
Doing this so I can skip ads on streams that I listen to in case you were wondering.