1
0
Fork 0
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:
Afterster 2014-02-23 00:42:32 +01:00
parent 54ab51873c
commit 991b16f860
7 changed files with 53 additions and 7 deletions

View file

@ -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);