AnthonyMusgrove / Emby-ScripterX

Run custom external application or script (batch/bash/powershell/php/python/node.js/custom) on various events within the Emby Server.
https://emby-scripterx.com
78 stars 6 forks source link

Variables are Case Sensitive #18

Closed Penkethboy closed 4 years ago

Penkethboy commented 4 years ago

Describe the bug %item.name% works but %item.Name% does not - returns %item.Name%

Expected behavior If the variables need to be case sensitive then needs to be in the user notes. or the variables could be case insensitive?

Additional context Tested on v2.2.6 (windows) but been this way since the initial versions.

it's not a big issue just catches you out occasionally. The Test button will help with this :)

AnthonyMusgrove commented 4 years ago

This one has now been resolved! In the next version release, all tokens will be case-INsensitive. So %item.id%, %Item.ID%, %ItEM.iD% etc will work!