Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/9205
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jul 19, 2024
1 parent c99e9d2 commit 1210822
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions plugin/JustWatch/JustWatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ public function getEmptyDataObject() {
"country_iso": "XX"
}
]';
$obj->application_packages = $o;

$obj->application_packages = $o;

$obj->currency = 'USD';
$obj->country_iso = 'US';

return $obj;
}
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 @@ -42,8 +42,8 @@
'web_url' => Video::getLinkToVideo($row['id']),
'quality' => 'hd',
'monetization_type' => 'free',
'currency' => 'USD',
'country_iso' => 'US',
'currency' => $obj->currency,
'country_iso' => $obj->country_iso,
'price' => 0,
)
);
Expand Down

0 comments on commit 1210822

Please sign in to comment.