You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emby ScripterX: Tried to invoke function '_onMediaItemUpdated' on package with installationId 'b6956024-5963-4cb5-af49-0a74073abf6b' (function not implemented)
Package.js file
function _onMediaItemUpdated(context) {
ScripterX.Log.Info("TEST - ID " + context.Token("%item.id%").value + " using original title " + context.Token("%item.originaltitle%").value + " with IMDB " + context.Token("%item.meta.imdb%").value );
fetch(`https://api.allorigins.win/get?url=${encodeURIComponent('https://domain.com')}`).then(function(response){
if (response.ok) return response.json()
throw new Error('Network response was not ok.')
}).then(function(data){
ScripterX.Log.Info(data.contents);
});
ScripterX.Web.Get( ? )
// I need download webpage (wihout CORS, but I can use https://api.allorigins.win/get?url=${encodeURIComponent('https://domain.com')
}
The text was updated successfully, but these errors were encountered:
Emby ScripterX: Tried to invoke function '_onMediaItemUpdated' on package with installationId 'b6956024-5963-4cb5-af49-0a74073abf6b' (function not implemented)
The text was updated successfully, but these errors were encountered: