Art S R wrote:
> On Sat, Mar 14, 2009 at 9:31 AM, Duncan Webb <dun...@freevo.org> wrote:
>> Art S R wrote:
>>> Hi all,
>>>
>>> I noticed that when I go to the Recorded shows page, the year
>>> (date/timestamp) field is not displayed to the left of runtime for any
>>> of my recordings in Freevo 1.8.3.  I verified the fxd files contained
>>> year info.  When I ran debug, I noticed that mediainfo.py was assigning
>>> userdate as the year.  Checking svn, I saw that in revision 10905 of
>>> mediainfo.py, there's a comment "Fixed missing year item, change to
>>> userdate in kaa.metadata" and the following statements were added to def
>>> __getitem__(self, key):
>>>         if key == 'year':
>>>             key = 'userdate'
>>> Even though the Freevo 1.8.3 version of mediainfo.py includes these
>>> statements, year is not displayed.  However, when I commented out these
>>> two statements, the year information is now displayed correctly when
>>> looking at the descriptions of my recorded TV shows.  It seems the fix
>>> is what actually is causing the problem with the year not displaying?
>>> Or is this dependent on the kaa.metadata version?  I'm using
>>> kaa.metadata-0.7.5 from sourceforge.
>> The userdate is really for audio (MP3) files so if you remove the lines
>> the date from the audio files will be removed.
>>
>> Personally I don't think the year of the recording is very useful,
>> possible the scheduled recording date would be better.
> 
> Actually, the 'year' variable displays the date/timestamp of the
> recorded program, such as:  "(Fri, 27 Feb 2009 03:00:00 PST)"
> displayed to the left of the recording length (e.g., "59 min").  This
> entire date/timestamp line was missing underneath the program
> description, leaving only the recording length.  I find it useful to
> know when a particular recording was made.

Ah yes, the code says it is a misuse of the year field.

I think the correct fix for this is to set the userdate in the fxd file
and then use this in the skins. A quick test and this works well. Also
removing the key == 'year' as this is for the audio metadata.

>> May be also the channel that a programme has been recorded on would be a
>> useful addition too.

I will add the channel_id and the tunerid too to the fxd file.

Duncan

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to