From 09d9e2663403f9f72e745e08a53b795c91d8bb69 Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@cervoi.se>
Date: Sun, 3 Apr 2016 02:52:01 +0200
Subject: [PATCH] external_id for youtube

---
 PlayBot/sites/youtube.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PlayBot/sites/youtube.pm b/PlayBot/sites/youtube.pm
index 6393bfe..d12c260 100644
--- a/PlayBot/sites/youtube.pm
+++ b/PlayBot/sites/youtube.pm
@@ -114,6 +114,7 @@ sub get
     $infos{'author'} = $video->{'snippet'}->{'channelTitle'};
 	$infos{'site'} = 'youtube';
     $infos{'url'} = 'https://www.youtube.com/watch?v='.$id;
+    $infos{'external_id'} = $id;
 
 	return %infos;
 }
-- 
GitLab