You won't notice any change when playing locally or to a chromecast, but when playing to a spotify connect device, the media controls which are not usually there, re-appear.
Without | With |
---|---|
Handlebars.registerHelper('betterTitle', function (filepath) { | |
return new Handlebars.SafeString( | |
JSON.stringify(filepath.data.root.files[0].name).replace(/\.[^/.]+$/, "").replace('"', '').replace('"',"") | |
); | |
}); |
/* Extension using the JavaScript Speech API for text to speech */ | |
/* Sayamindu Dasgupta <sayamindu@media.mit.edu>, April 2014 */ | |
new (function() { | |
var ext = this; | |
/*function _get_voices() { | |
var ret = []; | |
var voices = speechSynthesis.getVoices(); | |
Read entities inventory:
Must be done in command block. To trigger redstone or another commandblock, you must set the main commmandblocks’ setttings to Always Active On, and set the command block type to repeat, then place a comparator to get redstone output
/execute if entity !!SELECTOR!![nbt={Inventory:[{id:"!!ITEM_ID!!",tag:{display:{Name:'{"text":"!!Item_Display_Name!!"}'}}}]}]