Add Jellyfin Events

This commit is contained in:
KGT1 2020-09-19 09:01:09 +02:00
parent 831dd98ec6
commit 715eee0a5f

View File

@ -1,5 +1,5 @@
const { ApiClient } = require('jellyfin-apiclient'); const { ApiClient , Events } = require('jellyfin-apiclient');
const CONFIG = require('../config.json'); const CONFIG = require('../config.json');
const os = require('os'); const os = require('os');
@ -13,7 +13,12 @@ function getJellyfinClient(){
return jellyfinClient; return jellyfinClient;
} }
function getJellyfinEvents(){
return Events;
}
module.exports = { module.exports = {
getJellyfinClient, getJellyfinClient,
getJellyfinEvents,
init init
} }