Thumbnail, file size and duration not showing up

Apr 9, 2009 at 1:01 PM
Hi,
I created a custom list. Then created a page similar to PKSHomePage.aspx to show items from this custom list. I also created a details page for the items.
Since I had some different columns for this list, I copied the CBQ web part to a new one and used it on the pages.

I am able to upload the video files, but the thumbnail, file size and duration do not show up.
Physically, the Thumbnail.jpg file gets created in the folder.

There is no error on the details page, but just the comments section shows up. The CBQ web part is missing.

I have even tried re-activating the PKS Podcast list Update Handler feature, resetting values for the PKS Configuration Settings list and restarting the Media Encoder service.


My encoder.log file contents are

[4/9/2009 6:08:08 PM] Error[fileSystemWatcher_Created]: Object reference not set to an instance of an object.
StackTrace:
   at MediaEncoderService.MediaEncoderService.ActOnNewFile(String fullPath)

[4/9/2009 6:08:08 PM] GetListItem entered
[4/9/2009 6:08:09 PM] Item created:
%7b02acd68c-0e3d-4f3a-b6e9-a5414eae0050%7d%40%7b25d67a15-2b94-4a6d-b599-bd843feae44b%7d@14
[4/9/2009 6:08:09 PM] Item isPrimary...
[4/9/2009 6:08:09 PM] GenerateThumbnail() entered...
[4/9/2009 6:08:09 PM] Video file type supported...
[4/9/2009 6:08:09 PM] executing recoder.Thumbnail()...
[4/9/2009 6:08:14 PM] Thumbnail generated...
[4/9/2009 6:08:14 PM] Thumbnail created...
[4/9/2009 6:08:14 PM] Error[fileSystemWatcher_Created]: Object reference not set to an instance of an object.
StackTrace:
   at MediaEncoderService.PKSListItem.updateField(String fieldName, String fieldValue)
   at MediaEncoderService.PKSListItem.CalculateNewItemValues()
   at MediaEncoderService.MediaEncoderService.ActOnNewFile(String fullPath)

[4/9/2009 6:08:14 PM] GetListItem entered
[4/9/2009 6:08:14 PM] Item created:
%7b02acd68c-0e3d-4f3a-b6e9-a5414eae0050%7d%40%7b25d67a15-2b94-4a6d-b599-bd843feae44b%7d@14


The changes to .webpart file contents are 

1)       <property name="CommonViewFields" type="string">PodcastThumbnail, URL;PodcastAuthor, User;Description, Note;PodcastDuration, Text;PodcastPublishDate, DateTime;CCDRating, Choice;Tags, Text;FileURL, Text;PodcastSize, Text;PodcastSizeInBytes, Number;PodcastDurationInSeconds, Number;Title, Text;ID, Integer;AverageRating, Integer;TotalRatings, Integer;NFS_x0020_Xml_x0020_Blob, Note;</property>
        <property name="ListsOverride" type="string">
         <![CDATA[
       <Lists>
         <List ID="25d67a15-2b94-4a6d-b599-bd843feae44b"/>
       </Lists>
   ]]>
  </property>
       
2)    <property name="ItemXslLink" type="string">/Style Library/XSL Style Sheets/EventVideoItem.xsl</property> ( I used new .xsl just to redirect to my new details page)

3)       <property name="ViewFieldsOverride" type="string">&lt;FieldRef Name='PodcastThumbnail' Type=' URL'/&gt;&lt;FieldRef Name='PodcastAuthor' Type=' User'/&gt;&lt;FieldRef Name='Description' Type=' Note'/&gt;&lt;FieldRef Name='PodcastDuration' Type=' Text'/&gt;&lt;FieldRef Name='PodcastPublishDate' Type=' DateTime'/&gt;&lt;FieldRef Name='CCDRating' Type=' Choice'/&gt;&lt;FieldRef Name='Tags' Type=' Text'/&gt;&lt;FieldRef Name='FileURL' Type=' Text'/&gt;&lt;FieldRef Name='PodcastSize' Type=' Text'/&gt;&lt;FieldRef Name='PodcastSizeInBytes' Type=' Number'/&gt;&lt;FieldRef Name='PodcastDurationInSeconds' Type=' Number'/&gt;&lt;FieldRef Name='Title' Type=' Text'/&gt;&lt;FieldRef Name='PodcastThumbnail' Type=' URL'/&gt;&lt;FieldRef Name='PodcastAuthor' Type=' User'/&gt;&lt;FieldRef Name='Description' Type=' Note'/&gt;&lt;FieldRef Name='PodcastDuration' Type=' Text'/&gt;&lt;FieldRef Name='PodcastPublishDate' Type=' DateTime'/&gt;&lt;FieldRef Name='CCDRating' Type=' Choice'/&gt;&lt;FieldRef Name='Tags' Type=' Text'/&gt;&lt;FieldRef Name='FileURL' Type=' Text'/&gt;&lt;FieldRef Name='PodcastSize' Type=' Text'/&gt;&lt;FieldRef Name='PodcastSizeInBytes' Type=' Number'/&gt;&lt;FieldRef Name='PodcastDurationInSeconds' Type=' Number'/&gt;&lt;FieldRef Name='Title' Type=' Text'/&gt;&lt;FieldRef Name='PodcastThumbnail' Type=' URL'/&gt;&lt;FieldRef Name='PodcastAuthor' Type=' User'/&gt;&lt;FieldRef Name='Description' Type=' Note'/&gt;&lt;FieldRef Name='PodcastDuration' Type=' Text'/&gt;&lt;FieldRef Name='PodcastPublishDate' Type=' DateTime'/&gt;&lt;FieldRef Name='CCDRating' Type=' Choice'/&gt;&lt;FieldRef Name='Tags' Type=' Text'/&gt;&lt;FieldRef Name='FileURL' Type=' Text'/&gt;&lt;FieldRef Name='PodcastSize' Type=' Text'/&gt;&lt;FieldRef Name='PodcastSizeInBytes' Type=' Number'/&gt;&lt;FieldRef Name='PodcastDurationInSeconds' Type=' Number'/&gt;&lt;FieldRef Name='Title' Type=' Text'/&gt;&lt;FieldRef Name='ID' Type=' Integer'/&gt;&lt;FieldRef Name='Total_x0020_Downloads' Type=' Number'/&gt;&lt;FieldRef Name='NFS_x0020_Xml_x0020_Blob' Type=' Note'/&gt;</property>

4)        <property name="customViewFieldsOverride" type="string">PodcastThumbnail, URL;PodcastAuthor, User;Description, Note;PodcastDuration, Text;Downloads, Number;PodcastPublishDate, DateTime;CCDRating, Choice;Tags, Text;FileURL, Text;PodcastSize, Text;PodcastSizeInBytes, Number;PodcastDurationInSeconds, Number;Title, Text;</property>

Apr 10, 2009 at 6:28 AM
50% problem solved.

Hi,
I had inadvertantly deleted the column RSSFileUrl while creating my custom list.. Restoring the column solved the problem of Thumbnail, File Size and Duration.

Now, I am searching for the details page problem.


Regards,
Chetan