On Wed, Feb 10, 2010 at 09:45:55AM +0000, John Molohan wrote: > On 08/02/2010 10:40, Paul Sijben wrote: > > I (re) inserted the line > > > > fxd.info['year'] = time.strftime('%m-%d ' + config.TV_TIME_FORMAT, > > time.localtime(rec_prog.start)) > > > > in recordserver create_fxd (around line 1395) (I am imprecise because of > > my own changes to the file for multiple concurrent recording.) > > > > It looks as if this line was removed because the info goes into > > userdate. But that is not shown in the listings. > > > Thanks for the update. If you have time it would probably be better to > change the skin to use the userdate instead and submit a patch if you could.
I just had a look at this issue (I'm using freevo 1.9.0 here), but I'm not sure what would be the best approach to fix it: The IMDB fxd files contain a "year" entry, but not a "userdate". fxd files created by the recordserver contain the "userdate" entry plus an empty "year" entry. I modified the Panorama skin so that it displays the userdate (if available), otherwise it displays the year (if available). This works with IMDB fxds, old recordserver fxds (which set "year") and new recordserver fxds (setting "userdate"). Here's a patch (just Panorama skin for now), what do you think about it? so long, Hias
Index: freevo/share/skins/main/Panorama.fxd =================================================================== --- freevo/share/skins/main/Panorama.fxd (revision 11576) +++ freevo/share/skins/main/Panorama.fxd (working copy) @@ -136,11 +136,18 @@ <newline /> </if> <goto_pos y="190" mode="absolute" /> - <if expression="year"> + <if expression="userdate"> <text font="info value">(</text> - <text font="info value" expression="year" /> + <text font="info value" expression="userdate" /> <text font="info value">)</text> </if> + <if expression="not userdate"> + <if expression="year"> + <text font="info value">(</text> + <text font="info value" expression="year" /> + <text font="info value">)</text> + </if> + </if> <if expression="runtime"> <goto_pos x="30" mode="relative" /> <text font="info value" expression="runtime" />
------------------------------------------------------------------------------
_______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users