Medusa icon indicating copy to clipboard operation
Medusa copied to clipboard

Old bug: Ignore folders #recycle (DSM)

Open ward0 opened this issue 3 years ago • 5 comments

Describe the bug Bug https://github.com/pymedusa/Medusa/pull/3552 seems to be back for Synology DSM7: 2021-11-30 16:37:34 WARNING POSTPROCESSOR :: [f35a19d] Missed file: /volume1/DOWNLOADSTATION/@eaDir: Hidden or ignored folder

Medusa Info: Branch: masterCommit: f35a19da6bc4efcafff8facca6a4d5b9e3f3f501Version: 0.5.20Database: 44.18
Python Version: 3.8.12 (default, Oct 22 2021, 21:05:38) [GCC 7.5.0]
SSL Version: OpenSSL 1.1.1l 24 Aug 2021
OS: Linux-4.4.180+-x86_64-with-glibc2.2.5
Locale: en_US.UTF-8
Timezone: CET

Debug logs (at least 50 lines): General > Advanced Settings > Enable debug

2021-11-30 16:37:34 WARNING	POSTPROCESSOR :: [f35a19d] Missed file: /volume1/DOWNLOADSTATION/@eaDir: Hidden or ignored folder
2021-11-30 16:37:34 INFO	POSTPROCESSOR :: [f35a19d] I did encounter some unprocessable items: 
2021-11-30 16:37:34 INFO	POSTPROCESSOR :: [f35a19d] Post-processing completed.
2021-11-30 16:37:34 DEBUG	POSTPROCESSOR :: [f35a19d] Ignoring folder: @eaDir

ward0 avatar Nov 30 '21 15:11 ward0

I assume that you are using medusa on a Synology Nas. @eaDir is a hidden system folder used by some Synology packages. It is correct that the postprocessor skips these folders.

It would be better not to use the default DownLoad Station location but to create a separate "Shared Folder" for medusa where only the for medusa downloaded files would end up.

To accomplish that create a new Shared Folder and give the "system internal user" sc-medusa read/write permissions on that folder. After that change within medusa the download location to that share in "Search Settings" tab "Torrent Search".

BenjV avatar Dec 02 '21 14:12 BenjV

@BenjV You are correct, i use Synology Nas. I have configured the following: Synology downloadstation location DOWNLOADSTATION I created a new shared folder in Syology with recycle bin disabled and gave share rights to sc-medusa. the hidden folder @eadir is also there... image I added a subfolder downloads in the newly created shared folder, and the folder @eadir is not there.

Regards, Ward

ward0 avatar Dec 03 '21 14:12 ward0

You can ignore that @eaDir, medusa is that doing too, it only reports a hidden directory. That's not a bug at all.

BenjV avatar Dec 03 '21 15:12 BenjV

@BenjV Can you add an 'if' in the code to simply ingore this folder and don't report about it? I get a 'report' every single time that I have to click away to monitor real errors.

ward0 avatar Dec 07 '21 07:12 ward0

I am just a user of Medusa so I cannot add something to the code.

I use a shared folder called medusa (your Medusa_downloads) and created subfolders (Downloads and Shows) there. I let Download Station put the files in "Downloaded" and the postprocessor of Medusa wil put the processed show in "Shows" In those folders DSM will not create a @eaDir folder.

BenjV avatar Dec 07 '21 08:12 BenjV