FAQ  •  Register  •  Login

veetle plugin success !!

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jun 12, 2012 12:07 pm

Re: veetle plugin success !!

did you add a URL to the console as a video WebResource ? Should be one to match the VALID_FEED_URL regex.
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Tue Jun 12, 2012 12:28 pm

Re: veetle plugin success !!

yes ,

tried http://www.veetle.com

but I can't see is using the plugin
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Tue Jun 12, 2012 1:43 pm

Re: veetle plugin success !!

ok .. changed a bit the code .. got it to load :)

but now I got this , so I'm checking all again :P

java.io.IOException: Unexpected error while invoking plugin (veetle): Expected a value on line: 1, column: 57975.
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: 57975.
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.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.AbstractCallSite.call(AbstractCallSite.java:116)
at veetle.extractItems(test1.groovy:26)
at org.serviio.library.online.WebResourceUrlExtractor.parseWebResource(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:56)
... 4 more
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jun 12, 2012 3:03 pm

Re: veetle plugin success !!

the JSON object is not correct
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Tue Jun 12, 2012 4:14 pm

Re: veetle plugin success !!

I finished

and works like a charm .. finally , serviio veetle

just put it in plugins folder , and add web resource address http://www.veetle.com and that's it

a few seconds later (just think it actually query every channel stream url)

it gets all the channels loaded :)

ENJOY !!!!!!!!!!!

updated , veetleshow.groovy added also for show category , web resource url , type http://www.veetles.com , name beetle shows

Currently lists channels from the movies area ..

I'll make another one for the sport area , and for the TV shows area and post it
now I need to work on adding the thumbnails which I disabled cause it gave me some errors ..

and one question ... what do I need to add to it so it gets refreshed with new or non working streams? (currently , to get the list updated it's enough the uncheck and check back again
Attachments
veetleshow.groovy
(1.81 KiB) Downloaded 1527 times
veetle.groovy
(1.81 KiB) Downloaded 1505 times
Last edited by trigu75 on Wed Jun 13, 2012 8:59 am, edited 1 time in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jun 12, 2012 7:37 pm

Re: veetle plugin success !!

you can give the URL and expiry date which would expire the whole feed on that date. otherwise it'll recheck in the interval given in the console (cache expiry).

Also make sure you only get the number of items the user requires, and not all (which could be hundreds).

good job :-) Once you have a final version upload it to the Available plugins area.
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Wed Jun 13, 2012 8:19 am

Re: veetle plugin success !!

posted in available plugins my files ..

thumbnails work , and TV shows gets you 20 most popular , while movies gets you 40 most popular .. and used the usernames instead of description which contained a lot of garbage
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jun 13, 2012 10:05 am

Re: veetle plugin success !!

trigu75 wrote:thumbnails work , and TV shows gets you 20 most popular , while movies gets you 40 most popular .. and used the usernames instead of description which contained a lot of garbage

You should meet the user's selected number of items to retrieve, you are getting the number in the mehod prameter. Look at Channel4 plugin to see what I've done
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Wed Jun 13, 2012 12:24 pm

Re: veetle plugin success !!

done ... current plugin (in available plugins) , any number you add after / is the number of channels you ask to retrieve ..

if the payload is bigger than the requested , then the payload becomes the number of requested items , else it will use the amount of channels that can be retrieved (which are less than the number the user asked)

sometimes I see in the log this error which I have no idea how to solve

the plugins work fine what so ever .. and sometimes this error appear ..


java.io.IOException: Unexpected error while invoking plugin (veetle): Lexing failed on line: 1, column: 2, while reading '�', no possible valid JSON value or punctuation could be recognized.
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: Lexing failed on line: 1, column: 2, while reading '�', no possible valid JSON value or punctuation could be recognized.
at groovy.json.JsonLexer.nextToken(JsonLexer.java:84)
at groovy.json.JsonSlurper.parse(JsonSlurper.java:73)
at groovy.json.JsonSlurper.parseText(JsonSlurper.java:59)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.AbstractCallSite.call(AbstractCallSite.java:116)
at veetleis.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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jun 13, 2012 1:24 pm

Re: veetle plugin success !!

that looks like dodgy json document, you should try to retrieve it manually and check what form it has
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Wed Jun 13, 2012 1:28 pm

Re: veetle plugin success !!

oh .. this is also another problem I found ..

sometimes , with HD content , it can happen after a minute , or after hours ...

it stops playing

on my computer I see this

WARN [ProcessExecutor] Process /Users/nurielt/Downloads/serviio-0.6.2-osx/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg has a return code of 137! This is a possible error.

it also happends every time a show/movie ends , instead of keep playing it goes to the next channel ...

work around , I set on my TV to repeat the played track , so this way I request the same channel every time it stops ..

but I think the problem not related to the plugin ... even changed to the latest ffmpeg ... same error ...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jun 13, 2012 1:29 pm

Re: veetle plugin success !!

does the stream URL change every time you run the plugin? It's possible that the URL is only valid for a certain period of time.
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Wed Jun 13, 2012 1:36 pm

Re: veetle plugin success !!

the url is the same

the weird thing .. this doesn't happened when I set a veetle channel as live stream ..

I mean , the same url , if played thru the plugin we get the errors , set the played URL as live stream ... it works fine (was the old way to wach veetle.. )


hmmm .. ignore all this .. the problem is at the site .... they fail to show their listing some times too , people put weird characters , and that messes up their site as well ..

and about the errors , I noticed , it happens also as online stream source ... if watching on their site with the browser , suddenly video get some decoding garbage , and you get only audio , and the flash player itself stops , and rebutters , sometimes it fails and you need to refresh the whole page ... so I guess the stopping issues is also veetlee's fault ..
<<

kappclark

DLNA master

Posts: 133

Joined: Fri Jan 13, 2012 10:36 pm

Location: Southern VT

Post Sat Jun 16, 2012 3:04 am

Re: veetle plugin success !!

Works for me !

Serviio knows all -it's just that simple !
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Sun Jun 17, 2012 12:33 pm

Re: veetle plugin success !!

for those that have samsung TV , bluray player with internet@TV , I wrote during the weekend a TV widget for veetle ...

so now I get all veetle channels inside my TV app .. so the TV is now decoding veetle streams instead of the need of serviio + my plugin ...

so now I don't need my computer to be on to watch veetle
<<

Vintila

Streaming enthusiast

Posts: 44

Joined: Wed Nov 02, 2011 5:57 pm

Post Mon Jun 18, 2012 9:45 am

Re: veetle plugin success !!

trigu75 wrote:for those that have samsung TV , bluray player with internet@TV , I wrote during the weekend a TV widget for veetle ...

so now I get all veetle channels inside my TV app .. so the TV is now decoding veetle streams instead of the need of serviio + my plugin ...

so now I don't need my computer to be on to watch veetle


That sounds relly good! How can I install that widget in my PS50C7000?

Thanks a lot!
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Mon Jun 18, 2012 11:26 am

Re: veetle plugin success !!

sent on private message ..
<<

judje30

Serviio newbie

Posts: 1

Joined: Sun Jun 03, 2012 7:49 pm

Post Sun Jul 01, 2012 7:06 pm

Re: veetle plugin success !!

How can i install this on my samsung?
sounds great!!!!
<<

kappclark

DLNA master

Posts: 133

Joined: Fri Jan 13, 2012 10:36 pm

Location: Southern VT

Post Mon Jul 02, 2012 11:32 pm

Re: veetle plugin success !!

Althought I enjoy the random-walk nature of the Veetle experience, is there a web resource that actually shows which movies are playing from which feed ?? Some movies I recognize right away, but others I haven't a clue, and have to wait for the credits...

plugins are working very well..
<<

trigu75

Streaming enthusiast

Posts: 32

Joined: Mon Jun 11, 2012 11:29 am

Post Thu Jul 05, 2012 4:50 am

Re: veetle plugin success !!

Judje30 , sent you a private message ..

kappclark , some channels have a schedule as well , for that , you just need to remember the user you are watching , and get to the site , and look there if in their channel they have a schedule , or even a link to their homepage , where usually have schedules

some even let you see it based in your timezone

.... about samsung users .... look at this screenshots :) ....

my samsung TV / bluray app , waiting for samsung approval ..
Attachments
image001.jpg
image001.jpg (90.71 KiB) Viewed 36734 times
image002.jpg
image002.jpg (76.29 KiB) Viewed 36734 times
Next

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 3 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.