rbjtech 5284 Posted May 15, 2024 Posted May 15, 2024 Hi All, I did a quick search but could not find anything definative. I want to lock metadata via the api and/or c# I see there are some attributes such as BaseItem.LockedFields BaseItem.IsFieldLocked etc But not sure how I use them - does anybody have a code example of say locking the tags ? Thanks !
Luke 42077 Posted May 15, 2024 Posted May 15, 2024 Via the api it’s just an array of string so you would add Tags to the list and then update the item.
rbjtech 5284 Posted May 15, 2024 Author Posted May 15, 2024 3 minutes ago, Luke said: Via the api it’s just an array of string so you would add Tags to the list and then update the item. ah ok - I'll have a play - thanks for coming back to me. 1
softworkz 5066 Posted May 15, 2024 Posted May 15, 2024 Plugin API: Emby SDK Reference: BaseItem.LockedFields, Emby SDK Reference: BaseItemDto.LockedFields Fields enum: Emby SDK Reference: MetadataFields REST API: https://dev.emby.media/reference/RestAPI/ItemsService/getItems.html?q=getitems#MediaBrowser_Model_Dto_BaseItemDto 1
rbjtech 5284 Posted May 16, 2024 Author Posted May 16, 2024 8 hours ago, softworkz said: Plugin API: Emby SDK Reference: BaseItem.LockedFields, Emby SDK Reference: BaseItemDto.LockedFields Fields enum: Emby SDK Reference: MetadataFields REST API: https://dev.emby.media/reference/RestAPI/ItemsService/getItems.html?q=getitems#MediaBrowser_Model_Dto_BaseItemDto Thanks !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now