Page 2 of 7

Re: IMDB Plugin PLS!!!

Posted: Mon Oct 08, 2012 5:42 pm
by SubJunk
For me, the first lookup works (I get the description and stuff from IMDB, very cool), but then subsequent attempts don't find anything.
I'm getting errors like this in Traces, so I guess it means the URLs need to be validated to avoid that error:

Code: Select all

INFO  2012-10-08 18:30:31.398 [pool-59-thread-1] java.net.MalformedURLException: no protocol: /images/widgets/facebook_share.png
INFO  2012-10-08 18:30:31.398 [pool-59-thread-1] 	at java.net.URL.<init>(Unknown Source)
INFO  2012-10-08 18:30:31.400 [pool-59-thread-1] 	at java.net.URL.<init>(Unknown Source)
INFO  2012-10-08 18:30:31.400 [pool-59-thread-1] 	at java.net.URL.<init>(Unknown Source)
INFO  2012-10-08 18:30:31.400 [pool-59-thread-1] 	at net.pms.movieinfo.FileMovieInfoVirtualFolder.displayTitle(FileMovieInfoVirtualFolder.java:249)
INFO  2012-10-08 18:30:31.400 [pool-59-thread-1] 	at net.pms.movieinfo.FileMovieInfoVirtualFolder.resolve(FileMovieInfoVirtualFolder.java:178)
INFO  2012-10-08 18:30:31.400 [pool-59-thread-1] 	at net.pms.dlna.DLNAResource.run(DLNAResource.java:790)
INFO  2012-10-08 18:30:31.401 [pool-59-thread-1] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO  2012-10-08 18:30:31.401 [pool-59-thread-1] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO  2012-10-08 18:30:31.401 [pool-59-thread-1] 	at java.lang.Thread.run(Unknown Source)
Followed by this which causes UMS to freeze:

Code: Select all

INFO  2012-10-08 18:31:37.816 [pool-59-thread-1] Exception in thread "pool-59-thread-1" java.lang.OutOfMemoryError: Java heap space
INFO  2012-10-08 18:31:37.817 [pool-59-thread-1] 	at java.util.Arrays.copyOfRange(Unknown Source)
INFO  2012-10-08 18:31:37.817 [pool-59-thread-1] 	at java.lang.String.<init>(Unknown Source)
INFO  2012-10-08 18:31:37.817 [pool-59-thread-1] 	at java.lang.AbstractStringBuilder.substring(Unknown Source)
INFO  2012-10-08 18:31:37.817 [pool-59-thread-1] 	at java.lang.StringBuffer.substring(Unknown Source)
INFO  2012-10-08 18:31:37.817 [pool-59-thread-1] 	at net.pms.movieinfo.plugins.IMDBPlugin.getCast(IMDBPlugin.java:154)
INFO  2012-10-08 18:31:37.818 [pool-59-thread-1] 	at net.pms.movieinfo.FileMovieInfoVirtualFolder.resolve(FileMovieInfoVirtualFolder.java:197)
INFO  2012-10-08 18:31:37.818 [pool-59-thread-1] 	at net.pms.dlna.DLNAResource.run(DLNAResource.java:790)
INFO  2012-10-08 18:31:37.818 [pool-59-thread-1] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO  2012-10-08 18:31:37.818 [pool-59-thread-1] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO  2012-10-08 18:31:37.818 [pool-59-thread-1] 	at java.lang.Thread.run(Unknown Source)

Re: MovieInfo

Posted: Wed Oct 10, 2012 2:04 am
by ExSport
Try this one which works with official PMS (latest SB build)
Edit config file as required (check ChangeLog http://www.ps3mediaserver.org/forum/vie ... 520#p63942)
It works for me without problems (I am sure with CSFD plugin, IMDB tested when new version released and it worked (end of Janurary 2012) 8-) )

Re: MovieInfo

Posted: Wed Oct 10, 2012 3:05 am
by SharkHunter
ExSport - I think SubJunk is on the move of fixing the issues ;) If you got something make a pull req on github and we can keep MovieInfo up to speed. I aint the most frequent user of MovieInfo myself but so I might miss some updates of it. (I got to many projects cooking....)

Re: MovieInfo

Posted: Wed Oct 10, 2012 3:56 am
by ExSport
What I remember when I did last patches I published it to your github to be "official"
So I suppose your trunk should be latest (from 17 JAN 2012?)
This one works for me but can't test it with UMS and with enabled IMDB right now (CSFD.CZ definitely works :mrgreen: )

Re: MovieInfo

Posted: Wed Oct 10, 2012 5:07 am
by SharkHunter
Yes my github is up to date with your fixes from january. BTW Welcome here ExSport...;)

Re: MovieInfo

Posted: Fri Oct 12, 2012 9:40 am
by SubJunk
Welcome ExSport! Hope to see you here more ;)
Well from my testing, both versions (ExSport's and SharkHunters) have the bug, but it happens at different times randomly. Sometimes it happens on the first movie lookup, other times I can look up 4 before it happens.
Usually when it freezes it leaves no info in the debug.log, the program just stops working and must be forced closed (the Quit button works but doesn't close javaw.exe)
My suspicion is that there is a memory leak somewhere, like maybe the processes that look up the web info aren't being terminated properly, or maybe too many are running at the same time. I'll look into it.

Re: MovieInfo

Posted: Sat Oct 13, 2012 1:51 am
by ExSport
Hi guys 8-)
Glad to see you again...found little time so I had time to register.
About MovieInfo, try to disable IMDB engine and use CSFD only. If it will work, problem is parser for IMDB...maybe site changed again so IMDB code started to make exceptions :roll:
Hopefully will have time this weekend to test UMS...stucked on last SB build 8-)

Re: MovieInfo

Posted: Mon Feb 18, 2013 11:05 am
by tmk
@ExSport: Any update to the IMDB code forthcoming? As noted, seems something has changed on the IMDB side to "break" genre and rating.

Re: MovieInfo

Posted: Fri Mar 01, 2013 9:01 am
by SharkHunter
There are long times between updates but now there is one. Fetch it here http://code.google.com/p/sharkhunter-shb/downloads/list

One a UMS with rtmp support is available you'll be able to see trailers from IMDB. I also fixed the cast pics which where horrible....

Re: MovieInfo

Posted: Fri Mar 08, 2013 11:44 am
by tmk
SharkHunter wrote:There are long times between updates but now there is one. Fetch it here http://code.google.com/p/sharkhunter-shb/downloads/list....
Cheers!