1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 10:49:37 +02:00
ampache/modules/GMApi/protocol/WC_loadalltracks.php
2013-11-17 01:21:00 +01:00

35 lines
No EOL
1 KiB
PHP

<?php
/*
Copyright (C) 2012 raydan
http://code.google.com/p/unofficial-google-music-api-php/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if(!defined('IN_GMAPI')) { die('...'); }
class WC_loadalltracks extends iWCProtocol {
public function getName() { return "loadalltracks"; }
public function buildTransaction($args) {
if(empty($args))
return "";
$data = array("continuationToken"=>$args);
return "json=".urlencode(json_encode($data));
}
}
?>