Skip to content

Commit

Permalink
Fixed base url in getRecordingBookings
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegenthaler committed Jun 15, 2024
1 parent 8e5f64e commit a5d275a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Please restart Homebridge after every plugin update.
## Current To-Do and In-Work List (For Future Releases, in rough order of priority):
* Add ability to log and read current program name

## 2.3.2-beta.3 (2024-06-15)
* Fixed base url in getRecordingBookings to use backoffice.json reported url

## 2.3.2-beta.2 (2024-06-15)
* Fixed bug in generating backoffice url for BE
* Updated UPC references to Liberty Global in Readme
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,8 @@ class stbPlatform {
// get all booked series recordings: these are planned future recordings
// I need a test user to get me the html endpoints for local HDD recording state
// https://prod.spark.sunrisetv.ch/eng/web/recording-service/customers/107xxxx_ch/bookings?isAdult=false&offset=0&limit=100&sort=time&sortOrder=asc&language=en
const url = countryBaseUrlArray[this.config.country.toLowerCase()] + '/eng/web/recording-service/customers/' + householdId + '/bookings?limit=10&sort=time&sortOrder=asc'; // limit to 10 recordings for performance
//const url = countryBaseUrlArray[this.config.country.toLowerCase()] + '/eng/web/recording-service/customers/' + householdId + '/bookings?limit=10&sort=time&sortOrder=asc'; // limit to 10 recordings for performance
const url = this.configsvc.recordingService.URL + '/customers/' + householdId + '/bookings?limit=10&sort=time&sortOrder=asc'; // limit to 10 recordings for performance
if (this.config.debugLevel > 0) { this.log.warn('getRecordingBookings: GET %s', url); }
axiosWS.get(url, config)
.then(response => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Homebridge EOSSTB",
"description": "Add your set-top box to Homekit (for Telenet BE, Sunrise CH, UPC PL, UPC SK, Virgin Media GB & IE, Ziggo NL)",
"author": "Jochen Siegenthaler (https://github.com/jsiegenthaler/)",
"version": "2.3.2-beta.2",
"version": "2.3.2-beta.3",
"platformname": "eosstb",
"dependencies": {
"axios-cookiejar-support": "^5.0.2",
Expand Down

0 comments on commit a5d275a

Please sign in to comment.