CNN.groovy requires update

Issue #447 resolved
Former user created an issue

While the groovy worked initially, it is now failing. Rather than access the video per the initial spec http://forum.serviio.org/viewtopic.php?f=21&t=3708 eg: http://ht.cdn.turner.com/cnn/big/bestoftv/2011/10/29/idesk-seg-allen-qantas-shutdown.cnn_640x360_dl.flv

the groovy is accessing: http://ht.cdn.turner.com/cnn/big/bestoftv/2011/10/29/idesk-seg-allen-qantas-shutdown.cnn.smil

per this log error: {{{ 2011-10-30 23:00:55,926 DEBUG [FeedUpdaterThread] Retrieving information about the video stream 2011-10-30 23:00:55,926 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: http://ht.cdn.turner.com/cnn/big/bestoftv/2011/10/29/nr-seg-whitfield-paton-walsh-afghanistan.cnn.smil 2011-10-30 23:00:55,926 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\..\lib/ffmpeg.exe -i http://ht.cdn.turner.com/cnn/big/bestoftv/2011/10/29/nr-seg-whitfield-paton-walsh-afghanistan.cnn.smil 2011-10-30 23:00:56,033 WARN [FeedUpdaterThread] Failed to retrieve feed item information for http://ht.cdn.turner.com/cnn/big/bestoftv/2011/10/29/nr-seg-whitfield-paton-walsh-afghanistan.cnn.smil. It might not play. java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type. at org.serviio.library.online.metadata.FeedUpdaterThread.updateLazyLoadedProperties(FeedUpdaterThread.java:188) at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:93) Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type. at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:318) at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:68) at org.serviio.library.online.metadata.FeedUpdaterThread.updateLazyLoadedProperties(FeedUpdaterThread.java:169) ... 1 more

}}}

Comments (7)

  1. Petr Nejedly repo owner

    the spec is not complete, I made some changes to support quality etc. What is the feed item URL?

  2. Former user Account Deleted

    Hi Petr. I appreciate your support.

    The feed is http://rss.cnn.com/rss/edition.rss as per my spec. I saw no quality options so could not do a better spec. I'll try and learn some Python and see what you have done.

    All the CNN feeds are here: http://edition.cnn.com/services/rss/

    Note that some of the podcasts in a feed may be just an image with text, in which case they do not display and the log shows an indexing error:

    2011-10-30 23:01:00,921 DEBUG [FeedItemUrlExtractor] CNN: Starting extraction of url for item: Sound of Sunday with Candy Crowley
    2011-10-30 23:01:01,244 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (CNN): index is out of range 0..-1 (index = 0)
    2011-10-30 23:01:01,244 DEBUG [FeedParser] Cannot add feed entry of feed CNN.com - Video because of invalid metadata. Message: Unknown feed entry URL.
    
    

    Note, it would be nice to have all these feeds available within Serviio Online, however without having at least a one level feed subdirectory structure and the logic to populate feeds on demand when opened if not yet populated, rather than waiting for a feed at the end of a long list to be populated in the background, because Serviio will fail if a feed is opened before it is populated, then that is impractical. As you have planned, caching feeds will speed population up but it will not fix the need to wait until the required feed is populated, if it is at the end of a number of unpopulated or expired feeds.

  3. Petr Nejedly repo owner

    Do you have the title of the actual Feed Item (entry in the above feed) that is represented by the above URL failure?

  4. Former user Account Deleted

    The title in the html page for http://rss.cnn.com/rss/edition.rss is "CNN.com" as below.

    The Servio folder under Online Feeds is titled "CNN.com[rss.cnn.com]". Is that what you are looking for?

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://rss.cnn.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel>
    <title>CNN.com</title>
    <link>http://edition.cnn.com/?eref=edition</link>
    <description>CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.</description>
    
    
    
    
  5. Petr Nejedly repo owner

    So it looks like they changed the API for (some of) their videos. I'll update the plugin.

  6. Log in to comment