Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Simple way to suspend/unsuspend cards with Audio

Open hssm opened this issue 11 years ago • 17 comments

Originally reported on Google Code with ID 93

It would be great if one could easily suspend / unsuspend all cards in a
deck with audio in the Android version of Anki.  The logic is that
AnkiDroid is portable, and therefore used in a variety of environments -
some not conducive to audio.
When in a quiet room where the user can hear audio, and where audio would
not disturb others, one would prefer that all cards of a category be in the
same deck, and audio cards would be mixed in with recall and visual
recognition cards.
However, users will often want to use AnkiDroid on a loud train, or in a
quiet library where audio cards are not helpful.  It would be nice if one
could simply suspend any card that plays audio for those occasions where it
is not convenient, and un-suspend when the location is more suited for audio.
Of course one could turn down the audio and fail the cards, but that
defeats the learning algorithms.  I don't know how the community at large
feels about headphones, but I for one don't like to carry them everywhere I
go...whereas I do carry my Droid everywhere, and use AnkiDroid for a few
minutes here and there as I'm able.

Reported by gravel.jdp on 2010-04-23 03:32:33

hssm avatar Jul 28 '15 06:07 hssm

Reported by nicolas.raoul on 2010-04-23 03:35:35

  • Status changed: Accepted
  • Labels added: Type-Enhancement
  • Labels removed: Type-Defect

hssm avatar Jul 28 '15 06:07 hssm

One more thought...rather than going through the entire deck and suspending /
suspending, a much simpler and faster solution might be to simply skip cards that
have audio as they come up.  No need to walk through the entire deck, nor to touch
cards that aren't due anyway.

Reported by gravel.jdp on 2010-05-11 02:44:27

hssm avatar Jul 28 '15 06:07 hssm

Reported by edu.zasu on 2010-08-27 14:55:03

  • Labels added: Audio

hssm avatar Jul 28 '15 06:07 hssm

just a thought....implementing "Selective Study" (http://ankisrs.net/docs/SelectiveStudy.html)
would be one way to address this issue and to remain consistent with Damien's work
as well.

Reported by gravel.jdp on 2011-04-09 23:38:18

hssm avatar Jul 28 '15 06:07 hssm

Selective study on tags is supported for a while now.

Reported by inigo.aldana on 2013-01-08 08:36:45

  • Status changed: Fixed
  • Labels added: Milestone-Release1.0

hssm avatar Jul 28 '15 06:07 hssm

Do cards with audio have a specific tag?

Reported by nicolas.raoul on 2013-01-08 08:41:02

hssm avatar Jul 28 '15 06:07 hssm

Not really, it's up to the user to pick one

Reported by inigo.aldana on 2013-01-08 08:48:01

hssm avatar Jul 28 '15 06:07 hssm

I think that disabling audio cards would be a useful feature for mobile devices, and
AnkiDroid could make this easy without forcing the user to use tags... how about reopening
as low priority?

Reported by nicolas.raoul on 2013-01-08 08:54:10

hssm avatar Jul 28 '15 06:07 hssm

Sure :)

Reported by inigo.aldana on 2013-01-08 08:56:35

  • Status changed: Accepted
  • Labels added: Priority-Low, Tags
  • Labels removed: Priority-Medium, Milestone-Release1.0

hssm avatar Jul 28 '15 06:07 hssm

This is now possible. Open the card browser. Search for [sound. Long press on any card to enter the multiselection view. Menu -> Select all. Hit the suspend button (which looks like a pause button).

snoyes avatar Oct 30 '19 18:10 snoyes

Clever @snoyes ! I hadn't thought of doing that. It doesn't quite meet the definition of simple for me but I could imagine combining it with then using the option menu to 'Save search' then making it very easy to toggle those cards on and off again. Still not like just having an option built in, but it's available now and thus "free".

mikehardy avatar Oct 30 '19 21:10 mikehardy

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Jun 04 '20 00:06 github-actions[bot]

I never thought about it, but yeah, that’s a feature that would help me a lot. I don’t want to actually suspend the card, that seems like a bad idea. But I certainly would want to have an option in the reviewer that request to skip the cards that use any media.

I believe an easy implementation is that if the scheduler provides a card with media, it gets buried. And we keep track of all medias that were buried due to this option and unbury them once the reviewer get closed. A better solution would be to add the option in the back-end code. I’ve no idea whether this is something @dae would accept (so I’m asking the question). I believe the simplest way to implements this is in the back-end would be to add NOT ( WHERE column LIKE '%[sound:%'). Admittedly, that would entirely eliminate the note with a sound, even eliminate the cards that don’t contain the sound. But this would feature to be done on database side only, which seems like a good thing to do.

Another solution would be to add an entry in the card entry to state whether the card has any media. But I don’t expect this feature to be worth requiring a new database schema

Arthur-Milchior avatar May 13 '25 14:05 Arthur-Milchior

Hi is this still an issue because now we have the toggle suspend button?

RealCodeFixes avatar Aug 30 '25 14:08 RealCodeFixes

It's still an issue.

We probably want this to leave cards in a 'manually buried' state

david-allison avatar Sep 02 '25 22:09 david-allison

A simple solution would be to add another custom study option that would create a filtered deck with the search "deck:deck name here" -"[sound\:".

Or

"deck:deck name here" -re:\[sound:.*?\]

But admittedly no searches can handle special templates (TTS, audio played by JavaScript, etc).

ZornHadNoChoice avatar Oct 10 '25 19:10 ZornHadNoChoice

I was initially implementing a suspend/unsuspend approach, but after reading the discussion it seems a filtered deck or manual bury approach might better match intended behavior.

Would you prefer a custom study option that creates a filtered deck excluding cards containing [sound:], or a reviewer-level bury mechanism?

Mahakbajpai avatar Feb 21 '26 13:02 Mahakbajpai