mdhiggins / sickbeard_mp4_automator

Automatically convert video files to a standardized format with metadata tagging to create a beautiful and uniform media library
MIT License
1.53k stars 202 forks source link

Additional File conversion/copy after move to final Movie folder #711

Closed sennico closed 7 years ago

sennico commented 7 years ago

I've been using this script forever and recently I updated to get Radarr support. Im noticing some behavior that I haven't seen before. Once a movie is passed to nzbget and finishes downloading the NZBPostProcess script kicks off and I see the mkv getting converted to mp4 within the download folder. After that is complete I see the file moved out into the final folder like "Movie Name (2016)". this is where things get confusing. After the file is copied and shows up as movie.mp4 it immediately gets renamed to movie.mp4.original and another movie.mp4 starts to get created. I'm not sure what that step is or why its happening in the final folder and not the download folder. I just noticed another thing thats happening, after the movie.mp4 is finished a new file is created movie.mp4.QTFS . Any help sorting out why this processing is split between the download and destination folder is greatly appreciated

Thanks!

mdhiggins commented 7 years ago

That's normal. That's QTFS moving the MOV atom to the beginning of the file after tagging.

Sent from my iPhone

On Apr 2, 2017, at 09:03, sennico notifications@github.com wrote:

I've been using this script forever and recently I updated to get Radarr support. Im noticing some behavior that I haven't seen before. Once a movie is passed to nzbget and finishes downloading the NZBPostProcess script kicks off and I see the mkv getting converted to mp4 within the download folder. After that is complete I see the file moved out into the final folder like "Movie Name (2016)". this is where things get confusing. After the file is copied and shows up as movie.mp4 it immediately gets renamed to movie.mp4.original and another movie.mp4 starts to get created. I'm not sure what that step is or why its happening in the final folder and not the download folder. Is there a setting I'm missing that controls that? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

sennico commented 7 years ago

Shouldn't that all occur in the download folder though?I dont have an output_directory specified so I wasn't understanding why some of the conversion was happening in the download/source directory but other conversions like the MOOV atom stuff is happening in the destination folder.

mdhiggins commented 7 years ago

It's always been this way and it's because it needs to happen after tagging takes place. So it has to be during the final phase of post processing. You can disable QTFS to avoid this.

Sent from my iPhone

On Apr 2, 2017, at 13:25, sennico notifications@github.com wrote:

Shouldn't that all occur in the download folder though?I dont have an output_directory specified so I wasn't understanding why some of the conversion was happening in the download/source directory but other conversions like the MOOV atom stuff is happening in the destination folder.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

sennico commented 7 years ago

Makes sense I guess I never noticed it before. Thanks for the quick responses, this is a great project!

Sent from my iPhone

On Apr 2, 2017, at 4:00 PM, Michael Higgins notifications@github.com wrote:

It's always been this way and it's because it needs to happen after tagging takes place. So it has to be during the final phase of post processing. You can disable QTFS to avoid this.

Sent from my iPhone

On Apr 2, 2017, at 13:25, sennico notifications@github.com wrote:

Shouldn't that all occur in the download folder though?I dont have an output_directory specified so I wasn't understanding why some of the conversion was happening in the download/source directory but other conversions like the MOOV atom stuff is happening in the destination folder.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mdhiggins commented 7 years ago

No problem, enjoy!