Page 2 of 5

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 5:58 pm
by jockebure
CraigD wrote:They need to be in the lib folder not the library folder... you also need to flatten it so that all the jars are together in there at the top level. I believe the zip has some subfolders in it.



I can not find a lib folder ! Sorry for being a non-understanding-humanbeing right now but would really love to get this goin cause it seems awesome :D

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:07 pm
by moltra
In the serviio folder you should have a "bin" folder a "log" folder and a "lib" folder. This is where he is talking about.

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:26 pm
by jockebure
moltra wrote:In the serviio folder you should have a "bin" folder a "log" folder and a "lib" folder. This is where he is talking about.



No i cant find it, i should say that i'm on a mac.

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:30 pm
by jockebure
Say a file name in the same folder so i can search for that! Thx guys

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:30 pm
by moltra
I am not a mac user, but look at this post and see if it helps.

http://forum.serviio.org/viewtopic.php?f=11&t=2419&p=14508&hilit=mac+located#p14508

jedicaveman wrote:Found it. I had to right-click on the app, and show package contents. It's located in Serviio.app/Contents/Resources/Java/config/profiles.xml The average Mac user would never know where to find that. That info should be stickied somewhere on this forum.

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:40 pm
by jockebure
Well i know how to browse on a mac, so... But if someone could name a file that's located in that folder so can i look for that, cause for the moment i have looked over both folders and dont find a "bin" or a "lib" folder!

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:47 pm
by moltra
the user in the post I referenced above had to right click on the serviio app and click on show package contents. Not sure if that is normal on a Mac. Windows and linux here.

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:51 pm
by jockebure
i see but that's what i've been doing so.. But can you look in your /lib folder and tell me a filename that could help me a long way!? Thanks man

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:52 pm
by will
jockebure wrote:i see but that's what i've been doing so.. But can you look in your /lib folder and tell me a filename that could help me a long way!? Thanks man


serviio.jar
serviio-client.jar
derby.jar

to name a few

Edit just had a look inside the lastest version from the website

the libs go into

  Code:
Serviio.app\Contents\Resources\Java\


Which happens to be one up from where you have previously placed the plugin file

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 6:53 pm
by moltra
I cannot now since at work, but I can in around 3 hours.

Try searching for "profiles.xml"

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 7:01 pm
by jockebure
well finally found the right folder to put the files in (i think), but still get this message..

2012-01-18 19:59:48,022 DEBUG [WebResourceParser] Parsing web resource 'http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670'
2012-01-18 19:59:48,022 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670. Message: No plugin for web resource http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670 has been found.
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:177)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:184)
at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:158)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:95)

ps. yes i've restarted serviio...

Anyone with ideas? Thoughts?..

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 7:03 pm
by will
And you definately have the plugin in the right place (Serviio.app\Contents\Resources\Java\plugins)

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 7:04 pm
by jockebure
will wrote:And you definately have the plugin in the right place (Serviio.app\Contents\Resources\Java\plugins)



Yeah!

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 7:07 pm
by will
Have you added http://www.nhl.com/ice/gamecenterlive.htm or http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670 in the console?

Ok another thing. Can you stop all serviio related things and then start it up and post the log up to and including where it loads the plugins.

Should see things like
  Code:
2012-01-18 18:58:54,611 INFO  [PluginCompilerThread] Added Feed plugin Yahoo Movies (YahooMovies.groovy)
2012-01-18 18:58:54,786 INFO  [PluginCompilerThread] Added Feed plugin GameTrailers (GameTrailers.groovy)
2012-01-18 18:58:55,444 INFO  [PluginCompilerThread] Added Feed plugin BBC iPlayer (UK only) (IPlayer.groovy)
2012-01-18 18:58:56,106 INFO  [PluginCompilerThread] Added Web Resouce plugin 4OD (UK only) (Channel4od.groovy)
2012-01-18 18:58:56,299 INFO  [PluginCompilerThread] Added Feed plugin YouTube (Youtube.groovy)
2012-01-18 18:58:56,383 INFO  [PluginCompilerThread] Added Feed plugin LiveFeeds (LiveFeeds.groovy)


but for the one you want.

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 7:23 pm
by jockebure
I've added the

http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670


... Dont know if this log helps...



012-01-18 20:20:48,736 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-01-18 20:20:48,737 DEBUG [LocalContentCacheDecorator] Cleared cache (local_default)
2012-01-18 20:21:09,825 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2012-01-18 20:21:09,825 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2012-01-18 20:21:09,829 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 3)
2012-01-18 20:21:09,830 DEBUG [OnlineLibraryManager] Resource http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670 not in cache yet, loading it
2012-01-18 20:21:09,830 DEBUG [WebResourceParser] Parsing web resource 'http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670'
2012-01-18 20:21:09,830 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670. Message: No plugin for web resource http://www.nhl.com/ice/gamecenterlive.htm?id=2011020670 has been found.
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:177)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:184)
at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:158)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:95)
2012-01-18 20:21:09,831 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 7:46 pm
by will
You haven't posted the part of the log where it loads plugins.
Try the other url without all the extra stuff.

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 7:51 pm
by moltra
@Will did you see my prior post and question?

moltra wrote:I was getting alot of errors from this plugin, so I removed it from the directory.

CraigD wrote: change the user name and password to your gamecenter username and password in the attached NHLGameCenterPlugin.groovy (at the top) then you should be rocking live hockey in Serviio!



Is there any way to stop the plugin if the username and passord is not changed with out downloading the required files.

The plugin might already do this, cause I did not downlaod the required extra files.

Basically can the plugin stop itself without downloading any files, unless a user puts in his username and password.

Re: NHL Gamecenter Live

PostPosted: Wed Jan 18, 2012 8:08 pm
by CraigD
If the plugin gets loaded, it will try to do it's thing. It wouldnt really be the plugin that is spamming the logs; the only thing I believe that it writes to the log is when authentication fails. I plan on improving logging sometime. But it appears there are still issues getting it loaded.

Re: NHL Gamecenter Live

PostPosted: Thu Jan 19, 2012 11:02 am
by thyrus88
i`m going to be honest (as i am with all these posts) and say that my noob lvl is legendary (not in a good way)!

It probably means i shouldnt even be looking to do this plugin but hey ho, here i am and i would really like to play nhl through serviio.

the plugin is installed but i need to do something about the external dependancy with http builder.
you lost me with jars and "update bin/serviio.sh to add this to the classpath" sorry!

any help appreciated.

at the moment if i go to the online folder its empty... is that what i should see with plugin but no extras or should i see something but it wont work if i click on it?


thanks

Re: NHL Gamecenter Live

PostPosted: Thu Jan 19, 2012 11:42 am
by zip
you don't have to update the .sh file, it searches all files in the lib folder automatically.

Thinking about it in regards with the Mac version, it might be needed to add the jar dependency to the plist file, which is going to be a pain - another reason to update the plugin not to be dependent on other libraries :-)