i have no idea if this would work or not, but what if you mapped the samba share to a network hdd.
I tried mapping my samba as a network drive in windows and as network location with same resulti have no idea if this would work or not, but what if you mapped the samba share to a network hdd.
Never ever have MP/MovPic/etc point to a download or process folder, only final post-processing folders.
Just create \recent_download and \movies and put all your movies inside that subfolder 'movies', make one for TV as well if you host them on the same storage. That way you point MovPic to \movies and it will never conflict with \recent_download.
// monitor existing paths for change
while (true) {
// if the filesystem scanner found any files, add them
lock (filesAdded.SyncRoot) {
try
{
if (filesAdded.Count > 0)
{
int processed = 0;
int total = filesAdded.Count;
foreach (object currFile in filesAdded)
{
DBLocalMedia addedFile = (DBLocalMedia) currFile;
if (!fileList.Contains(addedFile))
fileList.Add((DBLocalMedia) currFile);
processed++;
if (Progress != null)
Progress((int) (processed*100.0/total), processed, total, "Queueing files..");
}
filesAdded.Clear();
Progress(100, processed, total, "Done!");
}
}
catch (Exception Ex)
{
logger.ErrorException("Exception import paths {0}.", Ex);
}
}
// Process the new files
// monitor existing paths for change
while (true) {
// if the filesystem scanner found any files, add them
lock (filesAdded.SyncRoot) {
if (filesAdded.Count > 0) {
int processed = 0;
int total = filesAdded.Count;
foreach (object currFile in filesAdded) {
DBLocalMedia addedFile = (DBLocalMedia)currFile;
if (!fileList.Contains(addedFile))
fileList.Add((DBLocalMedia)currFile);
processed++;
if (Progress != null)
Progress((int)(processed * 100.0 / total), processed, total, "Queueing files..");
}
filesAdded.Clear();
Progress(100, processed, total, "Done!");
}
}
// Process the new files