Skip to content

Commit

Permalink
v4.0.5 Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
INSANITY\Inrix authored and INSANITY\Inrix committed Jul 19, 2018
1 parent 0c8fe84 commit 0960be2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
v4.0.5
- Fixed issue with script not handling site returning no videos
- Fixed issue with script not fetching subscriptions due to api update

v4.0.4
- Fixed login not working due to floatplane.com changes
Expand Down
5 changes: 4 additions & 1 deletion float.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ colourList = {
var episodeList = {}

var floatRequest = request.defaults({ // Sets the global requestMethod to be used, this maintains headers
headers: {'User-Agent': "FloatplanePlex/"+settings.version+" (Inrix, +https://linustechtips.com/main/topic/859522-floatplane-download-plex-script-with-code-guide/)"},
headers: {
'User-Agent': "FloatplanePlex/"+settings.version+" (Inrix, +https://linustechtips.com/main/topic/859522-floatplane-download-plex-script-with-code-guide/)"
},
jar: true, // Use the same cookies globally
rejectUnauthorized: false,
followAllRedirects: true
Expand Down Expand Up @@ -347,6 +349,7 @@ function checkSubscriptions() {
floatRequest.get({ // Generate the key used to download videos
headers: {
Cookie: settings.cookie,
'accept': 'application/json'
},
url: 'https://www.floatplane.com/api/user/subscriptions'
}, function (error, resp, body) {
Expand Down
2 changes: 1 addition & 1 deletion latest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version": "4.0.3", "beta": "4.0.4"}
{"version": "4.0.5", "beta": "4.0.7"}
Binary file modified releases/4.0.5.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "4.0.3",
"version": "4.0.5",
"videoFolder": "./videos/",
"maxVideos": 5,
"maxParallelDownloads": -1,
Expand Down

0 comments on commit 0960be2

Please sign in to comment.