Twoure / 9anime.bundle

Plex Video Channel to watch Anime from 9anime
17 stars 5 forks source link

Videos still not playing as of 5/10 #8

Closed IJ08 closed 7 years ago

IJ08 commented 7 years ago

9anime.log.zip

Twoure commented 7 years ago

Download and install the latest dev branch, then restart PMS. Looks like this is a JavaScript issue. You'll either need NodeJS installed or Nashorn (i.e. Java 8 SDK from Oracle).

IJ08 commented 7 years ago

Okay, do I just need java8 or even Nashorn?

Twoure commented 7 years ago

Okay, do I just need java8 or even Nashorn?

Either, Node.js OR Java 8. Don't need both, and Nashorn is included with Java 8 SDK.

IJ08 commented 7 years ago

Done. Now my plex isn't seeing the dev channel for 9anime. Restarted twice and it isn't there.

I downloaded latest java8 from Oracle and dev branch per - https://github.com/Twoure/9anime.bundle/tree/dev

IJ08 commented 7 years ago

Looks like it can't find the java - LOGS.zip

Twoure commented 7 years ago

Thanks for the log file, looks like I made a syntax mistake. Pushed fix now. Download and install, then restart PMS.

IJ08 commented 7 years ago

Hi @Twoure downloaded twice and restarted twice, still having same issue. Channel not showing up on PLEX. Looks like the same from logs

Updated logs - LOGS.zip

Twoure commented 7 years ago

Took a longer look, and pushed another patch. Please download and try again. Thanks for debugging with me.

IJ08 commented 7 years ago

No problem, I should be thanking you. So the channel is showing up but videos aren't playing still. Tried several newest vids, 4 of them in the recent updates but not working. Logs - LOGS.zip

Twoure commented 7 years ago

PyExecJS is not picking up your Nashorn install. All it can see is your JScript. Try opening a command prompt window and typing

jjs -v

It should print out the version of Nashorn you have installed and will enter into a shell session. For example mine gives:

$> jjs -v
nashorn 1.8.0_131
jjs> quit()

To exit type:

quit()

or

exit()

If its not installed, then you may have to dig deeper into how-to install it properly. Otherwise, you can always download and install Node.js as an alternative. Basically either one needs to be accessible to all users, otherwise Plex will not be able to use the JRE.

Twoure commented 7 years ago

Sorry, to add, You'll need Java 8 JDK, which is the development kit giving access to Nashorn.

Links for either JREs:

IJ08 commented 7 years ago

Thanks @Twoure , I downloaded nodejs as it was pretty straightforward. I restarted and checked version. Still can't play video but logs have changed. Logs look like the same as well for the kissnetwork error.

Attached - LOGS.zip

Twoure commented 7 years ago

This is due to a dirty cache. Try deleting this channel's cache by deleting the DataHTTP folder located in

%LOCALAPPDATA%\Plex Media Server\Plug-in Support\Data\com.plexapp.plugins.9anime\DataItems\DataHTTP

If you delete the folder, then restart PMS, otherwise if you preserve the folder but delete it's contents, then you shouldn't need to restart PMS.

IJ08 commented 7 years ago

Okay let me try that when I get home. If that's the solution, probably the same thing for the other channels then. I will update you ASAP

IJ08 commented 7 years ago

Wow. Okay it is indeed working now after clearing that up. What's the root cause? Will that happen again? Thanks as usual!

Twoure commented 7 years ago

Wow. Okay it is indeed working now after clearing that up.

Glad to hear.

What's the root cause?

An unexpected error occurred, and I don't have logic setup to NOT cache when an unexpected error happens.

Will that happen again?

Possibly, but this is the dev branch so is expected to have bugs and such. I'll work at better error handling so the stable release will benefit.

Thanks as usual!

You're welcome :smile:.