1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 10:49:37 +02:00

fix url to song, and throw some non-working tag cloud crap in

This commit is contained in:
Karl 'vollmerk' Vollmer 2009-05-19 22:47:49 +00:00
parent 0a506696ac
commit 02f8bb52fd
9 changed files with 56 additions and 9 deletions

View file

@ -251,9 +251,11 @@ switch ($_REQUEST['action']) {
echo xmlData::songs(array($uid));
break;
case 'url_to_song':
$url = scrub_in($_REQUEST['url']);
// Don't scrub in we need to give her raw and juicy to the function
$url = $_REQUEST['url'];
$song_id = Song::parse_song_url($url);
ob_end_clean();
echo xmlData::songs(array($song_id));
break;