Closed ginjaninja1 closed 4 years ago
My current wishlist is Item.IMDBID Series.IMDBID (may not be the same id if the item is an Episode) Item.Libraryname Item.EpisodeNumber Item.SeasonNumber Items.ProductionYear
thanks for considering
onMediaItemAdded currently fires when Emby creates virtual episodes (when 'show missing episodes in library' setting is enabled)
SO ideally "Item.IsVirtualEpsiode" would be an available parameter so these could be excluded (either in scripting or on conditions)
Absolutely mate, I love these suggestions!
I've added the following tokens so far :
%server.name%, %server.port.public.http%, %server.port.public.https%, %server.version%, %server.platform.os%, %server.platform.osver%
MediusDev, 8096, 8920, 4.4.2.0, Win32NT, 6.2.9200.0
along with scripterx version (i'll add that to the version issue)
I've also added %server.platform.uptime% and I've created it such that it formats as: Server Uptime: 6d 0h 8m 56s Which is %server.platform.uptime% = 6d 0h 8m 56s Would it be more helpful to have another format as well for use in scripting?
Also added most of your requests mate :)
Episode: %item.name%, Series Name: %series.name%, Season Number: %season.number%, Episode Number: %episode.number%
Episode: Mind Over Murder, Series Name: Family Guy, Season Number: 1, Episode Number: 4
Sorry, %item.productionyear% is also added:
Episode: %item.name%, %series.name%, Episode %episode.number%, Production year: %item.productionyear%
onPlaybackStart: Episode: A Hero Sits Next Door, Family Guy, Episode 5, Production year: 1999
I've also added %item.meta.%,%series.meta.%, %season.meta.%, where is the meta provider id for example,
%item.meta.imdb% will give you the imdb id for the item, where item is the episode or movie.
If its an episode, season, or series respectively:
Episode - %item.meta.imdb% is the imdb id for the episode, %season.meta.imdb% is the imdb id for the season the episode belongs to, and %series.meta.imdb% is the imdb id of the series that the episode belongs to.
If the item is a season, %item.meta.imdb% is that seasons imdb id, with series meta also available
If the item is a series, %item.meta.imdb% is the imdb id of the Series, as there is no season or episode in the event, those arent available at that stage which makes sense
Along with imdb, you could also use item.meta.tmdb or any other valid provider Id
Does this sound as per expectation here?
yes this as expectation thanks.
is Scripter Event type a notification parameter? was think of storing a queue of events from multiple sources in one file and looking for a way to distinguish adds from updates from removes
i realise now thats was a silly suggestion as i can pass my own value for event type as i am define the script parameters.
That's okay mate, thank you so much for helping get this one sorted out :)
Anthony you asked for ideas for variables.
This list was extracted raw from Tautulli (Plex's equivalent to ScripterX in terms of event notification) Of course the list is enormous and would need to be viewed through the lens of what Emby provides, and your user's priorities, but it is one source of ideas.
I believes the list equally applies to conditions should they ever be introduced.