diff --git a/PlayBot/sites/deezer.pm b/PlayBot/sites/deezer.pm index 5bfa8e92c980ca2eff772bf1abb8061bb216340c..9f96d96b0a821644a59255780bbbdba054444b7f 100644 --- a/PlayBot/sites/deezer.pm +++ b/PlayBot/sites/deezer.pm @@ -38,6 +38,7 @@ sub get { $infos{'site'} = 'deezer'; $infos{'url'} = 'https://www.deezer.com/track/'.$id; $infos{'author'} = $content->{'artist'}->{'name'}; + $infos{'external_id'} = $id; return %infos; } diff --git a/PlayBot/sites/facebook.pm b/PlayBot/sites/facebook.pm index 9f48c8a92fa64e8db2ed68b6edc234b18caaa34b..f60b283648888f2aaa8ea904ed82854316a702a5 100644 --- a/PlayBot/sites/facebook.pm +++ b/PlayBot/sites/facebook.pm @@ -51,6 +51,7 @@ sub get { $infos{'site'} = 'facebook'; $infos{'url'} = 'https://www.facebook.com'.$content->{'permalink_url'}; $infos{'author'} = $content->{'from'}->{'name'}; + $infos{'external_id'} = $id; return %infos; } diff --git a/PlayBot/sites/spotify.pm b/PlayBot/sites/spotify.pm index 09d62d23a41c471b6d0f85e59870581714f8e79a..177cb2647cf8451e9095c16cf890b126af6335ee 100644 --- a/PlayBot/sites/spotify.pm +++ b/PlayBot/sites/spotify.pm @@ -38,6 +38,7 @@ sub get { $infos{'site'} = 'spotify'; $infos{'url'} = 'https://open.spotify/track/'.$id; $infos{'author'} = $content->{'artists'}->[0]->{'name'}; + $infos{'external_id'} = $id; return %infos; }