Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jun 28, 2024
1 parent 74acb04 commit b1e487b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions plugin/JustWatch/JustWatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ public function getUUID() {

public function getEmptyDataObject() {
$obj = new stdClass();
$obj->streaming_service_name = 'Example Streaming Service';
$obj->streaming_service_url = 'https://www.example.com';

$o = new stdClass();
$o->type = "textarea";
Expand Down
4 changes: 2 additions & 2 deletions plugin/JustWatch/feed.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

$array = array();
$array['streaming_service'] = array();
$array['streaming_service']['name'] = $obj->streaming_service_name;
$array['streaming_service']['url'] = $obj->streaming_service_url;
$array['streaming_service']['name'] = $config->getWebSiteTitle();
$array['streaming_service']['url'] = $global['webSiteRootURL'];
$array['streaming_service']['application_stores'] = json_decode($obj->application_stores->value);
$array['streaming_service']['application_packages'] = json_decode($obj->application_packages->value);

Expand Down

0 comments on commit b1e487b

Please sign in to comment.