| Error when adding a movie search folder | |
|
|
Author | Message |
---|
buzzra Junior Member
Posts : 12 Join date : 2008-09-21
| Subject: Re: Error when adding a movie search folder Mon Sep 22, 2008 6:10 pm | |
| I am getting an error when I add my movies folder to version 1.816 of Media Companion. The error has been discussed before. It is a problem with access to the 'System Volume Information' folder on windows drives. My movies "folder" is actually an physical hard drive mounted on the movies folder. An error log is not created, I just get a pop up error.
Thanks for an Amazing program that makes living with multiple Xboxen painless!
buzz
Why did this not show up in the above post? | |
|
| |
tfittsy New User
Posts : 1 Join date : 2008-09-23
| Subject: Same error Tue Sep 23, 2008 6:26 am | |
| I'm getting this same error. I'm trying to add drive I: which is full of folders with one movie each. I get an error instead of it just running a recursive search. Thanks. | |
|
| |
Billy Bunter Media Companion Supporter
Posts : 15 Join date : 2008-09-25 Age : 55 Location : Overbury
| Subject: Re: Error when adding a movie search folder Thu Sep 25, 2008 1:52 pm | |
| Hi there! I'm getting the same thing too I'm on version 1.818 Fantastic program by the way !!!!! BB | |
|
| |
billyad2000 Admin
Posts : 1326 Join date : 2008-09-20
| Subject: Re: Error when adding a movie search folder Thu Sep 25, 2008 4:40 pm | |
| To avoid this error dont store media in the root of a drive.
I spent a couple of days a few months ago trying to work around this error and I never found a suitable solution. I have a few ideas for solving it, but since few people keep their media in the root of a drive, it's got a low priority. | |
|
| |
buzzra Junior Member
Posts : 12 Join date : 2008-09-21
| Subject: Re: Error when adding a movie search folder Thu Sep 25, 2008 6:59 pm | |
| Thanks Billy. I knew you had worked on it before. Early versions did not have this problem.
My problem with this is that this is actually a physical drive that is mounted as a folder named "Movies". It is a little known feature of the NTFS filesystem, but helps greatly when adding additional space to an existing media share. The "System Volume Information" folder is a hidden system folder. Could it be as simple as skipping folders with the hidden attribute?
Thanks for the quick response, and all your hard work on this AMAZING app!
buzz
EDIT: I just tried turning off "show hidden files and folders" option in Windows Explorer and still have the problem.
Last edited by buzzra on Thu Sep 25, 2008 7:04 pm; edited 1 time in total (Reason for editing : add additional info) | |
|
| |
billyad2000 Admin
Posts : 1326 Join date : 2008-09-20
| Subject: Re: Error when adding a movie search folder Thu Sep 25, 2008 8:22 pm | |
| - buzzra wrote:
- Thanks Billy. I knew you had worked on it before. Early versions did not have this problem.
My problem with this is that this is actually a physical drive that is mounted as a folder named "Movies". It is a little known feature of the NTFS filesystem, but helps greatly when adding additional space to an existing media share. The "System Volume Information" folder is a hidden system folder. Could it be as simple as skipping folders with the hidden attribute?
Thanks for the quick response, and all your hard work on this AMAZING app!
buzz
EDIT: I just tried turning off "show hidden files and folders" option in Windows Explorer and still have the problem. Definately not that easy. The problem with the following code:- For Each subdir4 In Directory.GetDirectories(realpaths(f), "*", SearchOption.AllDirectories) code to check each folder for nfo's Next When it attempts to Directory.GetDirectories a protected folder it causes the exception. While it is handled the whole of the loop is dropped. If anybody has a way to do the above and avoid this error then I would appreciate the help. Another way would be to catch the exception without jumping out of the loop. As I said, I will find a way to fix this eventually, its just a matter of priorities, and so far all the solutions I have come come up with need quite a lot of code. | |
|
| |
buzzra Junior Member
Posts : 12 Join date : 2008-09-21
| Subject: Re: Error when adding a movie search folder Fri Sep 26, 2008 6:31 am | |
| - billyad2000 wrote:
- buzzra wrote:
- Thanks Billy. I knew you had worked on it before. Early versions did not have this problem.
My problem with this is that this is actually a physical drive that is mounted as a folder named "Movies". It is a little known feature of the NTFS filesystem, but helps greatly when adding additional space to an existing media share. The "System Volume Information" folder is a hidden system folder. Could it be as simple as skipping folders with the hidden attribute?
Thanks for the quick response, and all your hard work on this AMAZING app!
buzz
EDIT: I just tried turning off "show hidden files and folders" option in Windows Explorer and still have the problem. Definately not that easy.
The problem with the following code:- For Each subdir4 In Directory.GetDirectories(realpaths(f), "*", SearchOption.AllDirectories) code to check each folder for nfo's Next
When it attempts to Directory.GetDirectories a protected folder it causes the exception. While it is handled the whole of the loop is dropped.
If anybody has a way to do the above and avoid this error then I would appreciate the help. Another way would be to catch the exception without jumping out of the loop.
As I said, I will find a way to fix this eventually, its just a matter of priorities, and so far all the solutions I have come come up with need quite a lot of code. I didn't think it was, or you would have fixed it already! If I come across anything that might help I'll let you know. Any priorities you have for this application are my priorities too! Thanks Billy buzz | |
|
| |
hastarin Media Companion Supporter
Posts : 8 Join date : 2008-09-22
| Subject: Re: Error when adding a movie search folder Sat Sep 27, 2008 7:47 pm | |
| - billyad2000 wrote:
Definately not that easy.
The problem with the following code:- For Each subdir4 In Directory.GetDirectories(realpaths(f), "*", SearchOption.AllDirectories) code to check each folder for nfo's Next
When it attempts to Directory.GetDirectories a protected folder it causes the exception. While it is handled the whole of the loop is dropped.
If anybody has a way to do the above and avoid this error then I would appreciate the help. Another way would be to catch the exception without jumping out of the loop.
As I said, I will find a way to fix this eventually, its just a matter of priorities, and so far all the solutions I have come come up with need quite a lot of code. The only way I can see to do this after a quick search would be to use "System.IO.DirectoryInfo.GetFileSystemInfos" in a custom recursive method. If you want a hand coding something up let me know (message me) and I'll give it a go, though it will be in C# not VB. | |
|
| |
billyad2000 Admin
Posts : 1326 Join date : 2008-09-20
| Subject: Re: Error when adding a movie search folder Wed Oct 01, 2008 5:42 pm | |
| I think i've fixed this for the next version. | |
|
| |
buzzra Junior Member
Posts : 12 Join date : 2008-09-21
| Subject: Re: Error when adding a movie search folder Wed Oct 08, 2008 2:43 am | |
| - billyad2000 wrote:
- I think i've fixed this for the next version.
Yep! this has been fixed in the 1.827 version | |
|
| |
Sponsored content
| Subject: Re: Error when adding a movie search folder | |
| |
|
| |
| Error when adding a movie search folder | |
|