# Youtube metadata agent

**URL:** <https://forums.plex.tv/t/youtube-metadata-agent/20291>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [August 21, 2012, 10:43am UTC](https://forums.plex.tv/t/youtube-metadata-agent/20291 "2012-08-21T10:43:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MDGrein](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@MDGrein](https://forums.plex.tv/u/MDGrein)\
**Post date:** [August 21, 2012, 10:43am UTC](https://forums.plex.tv/t/youtube-metadata-agent/20291/1 "2012-08-21T10:43:05Z")

</div>

I follow and download quite a lot from youtube for offline viewing.  
  
  
  
Is there a metadata agent avaliable for youtube content?  
  
  
  
If not, how would I go about coding one?  
  
  
  
//MDGrein

---

<div class="post-metadata">

**Author:** ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forums.plex.tv/u/sander1)\
**Post date:** [September 17, 2012, 4:47pm UTC](https://forums.plex.tv/t/youtube-metadata-agent/20291/2 "2012-09-17T16:47:39Z")

</div>

Hi!  
  
There isn’t a YouTube metadata agent currently, but since YouTube has a very nice data API, it shouldn’t be too difficult to create one. The most important thing to get this to work is to have the YouTube video id in the filename, otherwise there is no way to look up the metadata. Can you give me an example of how you named the files you downloaded?

---

<div class="post-metadata">

**Author:** ![snickers\_1](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/snickers_1/32/91590_2.png) [@snickers\_1](https://forums.plex.tv/u/snickers_1)\
**Post date:** [February 26, 2013, 12:45am UTC](https://forums.plex.tv/t/youtube-metadata-agent/20291/3 "2013-02-26T00:45:21Z")

</div>

hey. i would appreciate an youtube agent too. if you like and if u have the time… but it’s not the most important ^^  
  
my videos almost named like the youtube title was. maybe a bit cropped. for example “where the hell is matt - 2006” or “X-Games Winter 2012”.  
  
but wouldn’t be a problem to add the ID in the future.  
  
thx

---

<div class="post-metadata">

**Author:** ![AutomaticCoding](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@AutomaticCoding](https://forums.plex.tv/u/AutomaticCoding)\
**Post date:** [March 8, 2013, 1:55am UTC](https://forums.plex.tv/t/youtube-metadata-agent/20291/4 "2013-03-08T01:55:16Z")

</div>

> hey. i would appreciate an youtube agent too. if you like and if u have the time.. but it's not the most important ^^  
> my videos almost named like the youtube title was. maybe a bit cropped. for example "where the hell is matt - 2006" or "X-Games Winter 2012".  
> but wouldn't be a problem to add the ID in the future.  
> thx

Like sander pointed out, it'd be pretty easy. I myself don't know python (Java, I should learn python, would be useful) but here you go:-

[https://developers.google.com/youtube/v3/getting-started](https://developers.google.com/youtube/v3/getting-started)

---

<div class="post-metadata">

**Author:** ![sander1](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sander1](https://forums.plex.tv/u/sander1)\
**Post date:** [October 14, 2013, 3:27pm UTC](https://forums.plex.tv/t/youtube-metadata-agent/20291/5 "2013-10-14T15:27:16Z")

</div>

Here's a first version of my new YouTube Metadata Agent: [http://forums.plexapp.com/index.php/topic/83106-rel-youtube-metadata-agent/](http://forums.plexapp.com/index.php/topic/83106-rel-youtube-metadata-agent/)

I'm closing this topic now, let's discuss and talk about it in the new topic!

---

<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:** [December 20, 2019, 10:10pm UTC](https://forums.plex.tv/t/youtube-metadata-agent/20291/6 "2019-12-20T22:10:14Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
