Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete episode results in . file and unable to import again unless is_priority #9283

Closed
Rouzax opened this issue Mar 1, 2021 · 2 comments
Closed

Comments

@Rouzax
Copy link
Contributor

Rouzax commented Mar 1, 2021

Describe the bug
To test the new and exciting API v2 calls I delete one of my already imported episodes and did a Force Full Update and Re-scan files
This resulted in the episode being archived as expected but the file was marked as .
image

On the actual file system there is no more file present.

When trying to import the episode again by calling the API, the episode was ignored since it says there was already a file .

2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Completed Postproccessing
2021-03-01 09:50:37 WARNING	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Missed file: \\HYPERV\TEMP$\Torrent\PROCD\TV\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES.mkv: Processing failed: File exists. Marking it unsafe to replace. Reason: New quality is equal than current Preferred. Ignoring quality
2021-03-01 09:50:37 WARNING	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Problem(s) during processing, failed for the following files/folders: 
2021-03-01 09:50:37 WARNING	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Processing failed for \\HYPERV\TEMP$\Torrent\PROCD\TV\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES.mkv: File exists. Marking it unsafe to replace. Reason: New quality is equal than current Preferred. Ignoring quality
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Checking if new quality 1080p WEB-DL should replace current quality: 1080p WEB-DL
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] New file is 2.53 GB larger
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] New size: 2.53 GB
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Old size: 12.00 KB
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] New file: \\HYPERV\TEMP$\Torrent\PROCD\TV\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES.mkv
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Old file: .
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Processing \\HYPERV\TEMP$\Torrent\PROCD\TV\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES.mkv
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Processing path: C:\TEMP\Torrent\PROCD\TV\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES
2021-03-01 09:50:37 INFO	POSTPROCESSQUEUE-POST-PROCESS :: [e653cc7] Beginning postprocessing for path C:\TEMP\Torrent\PROCD\TV\Last.Week.Tonight.with.John.Oliver.S08E03.February.28.2021.1080p.HMAX.WEB-DL.DD2.0.H.264-TEPES

Expected behavior
I would expect it to be imported without the need of is_priority since there was no more file present.

Medusa (please complete the following information):

Medusa Info: Branch: master Commit: e653cc7 Version: 0.5.9 Database: 44.18
Python Version: 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
SSL Version: OpenSSL 1.1.1g 21 Apr 2020
OS: Windows-10-10.0.17763-SP0
Locale: nl_NL.cp1252
@medariox
Copy link
Contributor

medariox commented Mar 1, 2021

Fixed with #9284

@medariox medariox closed this as completed Mar 1, 2021
@Rouzax
Copy link
Contributor Author

Rouzax commented Mar 1, 2021

Thanks, that was fast 😄
. is now gone after removal
image

And the import works without the need for is_priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants