Exception while scanning folders

thecubical

04-12-2010 17:00:19

Hi guys,

There is a bug if you your tv shows are located in the root of a drive, the code currently tries to get the directories inside system directories and causes access exceptions.

I've had a look at the code and it can be fixed by changing

TVDoc.cs

Line 319:
if (stop)

to

if (stop || ((di2.Attributes & FileAttributes.System) == FileAttributes.System))

Hope this helps

rip

04-12-2012 06:37:23

Hi,

I can confirm this - even for networked folders, tvrename tries to enter system and hidden folders and crashes.thanks for the fix, now that sstteevvee is active again, I hope it should be a quick one!