Mercurial > hg > camir-aes2014
view core/magnatagatune/fm_retrieve_album.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
line wrap: on
line source
function [album, mbids] = fm_retrieve_album(album_name) %[album, mbids] = fm_retrieve_album(album_name) % % returns last.fm artist tags and tag weights for given artist % this uses a lastpy python script to handle the REST data exchange % call python function str = python('fm_retrieve_album.py',album_name); % parse text function output album = textscan(str,'%s %s','Delimiter',','); mbids = album{2}; album = album{1};