Jump to content

Floatplane Downloader & Plex [With Code & Guide]

Go to solution Solved by Inrix,

Version 5.13.0 - SPEED, Fixes & Metrics (GitHub)

2 hours ago, jt999 said:

Is it worth trying the 3.0.1? I've hit the invalid session key thing :)

3.0.1 fixes that by removing the check for it if you havent patched that and you were on 3.0 before it was released then you have to for the script to continue to work. Im busy working today but maybe after I get home tonight Ill get a proper fix out for the session stuff. But for now 3.0.1 should fix it getting stuck in a unrecoverable loop, and if it does get stuck after that just clearing the cookies it has will fix it. You can just delete the entire cookies part of the json file as long as your login details are still in there.

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

53 minutes ago, Inrix said:

3.0.1 fixes that by removing the check for it if you havent patched that and you were on 3.0 before it was released then you have to for the script to continue to work. Im busy working today but maybe after I get home tonight Ill get a proper fix out for the session stuff. But for now 3.0.1 should fix it getting stuck in a unrecoverable loop, and if it does get stuck after that just clearing the cookies it has will fix it. You can just delete the entire cookies part of the json file as long as your login details are still in there.

Cool, thanks again! :)

Link to comment
Share on other sites

Link to post
Share on other sites

Nice job. It works very well on my server. But is your download script still working after the release of the official floatplane site?

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, Shadow1232 said:

Nice job. It works very well on my server. But is your download script still working after the release of the official floatplane site?

The site is not out yet. But once the site is released I will be rewriting it for it. Unless they release an oficcal plex channel that allows downloads or something else that replaces the functionality. 

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

20 hours ago, Inrix said:

The site is not out yet. But once the site is released I will be rewriting it for it. Unless they release an oficcal plex channel that allows downloads or something else that replaces the functionality. 

Oke, Thanks again!

Link to comment
Share on other sites

Link to post
Share on other sites

v3.0.2_Dev

 

This is the proper fix for the session problem. Since its not a major change its not going to be a full release and sessions still work fine with the 3.0.1 HotFix. But if you want to get the update for it now you can just overwrite your files with the ones contained in v3.0.2_Dev.zip.

 

Which has these changes:

v3.0.2
 - Proper fix for check invalid session key
 - Commented all new code from 3.0

 

Otherwise I hope everything is going good for everyone :) As always if you have any cool ideas/suggestions or problems just message me.

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

14 hours ago, Inrix said:

v3.0.2_Dev

 

This is the proper fix for the session problem. Since its not a major change its not going to be a full release and sessions still work fine with the 3.0.1 HotFix. But if you want to get the update for it now you can just overwrite your files with the ones contained in v3.0.2_Dev.zip.

 

Which has these changes:

v3.0.2
 - Proper fix for check invalid session key
 - Commented all new code from 3.0

 

Otherwise I hope everything is going good for everyone :) As always if you have any cool ideas/suggestions or problems just message me.

Mines been perfect since 3.0.1 but have applied 3.0.2 anyway, thanks for your continued hard work! :)

Link to comment
Share on other sites

Link to post
Share on other sites

14 hours ago, Inrix said:

v3.0.2_Dev

 

This is the proper fix for the session problem. Since its not a major change its not going to be a full release and sessions still work fine with the 3.0.1 HotFix. But if you want to get the update for it now you can just overwrite your files with the ones contained in v3.0.2_Dev.zip.

 

Which has these changes:

v3.0.2
 - Proper fix for check invalid session key
 - Commented all new code from 3.0

 

Otherwise I hope everything is going good for everyone :) As always if you have any cool ideas/suggestions or problems just message me.

I have one problem, I want every day on 9o clock automatic run the update script. So I set it with task scheduler. But when I run the script I get the warning:

(Error: Cannot find module 'C:\WINDOWS\system32\scrape.js'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3)

Maybe I run it with the highest privileges. I don't no how to turn it off. When i look by setting it is not enabled.
Do you have a solution?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Shadow1232 said:

I have one problem, I want every day on 9o clock automatic run the update script. So I set it with task scheduler. But when I run the script I get the warning:

(Error: Cannot find module 'C:\WINDOWS\system32\scrape.js'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3)

Maybe I run it with the highest privileges. I don't no how to turn it off. When i look by setting it is not enabled.
Do you have a solution?

Are you pointing the scheduler at the script.js or the batch file?

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Inrix said:

Are you pointing the scheduler at the script.js or the batch file?

batch file

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Shadow1232 said:

batch file

Oh! Ok what you need to do is modify the batch file to have the absolute file path for the script. 

 

So change it from:

node scrape.js

to

node I:\nodeScrape\scrape.js

 

Where I:\ etc is your drive and path to the folder that contains the script.

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

-Snip- I didnt break things. Its late <3 Have a cookie

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Inrix said:

Oh! Ok what you need to do is modify the batch file to have the absolute file path for the script. 

 

So change it from:

node scrape.js

to

node I:\nodeScrape\scrape.js

 

Where I:\ etc is your drive and path to the folder that contains the script.

It works now. Thanks again.

Link to comment
Share on other sites

Link to post
Share on other sites

Just a headsup today's FP Exclusive got sorted wrong because the title was "LTT: FP Exclusive: Hands-on with an Automated Car Development Kit" lol so you can just grab it out of the LTT folder and move it to the FP one. Make sure to change the episode number though :)

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

Merry Christmas to everyone sorry its a bit late :)

 

Just a little update, if you get into a loop where the script cannot login or its constantly getting invalid cookies then this should fix it: v3.0.3_HotFix.zip

 

I just got into such a loop as the script wasn't clearing the generated cookies every time it got a invalid session causing issues. Though this seems to be a rare issue so most people shouldn't experience it.

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

I have one problem. I see only the episode numbers on Plex. Not the title name. In the past it always works but since a few days is change. Perhaps is change with the hotfix? I dont know.

 

 

Untitled.png

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Shadow1232 said:

I have one problem. I see only the episode numbers on Plex. Not the title name. In the past it always works but since a few days is change. Perhaps is change with the hotfix? I dont know.

 

 

Untitled.png

Refresh the meta data for the library on plex that will fix it. I suggest using the command line to automatically update plex after the script runs as this does that for you. 

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

The scrip does automatic change the Plex library. And i refresh the metadata but nothing change. Maybe I will delete everything and download it again.

Link to comment
Share on other sites

Link to post
Share on other sites

Do you have ffmpeg where you need it? I was missing it and until I sorted that it didn't have the right title in plex on newly added videos

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, jt999 said:

Do you have ffmpeg where you need it? I was missing it and until I sorted that it didn't have the right title in plex on newly added videos

It always works. But since a few days its stop renaming it. i don't use ffmpeg. Now i have removed al the videofiles en download it again. Now its works well. i think the problem was that i move one video file to floatplane exclusive. Thanks anyways.

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, Shadow1232 said:

It always works. But since a few days its stop renaming it. i don't use ffmpeg. Now i have removed al the videofiles en download it again. Now its works well. i think the problem was that i move one video file to floatplane exclusive. Thanks anyways.

Yea, if everything is correct but they arent named then redownloading them generally should fix it. Unless there is something wrong with the script. Though if you dont want to download them/cant you can always manually set the title of the video yourself by going Properties > Details > Title and pasting it in there. Glad you got it sorted :)

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

@Inrix does your plugin work on FreeNAS or would I have to still install it on windows and have it save the files to a share (which is currently how I do it)?

Link to comment
Share on other sites

Link to post
Share on other sites

16 hours ago, FredyBobJoe said:

@Inrix does your plugin work on FreeNAS or would I have to still install it on windows and have it save the files to a share (which is currently how I do it)?

Sorry for the delay in replying! It looks like you *can* since node.js works fine on linux etc but it looks fairly cancer to setup... If you can have access to a linux console to install node and just copy over the files then maybe, or perhaps there is some sort of plugin for FreeNAS that lets you run/schedule node.js scripts, but I dunno... It would probably be alot less cancer to setup the script on a PC and just have it run daily with the download folder pointing to a NAS.

 

Also if you do do the above, I haven't actually tested pointing the script directly to a network share (Not a mapped network drive that should work fine since windows stores the credentials) So if you do plan on pointing it to a share and not a mapped drive to tell me how that works out or if it breaks. Ofc you can also try syslinking a network folder but Id suggest using a mapped drive as thats the most stable.

 

If you have any other questions just shout at me :) I need to try and get LTT to email me on replies to this thread.

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

Just a heads up there is possibly a issue with ffmpeg ATM. I'm going to look into it and get a fix working now. Also there are a few other updates that I'm planning on doing today so you can expect a new version soon including all the previous small fixes that have happened recently :).

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

There is a big update coming soon! Will fix the current crash issue and a bunch of other things. Plus a few small new features :) Will probably be out in the next hour.

~ Main Rig ~

- Ryzen 9 3950X 16 Core 32 Threads - EVGA 3090 KINGPIN HYBRID - 32GB DDR4 3600mhz - 

- 6TB SSD Array + 2TB MP600 NVME Gen4 Boot - 

- Gigabyte X570 AORUS MASTER - Lian li O11 Dynamic XL - NZXT Kraken X73 + 16 Noctua NF-A12x25 Fans - 

 

~ Accessories ~

- Logitech G915 + G903 - LG C9 OLED PG279Q 27'' [1440p 165hz G-Sync] +  PG27AQ27'' [4k 60hz G-Sync] -
2x 1440p Portrait 25'' Dell - DT 990 Pro Headphones -

 

~ Servers ~

- 100TB NAS + Server's w/ 6700k - 32 + 64GB Ram - NVME Boot - Gigabit Unlimited Fiber -

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×