Page 1 of 1

ASSOCIATED PRESS VIDEO WEBRESOURCE

PostPosted: Fri Apr 27, 2012 2:18 am
by jhb50
APVideo.groovy is a video Web Resource

This video WebResource groovy provides access to the Associated Press Video Network, a library of the latest news videos from around the world.

http://video.ap.org is the default link and provides access to the Editors_Picks.

http://video.ap.org?feed=xxxxxx provides access to the other "Video Playlists" listed at the left side of the http://video.ap.org page.

Just replace xxxxxx with the playlist name and add as a video WebResource. If xxxxxx is multiple words join them with an underscore _ . Note that U.S. is U._S.

Current playlists are:
Raw_Video
U._S.
World
Most_Watched
Showbiz
Sports
Politics
Offbeat
Sci-Tech
Today_in_History

The plugin now includes a quick refresh feature as described in the wiki at http://wiki.serviio.org/doku.php?id=quick_refresh.
The feature may be disabled using the parameter genurls=0

The groovy will also generate a "events" icon showing the time of the next scheduled refresh.

Version 2: Feb. 4, 2013 - Add Quick Refresh
Version 3 - Feb. 9, 2013 - Support Quick Refresh for subsets.
Version 4 - Feb. 10, 2013 - Update refresh logic
Version 5 - Apr. 19, 2013 - Fix Special Chars in Titles

Re: APVideo WebResource

PostPosted: Fri Apr 27, 2012 2:21 am
by moltra
jhb50 wrote:APVideo.groovy is a Web Resource

This groovy provides access to the Associated Press Video Network, a library of the latest news videos from around the world.

http://video.ap.org is the default link and provides access to provides access to the Editors_Picks.

http://video.ap.org?feed=xxxxxx provides access to the other "Video Playlists" listed at the left side of the http://video.ap.org page.

Just replace xxxxxx with the playlist name and if xxxx is multiple words join them with an underscore _ . Note that U.S. is U._S.


Can you add this to serviidb.com? I am working on a template system and this looks like a good candidate to work on the design of the template php.

Re: APVideo WebResource

PostPosted: Fri Apr 27, 2012 2:50 am
by jhb50
Can you add this to serviidb.com?


You are welcome to use it as you wish. I just have too many irons in the fire to try and maintain and support my stuff in another database as well.

Re: APVideo WebResource

PostPosted: Fri Apr 27, 2012 3:23 am
by moltra
jhb50 wrote:
Can you add this to serviidb.com?


You are welcome to use it as you wish. I just have too many irons in the fire to try and maintain and support my stuff in another database as well.


We are trying to get all plugins and content on serviidb.com that way they can be pulled from the database using the web consoles and ServiiDroid. Zip has talked about adding the function to the Serviio Console.

Re: APVideo WebResource

PostPosted: Mon Feb 04, 2013 11:55 pm
by jhb50
Version 2 posted.

This is a major upgrade of the plugin and features a new quick refresh capability as described in the wiki at http://wiki.serviio.org/doku.php?id=quick_refresh.

This makes it practical to do refreshes frequently using the refresh parameter and keep the list of items up to date without the overhead of re-extracting the existing items. Refreshes that previously took many minutes are now done in one or two seconds.

Re: APVideo WebResource

PostPosted: Sun Feb 10, 2013 5:50 am
by jhb50
Version 3 posted to support Quick refresh of subsets

Re: APVideo WebResource

PostPosted: Sun Feb 10, 2013 8:21 pm
by jhb50
Version 4 posted to correct refresh logic

Re: ASSOCIATED PRESS VIDEO WEBRESOURCE

PostPosted: Sat Apr 20, 2013 3:39 am
by jhb50
Version 5 posted to fix special chars in titles.