pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.8k stars 276 forks source link

Medusa keeps deleting/discarding downloads randomly #9957

Closed nydave69 closed 3 years ago

nydave69 commented 3 years ago

Describe the bug A clear and concise description of what the bug is. Medusa find a needed download, sends it and utorrent downloads it. it gets downloaded and Medusa finds the download in the download folder. see log.....

To Reproduce Steps to reproduce the behavior:

  1. Go to '...' let Medusa find a download
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen. Medusa move the file to it's destination... instead it deletes it and I find it in the recycle bin.

Screenshots If applicable, add screenshots to help explain your problem.

Medusa (please complete the following information): Medusa Info: Branch: master Commit: 21e350cd4a21f6fb65f750ab5c2d1e9c92c621d6 Version: 0.5.18 Database: 44.18 Python Version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] SSL Version: OpenSSL 1.1.0j 20 Nov 2018 OS: Windows-7-6.1.7601-SP1 Locale: en_US.cp1252 Timezone: Eastern Daylight Time

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

``` Log File 2021-10-21 09:13:13 WARNING POSTPROCESSOR :: [21e350c] Missed file: O:\utorrent\completedDownload\MU\Batwoman 2019 S03E02 1080p WEB h264-GOSSIP[eztv re].mkv: Processing failed: This show isn't in your list, you need to add it before post-processing an episode 2021-10-21 09:13:13 WARNING POSTPROCESSOR :: [21e350c] Problem(s) during processing, failed for the following files/folders: 2021-10-21 09:13:13 WARNING POSTPROCESSOR :: [21e350c] Processing failed for O:\utorrent\completedDownload\MU\Batwoman 2019 S03E02 1080p WEB h264-GOSSIP[eztv re].mkv: This show isn't in your list, you need to add it before post-processing an episode 2021-10-21 09:13:13 INFO POSTPROCESSOR :: [21e350c] Processing O:\utorrent\completedDownload\MU\Batwoman 2019 S03E02 1080p WEB h264-GOSSIP[eztv re].mkv 2021-10-21 09:13:13 INFO POSTPROCESSOR :: [21e350c] Processing path: O:\utorrent\completedDownload\MU 2021-10-21 09:04:40 INFO SNATCHQUEUE-SNATCH-361315 :: [21e350c] Adding "magnet:?xt=urn:btih:5b19191cc88b6fd35e6ec25be4ef689aa698b9a7&dn=Batwoman.S03E02.Loose.Tooth.1080p.AMZN.WEBRip.DDP5.1.x264-FLUX%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2840&tr=udp%3A%2F%2F9.rarbg.to%3A2810&tr=udp%3A%2F%2Ftracker.fatkhoala.org%3A13770&tr=udp%3A%2F%2Ftracker.slowcheetah.org%3A14750" to uTorrent 2021-10-21 09:04:40 INFO SNATCHQUEUE-SNATCH-361315 :: [21e350c] Downloading Batwoman.S03E02.Loose.Tooth.1080p.AMZN.WEBRip.DDP5.1.x264-FLUX[rartv] with 576 seeders and 448 leechers and size 2.53 GB from Jeckett-all, through a SearchType.BACKLOG_SEARCH search 2021-10-21 09:04:40 INFO SNATCHQUEUE-SNATCH-361315 :: [21e350c] Beginning to snatch release: Batwoman.S03E02.Loose.Tooth.1080p.AMZN.WEBRip.DDP5.1.x264-FLUX[rartv] ```

Additional context Add any other context about the problem here.

nydave69 commented 3 years ago

Update: If I move the deleted file back to the download folder Medusa gives the error that it's not in the list and after a while i find it back in the recycle bin. Only way I found to get it where it needs to go is to manually move/rename the file properly to it finial destination and then have Medusa re-scan the show.

Wish Medusa would just check it it's wanted if so then process it. Still don't understand what list is it referring to.

p0psicles commented 3 years ago

Can you give more info on your setup? Like what is your postprocess method (copy/move/?). are you using scheduled pp or download handling (we recommend to use download handling)

p0psicles commented 3 years ago

Also try adding a scene exception named Batwoman 2019

medariox commented 3 years ago

Pretty obvious what the issue is here, I don't think we need to explain the basics again and again. Here the wiki entry to scene exceptions: https://github.com/pymedusa/Medusa/wiki/Scene-exceptions-and-numbering#what-are-scene-exceptions

nydave69 commented 3 years ago

Can you give more info on your setup? Like what is your postprocess method (copy/move/?). are you using scheduled pp or download handling (we recommend to use download handling)

Move download handling it's not a scene exception image It finds them, downloads them, after a while it may even move it correctly if I keep putting it in the download folder. And it doesn't happen with every episode it's just hit or miss. And it's not just one show.. when another one happens that I catch i'll post it here.

nydave69 commented 3 years ago

And here is another;

2021-10-22 10:17:22 WARNING POSTPROCESSOR :: [21e350c] Processing failed for O:\utorrent\completedDownload\MU\Foundation.S01E06.1080p.WEB.H264-CAKES[rarbg]\foundation s01e06 1080p web h264-cakes.mkv: This show isn't in your list, you need to add it before post-processing an episode 2021-10-22 10:17:22 WARNING POSTPROCESSOR :: [21e350c] Problem(s) during processing, failed for the following files/folders: 2021-10-22 10:17:22 WARNING POSTPROCESSOR :: [21e350c] Missed file: O:\utorrent\completedDownload\MU\Foundation.S01E06.1080p.WEB.H264-CAKES[rarbg]\foundation s01e06 1080p web h264-cakes.mkv: Processing failed: This show isn't in your list, you need to add it before post-processing an episode Also it doesn't always delete the file, it may get it on the second or third etc.. try
image image eventually it ether deletes the file and folder or it moves it correctly.

Still wish I knew what list it is referring too.. It does process a majority of the downloads correctly, At first I though it was related to the special character issue in titles..

here is the folder it should move it too image

thanks

p0psicles commented 3 years ago

How is Foundation added? I guess with year in it right? Then you need to add a scene exception without year.