Page 1 of 1

Veetle Movies

PostPosted: Tue Jun 12, 2012 4:27 pm
by trigu75
I wrote this

Enjoy

add as web resource , type http://www.veetle.com/20 , or any number of channels you want to retrieve , and name it veetle

wait a few seconds .. channels will start to appear

updated ,

veetleshow.groovy added also for show category , web resource url , type http://www.veetls.com/20 (for 20 channels , or any number of channels you want to retrieve , name veetleshows

updated again , sometimes the info inside the description comes with some characters that brings errors , so now I get the Username instead , and thumbnails now work

also , shows brings now 20 most popular , and movies brings now 39 most popular channels

Re: Veetle Movies

PostPosted: Wed Jun 13, 2012 4:27 am
by JerseyJoe123
I just installed the plugin in Serviio 0.6.2 and followed the instructions. I didn't see any Veetle channels show up, so I checked the log files.

Getting the following message in the Serviio log:

2012-06-13 00:19:54,354 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (veetle): Expected a value on line: 1, column: 55920.
But got an unterminated object.
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:58)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:169)
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)
Caused by: groovy.json.JsonException: Expected a value on line: 1, column: 55920.
But got an unterminated object.
at groovy.json.JsonSlurper.parseObject(JsonSlurper.java:222)
at groovy.json.JsonSlurper.parseArray(JsonSlurper.java:114)
at groovy.json.JsonSlurper.parseObject(JsonSlurper.java:235)
at groovy.json.JsonSlurper.parse(JsonSlurper.java:75)
at groovy.json.JsonSlurper.parseText(JsonSlurper.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:230)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at veetle.extractItems(veetle.groovy:26)
at org.serviio.library.online.WebResourceUrlExtractor.parseWebResource(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:56)
... 4 more


The Veetle Shows plug-in appears to be working OK though. It is just the Veetle.groovy plug-in that is throwing the error. Any ideas?

Re: Veetle Movies

PostPosted: Wed Jun 13, 2012 5:59 am
by trigu75
veetleshows and veetle plugins , are the same

the difference is the page from where it gets the info ... , and the number of channels they have to offer .. the errors are related to garbage they put inside the description , so now I get username ,

files updated at the 1st post
Enjoy ...

Re: Veetle Movies

PostPosted: Wed Jun 13, 2012 4:20 pm
by JerseyJoe123
OK. I installed the updated plugins and updated the URLs, but get a new error in the log:

2012-06-13 12:14:32,306 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.veetle.com/20. Message: No plugin for web resource http://www.veetle.com/20 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-06-13 12:14:32,307 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.veetls.com/20. Message: No plugin for web resource http://www.veetls.com/20 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)

yet, when Serviio scans for plugins, it finds them:

2012-06-13 11:56:55,895 INFO [PluginCompilerThread] Added Web Resouce plugin veetle (veetle.groovy)
2012-06-13 11:56:55,945 INFO [PluginCompilerThread] Added Feed plugin Gamespot (Gamespot.groovy)
2012-06-13 11:56:55,983 INFO [PluginCompilerThread] Added Web Resouce plugin veetles (veetleshow.groovy)

Re: Veetle Movies

PostPosted: Wed Jun 13, 2012 7:34 pm
by trigu75
since I don't know if you downloaded the updated files or just the "chatted by the browser files"

I'm posting the files here again with different names , just to be sure you are using the latest ... just put them in the plugins folder , remove the old

it works just fine for me ..

Re: Veetle Movies

PostPosted: Wed Jun 13, 2012 9:07 pm
by JerseyJoe123
No difference with the plugins you just posted. I went back to the original plugins and URLs, and while there are a bunch of the "java.io.IOException: Unexpected error while invoking plugin (veetle): Expected a value on line: 1, column: xxxxx." errors in the logs, eventually I do get a list of channels appear. Strange...

Re: Veetle Movies

PostPosted: Thu Jun 14, 2012 6:26 pm
by trigu75
the errors are related to garbage their users put , and I get all the garbage as well ..

it also messes up veetle site itself , failing to bring the list ..

I'm checking anyway for a better way to parse the info , maybe removing invalid characters before i parse the info could solve this problem ..

and about intermittent disconnections , maybe they can do something inside serviio , some kind of buffer before sending it to the TV ...

Re: Veetle Movies

PostPosted: Sat Jun 16, 2012 10:41 am
by kappclark
Are www.veetle.com and www.veetls.com supposed to be unique URL's ?? I can resolve the first, but not the second.

Re: Veetle Movies

PostPosted: Sat Jun 16, 2012 2:25 pm
by kappclark
Nevermind - the second VeetleShows feed showed up

Some pretty weird titles -- "PsychoSeaFlower" ?

watched Columbo w/no plms --THX!

Re: Veetle Movies

PostPosted: Sun Jun 17, 2012 12:40 pm
by trigu75
yeah ..

I noticed on veetle's site code that they started to remove "invalid chars" from the title , hopefully they will get smart and don't allow this from the beginning

Re: Veetle Movies - No plugin ... has been found

PostPosted: Sun Jul 29, 2012 2:27 pm
by captpete
Windows 7 Home Premium (64-bit) SP1
Serviio PRO v1.0 Evaluation license
Samsung TV/Player (C D E-series) profile
veetle.groovy and veetls.groovy plugins copied from post #1
http://www.veetle.com/20 and http://www.veetls.com/20 as Web Resource

Log:
  Code:
2012-07-29 10:10:30,400 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.veetle.com/20. Message: No plugin for web resource http://www.veetle.com/20 has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
2012-07-29 10:10:30,401 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.veetls.com/20. Message: No plugin for web resource http://www.veetls.com/20 has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)


  Code:
 Directory of C:\Program Files\Serviio\plugins

07/28/2012  04:52 PM             1,937 veetle.groovy
07/28/2012  04:53 PM             1,938 veetleshow.groovy
01/18/2012  04:47 PM             2,461 Vimeo.groovy
               3 File(s)          6,336 bytes
               0 Dir(s)  130,054,340,608 bytes free


Re: Veetle Movies - No plugin ... has been found

PostPosted: Sun Jul 29, 2012 9:29 pm
by JerseyJoe123
captpete wrote:Windows 7 Home Premium (64-bit) SP1
Serviio PRO v1.0 Evaluation license
Samsung TV/Player (C D E-series) profile
veetle.groovy and veetls.groovy plugins copied from post #1
http://www.veetle.com/20 and http://www.veetls.com/20 as Web Resource

Log:
  Code:
2012-07-29 10:10:30,400 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.veetle.com/20. Message: No plugin for web resource http://www.veetle.com/20 has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
2012-07-29 10:10:30,401 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.veetls.com/20. Message: No plugin for web resource http://www.veetls.com/20 has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)


  Code:
 Directory of C:\Program Files\Serviio\plugins

07/28/2012  04:52 PM             1,937 veetle.groovy
07/28/2012  04:53 PM             1,938 veetleshow.groovy
01/18/2012  04:47 PM             2,461 Vimeo.groovy
               3 File(s)          6,336 bytes
               0 Dir(s)  130,054,340,608 bytes free



I've never been able to get the new version of the Veetle plugin to work either. It gives me the same errors. I still have copies of the previous version of the plugin which work for me, but I have to usually wait for an hour or two for the feeds to appear.

Re: Veetle Movies

PostPosted: Mon Jul 30, 2012 1:49 am
by Susan-334
What would I have to do to get these to work?

http://veetle.com/index.php/listing/index/entertainment

Re: Veetle Movies

PostPosted: Tue Aug 07, 2012 1:26 pm
by xs2inattar
Is it possible to limit the channel fetches only to a particular category like Entertainment or Comedy?

Suggestion

PostPosted: Tue Aug 07, 2012 2:30 pm
by xs2inattar
I would suggest to combine both the groovy files into one and add support for other categories as well.

Users will then add the page urls for the category they want loaded as a video webresource with the number of channels they want to load as follows.

  Code:
Entertainment: http://veetle.com/index.php/listing/index/entertainment/20
Shows: http://veetle.com/index.php/listing/index/shows/20
Music: http://veetle.com/index.php/listing/index/music/5
etc.


Using the links above you can easily identify which category user wants loaded. After identifying the category, you can get the category id from the following table.

Category: CategoryId
All: 0
Entertainment: 10
Shows: 20
News: 30
Gaming: 40
Comedy: 50
Animation: 60
Music: 70
Sports: 80
Education: 90
Religion: 100
Mobile: 110

You can then use the category-id in the ajax listing script that you are already using as follows.

  Code:
http://veetle.com/index.php/listing/ajaxStreamByCategory/<category-id>/0/<numbers of channels to fetch>/0


Making the above changes would be really awesome. :)