mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
34 lines
No EOL
1 KiB
PHP
34 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 PB_MetadataRequest extends PB_Message_Abstract {
|
|
|
|
public function __construct() {
|
|
$this->setField("tracks", PhpBuf_Type::MESSAGE, PhpBuf_Rule::REPEATED, 1, "PB_Track");
|
|
$this->setField("address", PhpBuf_Type::STRING, PhpBuf_Rule::OPTIONAL, 2);
|
|
}
|
|
|
|
public static function name(){
|
|
return __CLASS__;
|
|
}
|
|
|
|
}
|
|
?>
|