MovieInfo

Discuss third party additions, plugins and translations for Universal Media Server
User avatar
SubJunk
Lead Developer
Posts: 2942
Joined: Sun May 27, 2012 4:12 pm

Re: IMDB Plugin PLS!!!

Post by SubJunk » Mon Oct 08, 2012 5:42 pm

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)

ExSport
Posts: 596
Joined: Wed Oct 10, 2012 1:57 am

Re: MovieInfo

Post by ExSport » Wed Oct 10, 2012 2:04 am

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-) )
Attachments
MovieInfo_latest.zip
MovieInfo by ExSport (latest)
(88.79 KiB) Downloaded 229 times

User avatar
SharkHunter
Developer
Posts: 669
Joined: Fri Jun 01, 2012 9:36 pm

Re: MovieInfo

Post by SharkHunter » Wed Oct 10, 2012 3:05 am

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....)
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.

ExSport
Posts: 596
Joined: Wed Oct 10, 2012 1:57 am

Re: MovieInfo

Post by ExSport » Wed Oct 10, 2012 3:56 am

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: )

User avatar
SharkHunter
Developer
Posts: 669
Joined: Fri Jun 01, 2012 9:36 pm

Re: MovieInfo

Post by SharkHunter » Wed Oct 10, 2012 5:07 am

Yes my github is up to date with your fixes from january. BTW Welcome here ExSport...;)
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.

User avatar
SubJunk
Lead Developer
Posts: 2942
Joined: Sun May 27, 2012 4:12 pm

Re: MovieInfo

Post by SubJunk » Fri Oct 12, 2012 9:40 am

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.

ExSport
Posts: 596
Joined: Wed Oct 10, 2012 1:57 am

Re: MovieInfo

Post by ExSport » Sat Oct 13, 2012 1:51 am

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-)

tmk
Posts: 21
Joined: Wed Jun 06, 2012 2:34 pm

Re: MovieInfo

Post by tmk » Mon Feb 18, 2013 11:05 am

@ExSport: Any update to the IMDB code forthcoming? As noted, seems something has changed on the IMDB side to "break" genre and rating.
Server Platform: Linux Xubuntu 14.04 (LTS)
Renderer: Sony Bravia KDL-40W5100

User avatar
SharkHunter
Developer
Posts: 669
Joined: Fri Jun 01, 2012 9:36 pm

Re: MovieInfo

Post by SharkHunter » Fri Mar 01, 2013 9:01 am

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....
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.

tmk
Posts: 21
Joined: Wed Jun 06, 2012 2:34 pm

Re: MovieInfo

Post by tmk » Fri Mar 08, 2013 11:44 am

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!
Server Platform: Linux Xubuntu 14.04 (LTS)
Renderer: Sony Bravia KDL-40W5100

Post Reply