Media Companion

Discussion and development board for the program Media Companion.
HomeHome  ­FAQFAQ  ­SearchSearch  ­RegisterRegister  ­Log inLog in  
Post new topic   Reply to topicShare | 
 

 Drag + Drop in gen2 3.072

View previous topic View next topic Go down 
Goto page : Previous  1, 2
AuthorMessage
dbareis
Senior Member
Senior Member


Posts: 180
Join date: 2008-12-08

PostSubject: Re: Drag + Drop in gen2 3.072   Mon Aug 03, 2009 8:03 am

StormyKnight wrote:
Am I right to understand then that no files can be dragged & dropped no matter where they are put or what they are called on your computer?

The only thing I can think of is the leading $ sign, I think it means something special on NTFS systems.....I'm assuming you use the leading $ to list the folder at the top of the folder list, can I get you to try _ (underscore) instead?

Can you let me know also if you have tried a file in c:\movies ?

NTFS uses metafiles, I'm wondering if this is upsetting something in NET perhaps?

http://en.wikipedia.org/wiki/NTFS#Metafiles

All these system files start with a $ sign....

Cheers


I have now tried "alien.avi" in:

1. C:\movies\alien (NTFS)
2. F:\movies\alien (FAT32)

Both of these fail also.

As .NET and/or Media companion don't work very well on a machine which is busy (but cpu not near 100%) I have also tried this when nothing else is going on.

Thanks,
Dennis


Last edited by dbareis on Mon Aug 03, 2009 8:40 am; edited 1 time in total
Back to top Go down
View user profile http://dennisbareis.com
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Drag + Drop in gen2 3.072   Mon Aug 03, 2009 8:32 am

StormyKnight wrote:
Just to clarify Billy is this a summary of your question?

"T:\$Movies$\#UNSORTED (tmp)\Alien\Alien.avi" Doesn't work but
"T:\$Movies$\#UNSORTED (tmp)\Alien.avi" does?


Also if I correct I see that you have a FOR NEXT LOOP (variable f) to loop through all the dropped files/folders then you check if they are files or folders, then in the files section you again loop thru all the dropped items again (variable g). Is there are reason for this?

Also you have a line DIM File as String, but I don't see any use of File.

In addition I see the double use of DIM Skip as Boolean, but I 'm not sure if this would be an issue or possible? since it shouldn't occur that someone has dropped both folders & files at the same time....


I see what you mean about the loop, i've remeoved it, as I have the unused variable.

They would not stop the program scraping "T:\$Movies$\#UNSORTED (tmp)\Alien\Alien.avi"

as for the variable "skip"
Since the loop is dealing with only a single dropped item at a time, then that is what it skips.
It is declared only within the file branch, or for a dropped folder it is declaired within the loop that loops through the files. It works ok, i checked.

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Drag + Drop in gen2 3.072   Mon Aug 03, 2009 8:53 am

Never mind, I think I sussed it.

@dbareis
By any chance am I right in thinking you use Foldermode to get the title of the media. There was a bug in the method I used to get this and have just fixed it.

Looking at the folder drop method I also need to add some additional checking, at the moment all media files are added, if whole folders are dropped then this would result in unwanted files getting scraped (cd2, rar files etc). I will upload a fix soon. I'm at work today, but i'll definately have it uploaded by the end of tomorrow.

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
dbareis
Senior Member
Senior Member


Posts: 180
Join date: 2008-12-08

PostSubject: Re: Drag + Drop in gen2 3.072   Mon Aug 03, 2009 9:25 am

billyad2000 wrote:
Never mind, I think I sussed it.

@dbareis
By any chance am I right in thinking you use Foldermode to get the title of the media. There was a bug in the method I used to get this and have just fixed it.


I do have "Use Folder Names" ticked in the preferences. Looking forward to teh new version :-)

Thanks,
Dennis
Back to top Go down
View user profile http://dennisbareis.com
StormyKnight
Senior Member
Senior Member


Posts: 204
Join date: 2008-10-08

PostSubject: Re: Drag + Drop in gen2 3.072   Mon Aug 03, 2009 10:04 am

Thanks Billy, I forgot to add in that post that I didn't see those issues as a direct cause, but just as a possible future issue.

I don't use folder mode so that is why I had no issues I guess...

Also Billy I may have mentioned this before have you thought of having some sort of logging of what MC is doing. By default it can be turned off, but if someone is having a particular problem, then a log file may help.

I know it can add a lot of code, but it can also make finding the issues a lot quicker. If for example all the preferences where listed at the top of the log file, then the use folders selection may have been the early clue.

As MC gets bigger & better its going to be harder & harder to work out what combination of settings a user has set & what folder structures they are using....

Just trying to save you some diagnostic time thats all Smile
Back to top Go down
View user profile
dbareis
Senior Member
Senior Member


Posts: 180
Join date: 2008-12-08

PostSubject: Re: Drag + Drop in gen2 3.072   Mon Aug 03, 2009 10:30 am

StormyKnight wrote:
Also Billy I may have mentioned this before have you thought of having some sort of logging of what MC is doing. By default it can be turned off, but if someone is having a particular problem, then a log file may help.

I know it can add a lot of code, but it can also make finding the issues a lot quicker. If for example all the preferences where listed at the top of the log file, then the use folders selection may have been the early clue.

As MC gets bigger & better its going to be harder & harder to work out what combination of settings a user has set & what folder structures they are using....

Just trying to save you some diagnostic time thats all Smile


Yes please... I logging often saved the developer more time and effort than it costs during development as well. Often you will be able to choose the level of logging from nothing through to "kitchen sink".

Bye,
Dennis
Back to top Go down
View user profile http://dennisbareis.com
 

Drag + Drop in gen2 3.072

View previous topic View next topic Back to top 
Page 2 of 2Goto page : Previous  1, 2

Permissions of this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: XBMC Media Companion Help And Useage-
Post new topic   Reply to topic