- resume position
- audio track
- subtitles track
- audio delay (specific setting for BT headsets)
- subtitles delay
- start paused
- Aspect ratio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private class ChannelListScrollListener extends RecyclerView.OnScrollListener { | |
| RequestManager glide = ((ListAdapter) mBinding.channelList.getAdapter()).getGlideRequestManager(); | |
| @Override | |
| public void onScrollStateChanged(RecyclerView recyclerView, int newState) { | |
| if (newState == RecyclerView.SCROLL_STATE_SETTLING) | |
| glide.pauseRequests(); | |
| else | |
| glide.resumeRequests(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| b64 "encoding/base64" | |
| "io/ioutil" | |
| "net" | |
| "net/http" | |
| "strings" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| abstract class DiffUtilAdapter<D, VH : RecyclerView.ViewHolder> : RecyclerView.Adapter<VH>(), CoroutineScope { | |
| override val coroutineContext = Dispatchers.Main.immediate | |
| protected var dataset: List<D> = listOf() | |
| private set | |
| private val diffCallback by lazy(LazyThreadSafetyMode.NONE) { DiffCallback<D>() } | |
| protected val detectMoves = true | |
| private val updateActor = actor<List<D>>(capacity = Channel.CONFLATED) { | |
| for (list in channel) internalUpdate(list) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dig -4 @resolver1.opendns.com ANY myip.opendns.com +short | |
| curl -X PUT -H "Content-Type: application/json" \ | |
| -H "X-Api-Key: $APIKEY" \ | |
| -d '{"rrset_ttl": 10800, | |
| "rrset_values": ["xx.xx.xx.xx"]}' \ | |
| https://dns.api.gandi.net/api/v5/domains/<domain.tld>/records/hal/A | |
| curl -X PUT -H "Content-Type: application/json" \ | |
| -H "X-Api-Key: $APIKEY" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define EXTENSIONS_AUDIO \ | |
| "*.3ga;" \ | |
| "*.669;" \ | |
| "*.a52;" \ | |
| "*.aac;" \ | |
| "*.ac3;" \ | |
| "*.adt;" \ | |
| "*.adts;" \ | |
| "*.aif;"\ | |
| "*.aifc;"\ |