mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Fix private broadcasts and add automatic broadcast by default web player
This commit is contained in:
parent
54ab51873c
commit
991b16f860
7 changed files with 53 additions and 7 deletions
|
@ -71,6 +71,7 @@ class Ampacheflickr {
|
|||
public function get_photos($search) {
|
||||
$photos = array();
|
||||
$url = "https://api.flickr.com/services/rest/?&method=flickr.photos.search&api_key=" . $this->api_key . "&per_page=20&content_type=1&text=" . rawurlencode($search . " concert");
|
||||
debug_event($this->name, 'Calling ' . $url, '5');
|
||||
$request = Requests::get($url);
|
||||
if ($request->status_code == 200) {
|
||||
$xml = simplexml_load_string($request->body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue