Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Commit

Permalink
New api URL from SD
Browse files Browse the repository at this point in the history
  • Loading branch information
avandeputte authored Jul 30, 2017
1 parent e140034 commit 10821ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/includes/dvrui_hdhrjson.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require_once("vars.php");

class DVRUI_HDHRjson {
private $myhdhrurl = 'http://ipv4-my.hdhomerun.com/discover';
private $myhdhrurl = DVRUI_Vars::DVRUI_apiurl . 'discover';
private $hdhrkey_devID = 'DeviceID';
private $hdhrkey_localIP = 'LocalIP';
private $hdhrkey_baseURL = 'BaseURL';
Expand Down
2 changes: 1 addition & 1 deletion app/includes/dvrui_rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class DVRUI_Rules {
* Documentation on How the HDHR system exposes Recording rules is explained
* https://github.com/Silicondust/documentation/wiki/DVR%20Recording%20Rules
*/
private $rulesURL = 'http://my.hdhomerun.com/api/recording_rules?DeviceAuth=';
private $rulesURL = DVRUI_Vars::DVRUI_apiurl . 'api/recording_rules?DeviceAuth=';

/*
* The following are the Parameters that can be included in a rule created
Expand Down
2 changes: 1 addition & 1 deletion app/includes/dvrui_search.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DVRUI_Search {
private $search_list = array();

private $auth = '';
private $searchURL = "http://my.hdhomerun.com/api/search?DeviceAuth=";
private $searchURL = DVRUI_Vars::DVRUI_apiurl . "api/search?DeviceAuth=";

public function DVRUI_Search($hdhr, $searchStr) {
DVRUI_setTZ();
Expand Down
2 changes: 1 addition & 1 deletion app/includes/dvrui_upcoming.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class DVRUI_Upcoming {
* Note: At this time the guide APIs are not published, so these are likely
* to change at some point in the future
*/
private $epGuideURL = 'http://my.hdhomerun.com/api/episodes?';
private $epGuideURL = DVRUI_Vars::DVRUI_apiurl . 'api/episodes?';
private $epGuideURL_paramAuth = 'DeviceAuth=';
private $epGuideURL_paramSeries = '&SeriesID=';

Expand Down

0 comments on commit 10821ce

Please sign in to comment.