aaronbrooks-gh / transmission-remote-dotnet

Automatically exported from code.google.com/p/transmission-remote-dotnet
GNU General Public License v3.0
0 stars 1 forks source link

RSS list not refreshing #470

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the RSS window
2. Select one of feeds
3. Get stale result

What is the expected output? What do you see instead?
I should see actual result, instead I see old result, e.g. a week old list of 
values.

What version of the products are you using?
OS:Win 7 SP1, IE11, .NET 4.5
Transmission: n/a
Remote: v3.24 (rev 3)

Please provide any additional information below. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.
I think this is due to WebClient cashing. Changing the URL helps, but only for 
some time. Refreshing the feed with the Refresh button does nothing.

I have "solved" this problem with the following change:
this.Url = url;
-->
this.Url = url + "&rand=" + (new Random()).Next(0, 9999).ToString();
This forces the WebClient to always download the feed as the URL is always 
different. At least as long as I don't run out of numbers :)

Original issue reported on code.google.com by czen...@gmail.com on 7 Feb 2014 at 7:01