question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement action types pause, resume and restart

See original GitHub issue

Describe the solution you’d like If a media file is played, it is possible to say “stop” to stop playing. Similarly, with the following action types, it should be possible to

  • pause the playing of a media file (youtube, mp3 etc) with the action type pause
  • resume the playing of a media file which has been paused with the action type resume
  • restart the playing of a media file (either currently playing or paused) with the action type restart

Additional context Examples: https://api.susi.ai/susi/chat.json?q=pause

"actions": [{"type": "pause"}]

https://api.susi.ai/susi/chat.json?q=resume

"actions": [{"type": "resume"}]

https://api.susi.ai/susi/chat.json?q=restart

"actions": [{"type": "restart"}]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tmccormicommented, Oct 16, 2018

Adding an action to change the volume up and down seems to be relevant for this feature request as well

1reaction
sansyroxcommented, Aug 1, 2018

@Orbiter , right now we pause the Music to process the second query. Now we would have to follow a different approach. Should we be reducing the volume of the music player instead??

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding Start, Pause, Resume and Stop to our App (Part 5)
When the user is in the PAUSED state and presses Resume (or, Start): We resume the stopwatch by calling its start() method. We...
Read more >
Pausing and Resuming an Activity | Android Developers - MIT
If the user returns to your activity from the paused state, the system resumes it and calls the onResume() method. Note: When your...
Read more >
Start, stop, pause, resume, and restart SQL Server services
Find out how to start, stop, pause, resume, or restart various SQL Server services. See how to use Transact-SQL, PowerShell, and other tools ......
Read more >
Lower your costs with the new pause and resume actions on ...
Pausing a cluster suspends compute and retains the underlying data structures and data so you can resume the cluster at a later point...
Read more >
Understanding Success Criterion 2.2.2: Pause, Stop, Hide
A stock ticker has "pause" and "restart" buttons. Pausing the ticker causes it to pause on the currently displayed stock. Restarting causes the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found