FAQ  •  Register  •  Login

CBS.com (US Only)

<<

amikhnov

Serviio newbie

Posts: 1

Joined: Tue Apr 16, 2013 4:15 pm

Post Tue Apr 16, 2013 4:25 pm

Re: CBS.com (US Only)

leo1981 wrote:Hi,
I am new to plugin development.
I modified the original CBS.groovy and I got it to work.


Thanks,
Leonardo


Works great! Thank you
<<

DrJay

Streaming enthusiast

Posts: 31

Joined: Sat Oct 06, 2012 12:41 am

Location: U.S.

Post Tue Apr 16, 2013 5:19 pm

Re: CBS.com (US Only)

Yes, the CBS plug-in is working again. Thanks, Leonardo.

Now if we could get someone to create a CBSNews.com plug-in that would be fantastic. Things like 60 minutes and CBS Sunday morning are great programs that would be wonderful to stream directly to my TV with Serviio.
<<

hospitalfood

Serviio newbie

Posts: 6

Joined: Thu Apr 18, 2013 1:53 am

Post Thu Apr 18, 2013 1:56 am

Re: CBS.com (US Only)

I've downloaded the new .groovy file, but it still isn't working for me. Did you have to do anything else different besides update the .groovy?
<<

leo1981

Streaming enthusiast

Posts: 24

Joined: Mon Feb 20, 2012 5:29 pm

Post Thu Apr 18, 2013 2:51 am

Re: CBS.com (US Only)

Hi,
CBS updated some links today (April 17th).
I updated the file again.


Leonardo
Attachments
CBS.groovy
Updated April 17th
(5.6 KiB) Downloaded 224 times
<<

anjilslaire

Serviio newbie

Posts: 8

Joined: Sat Apr 13, 2013 1:40 am

Post Fri Apr 19, 2013 5:42 am

Re: CBS.com (US Only)

Yes, it's working great, Leonardo.

Suggestion:
Update the comments of the groovy file to reflect that you've edited it, date, and maybe a new version #? That way we can easily see what version we have?


Either way, thanks a bunch!
<<

leo1981

Streaming enthusiast

Posts: 24

Joined: Mon Feb 20, 2012 5:29 pm

Post Sat Apr 27, 2013 3:23 am

Re: CBS.com (US Only)

Version 5
I updated the carousel link again and I added version number.
Attachments
CBS.groovy
V5
(7.17 KiB) Downloaded 210 times
<<

headputty

Serviio newbie

Posts: 4

Joined: Mon Apr 01, 2013 11:14 pm

Post Sun Apr 28, 2013 6:56 pm

Re: CBS.com (US Only)

Leonardo,

You rock!!, thanks for fixing the plugin each time it breaks cos of a CBS.com change.

Keep up the good work!
<<

jgonick

Serviio newbie

Posts: 2

Joined: Mon Jan 14, 2013 5:18 pm

Post Sat May 11, 2013 12:48 pm

Re: CBS.com (US Only)

Yes, I have to agree. Thanks for keeping this plugin working. We really appreciate it.
<<

Xmantium

User avatar

DLNA master

Posts: 1417

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sun May 12, 2013 11:56 am

Re: CBS.com (US Only)

48 Hours (http://www.cbs.com/shows/48_hours/video/) and 60 Minutes is available worldwide and viewable on the web browser.
This groovy used to work on my Serviio in the UK for some reason i get the following errors. Any help?

  Code:
2013-05-12 12:50:24,619 DEBUG [OnlineLibraryManager] Resource http://www.cbs.com/shows/48_hours/video/ not in cache yet, loading it
2013-05-12 12:50:24,619 DEBUG [WebResourceParser] Parsing web resource 'http://www.cbs.com/shows/48_hours/video/'
2013-05-12 12:50:24,619 DEBUG [FeedItemUrlExtractor] Playlist extractor:   - transmitted from WebResourceParser - playlistUrl: null
2013-05-12 12:50:26,065 DEBUG [WebResourceParser] Unexpected error during url extractor plugin matching (EightTracks): index is out of range 0..-1 (index = 0)
2013-05-12 12:50:26,065 DEBUG [WebResourceParser] Found matching url extractor (CBS.com) for resource http://www.cbs.com/shows/48_hours/video/
2013-05-12 12:50:26,065 DEBUG [FeedItemUrlExtractor] CBS.com: Starting parsing resource: http://www.cbs.com/shows/48_hours/video/
2013-05-12 12:50:27,043 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (CBS.com): No signature of method: java.lang.String.and() is applicable for argument types: (java.lang.NullPointerException) values: [java.lang.NullPointerException]
Possible solutions: any(), any(groovy.lang.Closure), find(), find(groovy.lang.Closure), find(java.util.regex.Pattern), find(java.lang.String)
   at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:58)
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:171)
   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)
Caused by: groovy.lang.MissingMethodException: No signature of method: java.lang.String.and() is applicable for argument types: (java.lang.NullPointerException) values: [java.lang.NullPointerException]
Possible solutions: any(), any(groovy.lang.Closure), find(), find(groovy.lang.Closure), find(java.util.regex.Pattern), find(java.lang.String)
   at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:55)
   at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
   at CBS.extractItems(CBS.groovy:130)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
   at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

leo1981

Streaming enthusiast

Posts: 24

Joined: Mon Feb 20, 2012 5:29 pm

Post Sun May 12, 2013 9:27 pm

Re: CBS.com (US Only)

Version 6.
- added some debug code to make it easier to find problems.
- implemented maxItemsToRetrieve
- fixed bug when a show has only one quality

It should play 48 Hours.


Leonardo
Attachments
CBS.groovy
Version 6
(8.38 KiB) Downloaded 141 times
<<

Xmantium

User avatar

DLNA master

Posts: 1417

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sun May 12, 2013 9:39 pm

Re: CBS.com (US Only)

Thankyou so much!!

Anyone looking to use this plugin, here are all the URL sources - http://www.serviidb.com/plugin-api-name/cbscom
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

DrJay

Streaming enthusiast

Posts: 31

Joined: Sat Oct 06, 2012 12:41 am

Location: U.S.

Post Mon May 13, 2013 12:09 am

Re: CBS.com (US Only)

leo1981 wrote:Version 6.
- added some debug code to make it easier to find problems.
- implemented maxItemsToRetrieve
- fixed bug when a show has only one quality

It should play 48 Hours.


Leonardo


Thanks for keeping the plug-in up to date. Unfortunately, I can't seem to get the plug-in to work for 48 Hours or 60 Minutes. It seems like they have the programs on CBSNews.com rather than CBS.com Maybe I'm doing something wrong, but programs like NCIS and Elementary are working, but not 48 Hours or 60 Minutes.

Jay
<<

DrJay

Streaming enthusiast

Posts: 31

Joined: Sat Oct 06, 2012 12:41 am

Location: U.S.

Post Mon May 13, 2013 2:39 am

Re: CBS.com (US Only)

leo1981 wrote:Version 6.
- added some debug code to make it easier to find problems.
- implemented maxItemsToRetrieve
- fixed bug when a show has only one quality

It should play 48 Hours.


Leonardo



As I mentioned in my last post, 48 Hours and 60 Minutes will not play with the CBS groovy. Here is my log:


2013-05-12 21:23:29,712 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (CBS.com): No signature of method: java.lang.String.and() is applicable for argument types: (java.lang.NullPointerException) values: [java.lang.NullPointerException]
Possible solutions: any(), any(groovy.lang.Closure), find(), find(java.lang.CharSequence), find(groovy.lang.Closure), find(java.util.regex.Pattern)
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:58)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:171)
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)
Caused by: groovy.lang.MissingMethodException: No signature of method: java.lang.String.and() is applicable for argument types: (java.lang.NullPointerException) values: [java.lang.NullPointerException]
Possible solutions: any(), any(groovy.lang.Closure), find(), find(java.lang.CharSequence), find(groovy.lang.Closure), find(java.util.regex.Pattern)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:55)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
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 CBS.extractItems(CBSGood.groovy:130)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I can watch the programs on my computer with the web resource (ie. http://www.cbs.com/shows/48_hours/video), but they don't show up on the Serviio server. I watch the other CBS programs (ie. NCIS) on the serviio server through my Sony Blu-Ray player. Since I am in the U.S., not sure if that is the problem. The serviio.db programs listed for the U.S. work, but the world ones seem to be a problem.

Anyway, still happy that I can watch the other programs with your updates.

Thanks, Leonardo.
<<

leo1981

Streaming enthusiast

Posts: 24

Joined: Mon Feb 20, 2012 5:29 pm

Post Mon May 13, 2013 4:54 am

Re: CBS.com (US Only)

Do you have "Max. number of feed items to retrieve" set to "Unlimited"?
Please try to change to a finite number.
<<

DrJay

Streaming enthusiast

Posts: 31

Joined: Sat Oct 06, 2012 12:41 am

Location: U.S.

Post Mon May 13, 2013 12:33 pm

Re: CBS.com (US Only)

leo1981 wrote:Do you have "Max. number of feed items to retrieve" set to "Unlimited"?
Please try to change to a finite number.


Leonardo,
Thanks for the quick response. I set the Max. number to 10 and 30 and still not able to get 60 Minutes or 48 Hours.

Jay
<<

leo1981

Streaming enthusiast

Posts: 24

Joined: Mon Feb 20, 2012 5:29 pm

Post Tue May 14, 2013 10:04 pm

Re: CBS.com (US Only)

I'm trying to reproduce the problem, but I can do it.
What video quality do you use?
What version of Serviio are you using?
<<

DrJay

Streaming enthusiast

Posts: 31

Joined: Sat Oct 06, 2012 12:41 am

Location: U.S.

Post Wed May 15, 2013 3:26 am

Re: CBS.com (US Only)

leo1981 wrote:I'm trying to reproduce the problem, but I can do it.
What video quality do you use?
What version of Serviio are you using?


Leonardo,

Preferred online content quality Medium
Serviio version 1.2.1

Jay
<<

Xmantium

User avatar

DLNA master

Posts: 1417

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Thu May 16, 2013 10:53 pm

Re: CBS.com (US Only)

Plugin working fine for me, i use high quality all the time
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

leo1981

Streaming enthusiast

Posts: 24

Joined: Mon Feb 20, 2012 5:29 pm

Post Fri May 17, 2013 1:27 am

Re: CBS.com (US Only)

The only issue I found is with "Unlimited" feeds.
Changing the max feed number don't take effect until you restart serviio.

I fixed the problem with "unlimited" feed in V7.
(Unlimited is actually 100)
Attachments
CBS.groovy
V7
(8.55 KiB) Downloaded 262 times
<<

DrJay

Streaming enthusiast

Posts: 31

Joined: Sat Oct 06, 2012 12:41 am

Location: U.S.

Post Fri May 17, 2013 3:13 am

Re: CBS.com (US Only)

leo1981 wrote:The only issue I found is with "Unlimited" feeds.
Changing the max feed number don't take effect until you restart serviio.

I fixed the problem with "unlimited" feed in V7.
(Unlimited is actually 100)



Leonardo,

Thank you for your efforts. It may be that they are doing something in the U.S. that affects what can be seen. 48 hours and 60 Minutes still do not show up in Serviio. I restarted Serviio after updating to v7 and still nothing. If anyone from the U.S. on this forum is able to see the 48 Hours feed or the 60 Minutes feed, I'd like to know. It appears that people in the U.K. don't have the same problem. I may try re-downloading the latest Serviio version and see if maybe that helps.

Thank you, again, for your help.

Jay
PreviousNext

Return to Available plugins

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.