tvkaista-0.977/gitlog tvkaista-0.978/gitlog
1commit 1778f0abe1ff6919a36a0a659beff05775a7abd3
2Author: Tomi Ollila <too@iki.fi>
3Date: Mon Jun 15 19:25:21 2009 +0300
4
5 Ei enää kippaa ennen ensimmäistä päivitystä
6 (minulla, ei toivottavasti muillakaan).
7
8M tvkaista_gtkui.c
9
10commit c85b6b36042cb0f39487f535bdc6954b5dafe2a3
11Author: Tomi Ollila <too@iki.fi>
12Date: Mon Jun 15 17:59:50 2009 +0300
13
14 päivitystarkistuksen tarkistuspäivitys (daysecs+86400). tovotavasti nyt hyvä
15
16M tvkaista-helper.pl
17
1commit 2379171cb7e7252e2c88e9ca18cd5699a0c7350118commit 2379171cb7e7252e2c88e9ca18cd5699a0c73501
2Author: Tomi Ollila <too@iki.fi>19Author: Tomi Ollila <too@iki.fi>
3Date: Sat May 30 23:22:05 2009 +030020Date: Sat May 30 23:22:05 2009 +0300

tvkaista-0.977/tvkaista-helper.pl tvkaista-0.978/tvkaista-helper.pl
4# Author: Tomi Ollila -- too ät iki piste fi4# Author: Tomi Ollila -- too ät iki piste fi
5#5#
6# Created: Sat Feb 07 21:29:53 EET 2009 too6# Created: Sat Feb 07 21:29:53 EET 2009 too
7# Last modified: Sun 24 May 2009 10:03:32 EEST too7# Last modified: ma 15. kesäkuuta 2009 17.56.54 too
88
9#PERL_UNICODE=SD perl tvkaista-helper.pl 1 update9#PERL_UNICODE=SD perl tvkaista-helper.pl 1 update
10#or perl -CSD perl tvkaista-helper.pl 1 list10#or perl -CSD perl tvkaista-helper.pl 1 list
231231
232 $outputfile = sprintf("3/program_%d-%02d-%02d",$di[4],$di[3],$di[2]);232 $outputfile = sprintf("3/program_%d-%02d-%02d",$di[4],$di[3],$di[2]);
233 my @fst = stat $outputfile;233 my @fst = stat $outputfile;
234 next if (defined $fst[9] &&$fst[9] > $daysecs); # recent enough.234 next if (defined $fst[9] && $fst[9] > $daysecs+86400); # recent enough.
235235
236 push @urls, "http://www.tvkaista.fi/feed/archives/$di[4]/$di[3]/$di[2]"236 push @urls, "http://www.tvkaista.fi/feed/archives/$di[4]/$di[3]/$di[2]"
237 . "/channels/$_/flv.rss" foreach (@channels);237 . "/channels/$_/flv.rss" foreach (@channels);

tvkaista-0.977/tvkaista.desktop tvkaista-0.978/tvkaista.desktop
1[Desktop Entry]1[Desktop Entry]
2Encoding=UTF-82Encoding=UTF-8
3Version=0.9773Version=0.978
4Name=tv kaista4Name=tv kaista
5Comment=gui-kilentti tvkaistalle5Comment=gui-kilentti tvkaistalle
6GenericName=tvkaista-kilentti6GenericName=tvkaista-kilentti

tvkaista-0.977/tvkaista_gtkui.c tvkaista-0.978/tvkaista_gtkui.c
218 get_visible_range(&f, &l);218 get_visible_range(&f, &l);
219 if (f != G.refindx) {219 if (f != G.refindx) {
220 d0(("old refindx: %d, f %d, old abspos %d\n", G.refindx, f, G.abspos));220 d0(("old refindx: %d, f %d, old abspos %d\n", G.refindx, f, G.abspos));
221 G.abspos = custom_list_get_record(W.listmodel, f)->absolute_position;221 CustomRecord * record = custom_list_get_record(W.listmodel, f);
222 G.abspos = record? record->absolute_position: 0;
222 d0(("new abspos %d\n", G.abspos));223 d0(("new abspos %d\n", G.abspos));
223 }224 }
224 //g_object_ref(W.listfilter); // there is 1 reference always...225 //g_object_ref(W.listfilter); // there is 1 reference always...
236237
237 gtk_tree_view_set_model(GTK_TREE_VIEW(W.listview),238 gtk_tree_view_set_model(GTK_TREE_VIEW(W.listview),
238 GTK_TREE_MODEL(W.listmodel));239 GTK_TREE_MODEL(W.listmodel));
239 240 CustomRecord * record = custom_list_get_abs_record(W.listmodel, G.abspos);
240 scroll_to_indx(custom_list_get_abs_record(W.listmodel,241 if (record)
241 G.abspos)->filtered_position);242 scroll_to_indx(record->filtered_position);
242243
243 //g_object_unref(W.listfilter); // there is 1 reference always...244 //g_object_unref(W.listfilter); // there is 1 reference always...
244}245}