Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
885fd4ca
Commit
885fd4ca
authored
Aug 17, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if ttl==0, don't update the feeds
parent
b3b2e8fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_filter/rss.c
modules/video_filter/rss.c
+3
-2
No files found.
modules/video_filter/rss.c
View file @
885fd4ca
...
...
@@ -114,7 +114,7 @@ struct filter_sys_t
#define LENGTH_TEXT N_("RSS feed max number of chars displayed")
#define LENGTH_LONGTEXT N_("RSS feed max number of chars displayed")
#define TTL_TEXT N_("Number of seconds between each forced refresh of the feeds")
#define TTL_LONGTEXT N_("Number of seconds between each forced refresh of the feeds")
#define TTL_LONGTEXT N_("Number of seconds between each forced refresh of the feeds
. If 0, the feeds will never be updated.
")
#define POSX_TEXT N_("X offset, from left")
...
...
@@ -302,7 +302,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
}
/* Do we need to update the feeds ? */
if
(
time
(
NULL
)
>
p_sys
->
t_last_update
+
(
time_t
)
p_sys
->
i_ttl
)
if
(
p_sys
->
i_ttl
&&
time
(
NULL
)
>
p_sys
->
t_last_update
+
(
time_t
)
p_sys
->
i_ttl
)
{
msg_Dbg
(
p_filter
,
"Forcing update of all the RSS feeds"
);
if
(
FetchRSS
(
p_filter
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment