All your suggestions, requests and ideas for future development
pax0707
Posts: 63 Joined: 25 Jun 2014, 09:44
Post
by pax0707 » 10 Oct 2020, 18:55
Aloha.
Looks like 4.9.2 broke updating My Episodes.
Processed files are not reflected on the site.
Regards.
Code: Select all
FileBot 4.9.2 (r8046)
JNA Native: 6.1.0
MediaInfo: 20.08
7-Zip-JBinding: 16.02
Chromaprint: 1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-09-10 (r673)
Groovy: 3.0.6
JRE: OpenJDK Runtime Environment 15
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 4.3 GB Max Memory / 24 MB Used Memory
OS: Windows 10 (amd64)
STORAGE: NTFS [SYSTEM] @ 56 GB | NTFS [COLOSSUS] @ 4.0 TB
DATA: C:\Users\pax07\AppData\Roaming\FileBot
Package: MSI
License: FileBot License P16401237 (Valid-Until: 2021-07-31)
Done ?(?????)?
rednoah
The Source
Posts: 24438 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 11 Oct 2020, 03:27
Do you get any error messages?
I'm not aware of any changes in this regard, because the code hasn't been touched in years and is rather unrelated to any specific version of FileBot, but you're welcome to debug things to figure out what exactly stopped working:
https://github.com/filebot/scripts/blob ... mes.groovy
pax0707
Posts: 63 Joined: 25 Jun 2014, 09:44
Post
by pax0707 » 16 Oct 2020, 14:14
Only thing about it in log is "Update MyEpisodes".
As for that script I'm not quite sure what to do.
rednoah
The Source
Posts: 24438 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 16 Oct 2020, 15:53
You can set up a test case and then call the update-mes.groovy script directly. Add some println in between lines in the code. See what the request/response pairs say. Note that basic Groovy / Java / Web developer skill will be required to get to the bottom of this. Since page scrapers are involved, any change to the website may break things and require a rewrite of the scraper code to make things work again.
Note that the FileBot 4.9.1 / 4.9.2 update is probably not relevant in this case, even though it may have coincidentally stopped working one of these days. That being said, a simple test case is always a good idea to confirm this one way or another.
DarellCraighead
Posts: 22 Joined: 29 Nov 2014, 20:39
Post
by DarellCraighead » 17 Nov 2020, 22:29
Hey Rednoah,
For those of us who love this functionality, but don't code... would love to see this working again
rednoah
The Source
Posts: 24438 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 18 Nov 2020, 03:45
The code is 100% open-source.
pax0707
Posts: 63 Joined: 25 Jun 2014, 09:44
Post
by pax0707 » 17 Dec 2020, 15:00
This is totally out of the scope of my knowledge.
This was a great way to check that all I wanted was downloaded.
I will miss this.
kim
Power User
Posts: 1251 Joined: 15 May 2014, 16:17
Post
by kim » 18 Dec 2020, 19:24
I can confirm 4.9.2 does not work (ok in older Filebot)
looks like something with login part
the "session" does not contain __cfduid, PHPSESSUID and PHPSESSGID
I think this is = login not ok
on older Filebot, but still works
on 4.9.2
kim
Power User
Posts: 1251 Joined: 15 May 2014, 16:17
Post
by kim » 19 Dec 2020, 19:46
rednoah
The Source
Posts: 24438 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 20 Dec 2020, 06:07
That's possible. You can add a few println statements to the script so we can see the cookies variable. That might give us a hint.
kim
Power User
Posts: 1251 Joined: 15 May 2014, 16:17
Post
by kim » 20 Dec 2020, 07:19
I believe I already did this ?
kim wrote: ↑ 18 Dec 2020, 19:24
the "session" does not contain __cfduid, PHPSESSUID and PHPSESSGID
compared to older Filebot (working version)
rednoah
The Source
Posts: 24438 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 20 Dec 2020, 07:24
On a related note. Does myepisodes have some kind of basic API by now? The scraper is inherently unstable and best replaced if possible.
kim
Power User
Posts: 1251 Joined: 15 May 2014, 16:17
Post
by kim » 20 Dec 2020, 19:42
rednoah wrote: ↑ 20 Dec 2020, 10:30
Adding
println session reveals that
login() just isn't called.
I had this info here, I just could not get the why and how to fix
Probably a strange Groovy runtime bug
Sounds like the "format is more strict = not working anymore" problem ?
anyhoo it works now
btw: you better change
http://www.myepisodes.com to
https://www.myepisodes.com
rednoah
The Source
Posts: 24438 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 21 Dec 2020, 02:30
kim wrote: ↑ 20 Dec 2020, 19:42
Sounds like the "format is more strict = not working anymore" problem ?
Pretty much. If you write weird code, then the technical debt collector will come to collect, sooner or later.
pax0707
Posts: 63 Joined: 25 Jun 2014, 09:44
Post
by pax0707 » 25 Feb 2021, 09:46
For some reason, it worked last night.
;- )=