diff --git a/CHANGELOG.md b/CHANGELOG.md index c72c9c7..bfdefd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/index.js b/index.js index 405cdb4..595d929 100644 --- a/index.js +++ b/index.js @@ -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 => { diff --git a/package-lock.json b/package-lock.json index 2892082..973b6d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "homebridge-eosstb", - "version": "2.3.2-beta.2", + "version": "2.3.2-beta.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "homebridge-eosstb", - "version": "2.3.2-beta.2", + "version": "2.3.2-beta.3", "funding": [ { "type": "paypal", diff --git a/package.json b/package.json index 6b30a85..c208af9 100644 --- a/package.json +++ b/package.json @@ -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",