Thomas
Thomas
Yeah I've been looking through it - It only seems to update when you click pause and play buttons not on skipping songs. I don't have time to work on...
@kgarner7 I found it!! I was looking through MPV to see how they did it (take it from the pros): https://github.com/mpv-player/mpv/blob/7f3ca6c524d01d92f756909ccdf877bccd627808/osdep/mac/remote_command_center.swift#L148-L158 We probably need to use this on mac: https://developer.apple.com/documentation/mediaplayer/mpnowplayinginfocenter...
I'm working on it on my branch https://github.com/explosion-scratch/feishin/tree/mac-control-center It currently only works in the web version of the app (using hardcoded data here):
@kgarner7 I would love to! Thanks for your advice on which sections, I'm very new to react 😅 (more of a Svelte/Vue guy). I have a busy week this week...
Use [ScratchAddons](https://scratchaddons.com) instead of this
@LiamRiddell Not parsing and evaluating LaTeX per se, but just ignoring the `$` and splitting on `=`. In the example above this would split by equals to get `(2.14*e-5)270$`, then...
All good! A cool thing that I might PR in the future would be to convert LaTeX to ASCIIMath then solve that
@LiamRiddell You could use https://github.com/Crownie/latex-to-js/blob/e878ba070936388988eb245a4d031125df68e788/latex-to-js.js
```js function options(plugin, options){ return (instance) => instance.use(plugin, options) } ``` Now: ```const plugins = options(MarkdownItAnchor, {opts here})```
Try the [userscript version](https://github.com/Explosion-Scratch/to-userscript/blob/main/examples/web-search-navigator.user.js) for now?