# Plex xml label not appear

**URL:** <https://forums.plex.tv/t/plex-xml-label-not-appear/142845>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [April 20, 2016, 10:25am UTC](https://forums.plex.tv/t/plex-xml-label-not-appear/142845 "2016-04-20T10:25:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![genosajd](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/genosajd/32/121805_2.png) [@genosajd](https://forums.plex.tv/u/genosajd)\
**Post date:** [April 20, 2016, 10:25am UTC](https://forums.plex.tv/t/plex-xml-label-not-appear/142845/1 "2016-04-20T10:25:37Z")

</div>

Hi,  
[http://192.168.1.6:32400/library/sections/16/all?X-Plex-Token=XXXXXX](http://192.168.1.6:32400/library/sections/16/all?X-Plex-Token=XXXXXX)  
Why I don’t see “Label” in this xml ?  
I want to list all movies from section where Label like “1”

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [April 20, 2016, 5:09pm UTC](https://forums.plex.tv/t/plex-xml-label-not-appear/142845/2 "2016-04-20T17:09:18Z")

</div>

If you are talking about collections here, they look like:

`<Collection tag="Test"/>`

And are located under the directory object, if set

---

<div class="post-metadata">

**Author:** ![genosajd](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/genosajd/32/121805_2.png) [@genosajd](https://forums.plex.tv/u/genosajd)\
**Post date:** [April 21, 2016, 3:07pm UTC](https://forums.plex.tv/t/plex-xml-label-not-appear/142845/3 "2016-04-21T15:07:05Z")

</div>

I’m talking about Sharing \> labels in edit movie

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [April 21, 2016, 4:13pm UTC](https://forums.plex.tv/t/plex-xml-label-not-appear/142845/4 "2016-04-21T16:13:43Z")

</div>

For a movie, when listing the movies within a section, you’ll need to lookup the ratingKey for each movie.

Then browse to: `/library/metadata/<ratingkey>`

It’ll be listed as:

`<Label id="48491" tag="NameOfTheLabel"/>`

/T`

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 7:57pm UTC](https://forums.plex.tv/t/plex-xml-label-not-appear/142845/5 "2020-01-08T19:57:02Z")

</div>

Closed on January 8, 2020, 7:57pm UTC


