Radarr: Multi-disk movies aren't handled correctly

Created on 11 Jan 2017  Â·  47Comments  Â·  Source: Radarr/Radarr

I downloaded a movie that came in two parts, the filenames included the -cd1 and -cd2 suffix yet only part 2 was moved to my movie folder.

enhancement v3

Most helpful comment

I️ encounter them quite a bit. My collection consists of a lot of Indy stuff that was never released to bluray. I️ have one on nine ball that was never released to dvd. It’s ripped from vhs, there is no other copy. Typically I️ pull those movies out of radarr and put them in sonarr as tv series just to keep radar from screwing the file names up or something. Even tho they are in fact movies. You have people with large collections indexed by radarr and the two primary consumers of those collections (kodi and Plex) both supporting multi part movies. This should as well

All 47 comments

@fedoranimus

I'm not certain if we will handle these situations. I will investigate further.

I didn't even think multi CD movies still existed to be honest, that's pretty old school :D Probably worth just skipping that version and grabbing a newer one (unless that's your only option I suppose).

Agreed, but with older movies you might not have a choice.

I handle 2 part movies manually then merge them together. But indeed it is very rare to find them. Torrentleech for one is known for those.

Unfortunately for a very long time a proper scene release was limited to 700mb files so they would fit on CD's I dont know if avoiding the handling of the files will be possible as a fair number of the older movies Ive snagged are split. I'd say 1/3 of my 500ish movie collection is this way all of which were downloaded in CP with the exception of one I downloaded tonight and noticed this bug/problem.

Edit: Gonna see if I cant figure out what kinda voodoo cp uses to parse the split files and see if it is applicable to Radarr

This would be a very useful feature as I am in the process of upgrading my movie collection (many are multi-part as they were downloaded yonks ago) and Radarr only deletes one file after downloading, which ultimately ends up showing the files as missing.

In the meantime, it might be possible to add simple detection of multi-part releases, and ignore / blacklist them. It's better than having Radarr incorrectly import only one part of an obviously split release.

@Stealthii You can do that yourself already with the restriction tags (e.g. cd1, cd2)

Any progress with this? I ran into this problem with the Battlestar Galactica mini-serise, which is ID'ed as a movie by radarr and sonarr, however only part II is added...

I think this is indeed needed. There are just too many releases with multipart out there. Pretty much any older movie will have these, hell I just ran into this problem with 3 movies in a row...

All of my multi-part movies show as missing.

Saying multi-parts don't exist anymore is pretty short sighted. Plex handles multi-parts. You should too. https://support.plex.tv/hc/en-us/articles/200264966-Naming-Multi-File-Movies

We are not saying that they do not exist anymore, just that (for us) they seem very rare. I at least, have never encountered one without better releases also available. Anyways, this feature will take a lot of time to develop, since Sonarr was never ment to handle more than one file per release :/

I️ encounter them quite a bit. My collection consists of a lot of Indy stuff that was never released to bluray. I️ have one on nine ball that was never released to dvd. It’s ripped from vhs, there is no other copy. Typically I️ pull those movies out of radarr and put them in sonarr as tv series just to keep radar from screwing the file names up or something. Even tho they are in fact movies. You have people with large collections indexed by radarr and the two primary consumers of those collections (kodi and Plex) both supporting multi part movies. This should as well

Remuxes of LOTR EE are split in 2 parts.

Muxing them together destroys subtitles for us who needs them. +1 for handling multipart and I see them a lot.

@mikkihugo
I've merged 2 MKVs with subtitles without any issues. Perhaps you are doing something wrong?

I've been running into this issue as well.
It seems like Radarr is moving the second of the two videos and naming it correctly...so you think it's actually done...but when I noticed a video file (cd1) still in the temp download folder; I realized what's going on...I've been able to mux them together and save as a new file into the right directory and have radarr rescan the drive and it'll pick up the right size / info.
Unfortunately, if you don't keep an eye on the temp directory and see what's lingering around; it may get processed and you think all is fine until you start watching and it starts half way thru the movie...

I run into this problem regularly. Of course it's easy to combine the files when they are downloaded, BUT when Radarr is automatically downloading and processing the files, you often don't know what has happened until it is too late, and then you have to manually download the files again, join them and replace the file because Radarr has copied one over to the movie folder, and deleted the remaining part that it doesn't deem worthy. Yes, it typically happens on older movies, but if you happen to like older movies, then you see this problem a lot.

This problem also exists upstream in Sonarr. It's the same reason we cant use it to download Coronation Street (not sure why anyone would care but some in my family want it). Some days there are two episodes per day, and Sonarr can't handle that. There are various post-processing scripts available that claim to make this work, but I've never been able to make it download without manual intervention.

I wish there was a solution that would work for multi part files in both Sonarr and Radarr.

It would probably be easy for someone with better script-fu than me to create a post processing script that detects if two or more avi files exist of similar size and their filenames include -cd1, -cd2, -cd3 etc to mux the files together and put the result in the Library. It probably doesn't even need to mux them, Plex and Kodi can deal with these files just fine. It just needs to turn off file renaming for that download, and copy all the files.

At the very least it should get flagged in some way for manual import instead of randomly choosing one of the files and deleting the other like it seems to do now. Like if the file it is about to import is less than half of the contents of the directory, stop automatic processing.

Seriously needs to be addressed. Some movies are simply only available in 2-part versions. Just like SD, DVD, and other formats that are supported by Radarr, they are not preferred, but the best available for now. Otherwise, why have anything below the cutoff? Pretty please, fix this.

@darealdoomer It will be fixed, but not anytime soon, since it's gonna take a lot of time. We need to rewrite probably around half of Radarr's file handling, since we always assume Movie == 1 File.

Thanks. I understand the need for prioritizing work efforts. I would be a nice improvement, but then again, getting these movies in a beautiful high-def release would be even better, so my hopes are that that happens first. :)

This issue has been automatically marked as stale because it has not had recent activity. Please verify that this is still an issue with the latest version of Radarr and report back. Otherwise this issue will be closed.

This is far from stale, Mr. @stale stale bot

Still hoping for this!

Some of us don't stick to to just current run movies, we like classic and art movies and many are still only out there as cd1 and cd2. Wish Radarr would handle this correctly like CouchPotato does.

I would like this to assist in upgrading my library away from these multipart movies. I would like Radarr to still manage them in case a new torrent appears that can replace the multipart DVD-quality videos with a single file bluray copy.

Would it be at all possible to handle these similarly to how Extra File Extensions are managed?

IE if a video filename contains "cd1", recognized it as the primary "Title" video over cd2, cd3, cd4 etc. However if these exist add them to the listing as extras linked to the same way you'd normally handle Extra File Extensions?

In the off chance that something of this nature hadn't been considered, I wanted to at least ask.

It would appear this is still broken a year later. The only reason I even discovered I had several of these in my relatively recent collection (all usenet and with 2200 day retention set within the last 6mo) was that I noticed radarr didn't save my renaming settings. Unfortunately, there is no option to bulk correct that I've found, so going through and asking radarr to check them one by one I discovered there are actually a lot of these out there (including the aforementioned LOTR EE). There are no shortage of users who aren't part of the scene and no shortage of people in the scene who do not remux/merge/or otherwise perform additional processing on their video files.

I'll put a $50 bounty on this and another $50 on bulk rename/search (this is needed since unlike sonarr where you can trigger searches for a few dozen episodes within a single show with radarr every entry is just a single "episode"). I know that isn't much but it's $50 more than you'd get working on some other random issue.

This will be part of proteus, on which work should begin in a month or two.

Please only comment on this issue if you have specific examples of named files that can help the implementation.

Per plex naming convention these are in folders with "title (year)"

-rwxrwxr-x+ 1 plex plex 7035726832 Feb 22 2010 Captain America Civil War cd2.mkv
-rwxrwxr-x+ 1 plex plex 7035726832 Apr 27 2016 Captain America Civil War cd1.mkv

-rwxrwxr-x+ 1 plex plex 3980050916 Dec 18 2002 The Lord of the Rings The Two Towers cd2.mkv
-rwxrwxr-x+ 1 plex plex 3318436805 Sep 1 2016 The Lord of the Rings The Two Towers cd1.mkv

-rwxrwxr-x+ 1 plex plex 857077706 May 16 2010 Shrek Forever After cd1.mkv
-rwxrwxr-x+ 1 plex plex 357946195 Feb 13 2018 Shrek Forever After cd2.mkv

I think the plex conventions on multi-part movies should be used as a guideline, as I assume many people using radarr do so to manage a plex library (at least I do):

https://support.plex.tv/articles/200264966-naming-multi-file-movies/

Another example:
The original Millenium trilogy (Girl with the dragon tattoo and such) from Sweden also comes as a "tv show"ish release with two files per "movie", 6 episode files in total. Naming them according to plex' conventions makes them work as two-part movies each.

On the Kodi (XBMC) side of things, this document covers the majority of name formatting for multi-part releases: https://kodi.wiki/view/Naming_video_files/Movies#Split_Video_Files

However on rare occasions, and far less common than the prevalent partX and cdX variations, there is a naming scheme where letters (a, b, c) are used to indicate the ordering of multi-part files:

Raat.Gayi.Baat.Gayi.2010.DVDRiP.XviD-D3Si
d3si-rgbg-xa.avi
d3si-rgbg-xb.avi

The.Quiet.Earth.1985.WS.DVDRip.XviD-AXIAL
axial-tqe.a.avi
axial-tqe.b.avi

Tomb.Raider.2.Cradle.of.Life.DVDRip.XviD-DiAMOND
dmd-tr2a.avi
dmd-tr2b.avi

Hall.Pass.2011.Extended.BDRip.XviD-SPRiNTER
sprinter-hallpass-extended2011a.avi
sprinter-hallpass-extended2011b.avi

The.Wizard.Of.Oz.Darkside.Of.The.Rainbow.1939.INTERNAL.DVDRip.Dual.Audio.XViD-iNCiTE
incite-twoz.dsotr.a.avi
incite-twoz.dsotr.b.avi

This (admittedly terrible) naming structure was only done by certain groups and with the modernized scene rules is long gone, but you can see that as recently as 2011 some groups were still handling their files this way.

I have a few hundred movies in my download queue now that don't appear to exist in Bluray etc so in old school DVD with releases split into two or three files. Automated download process just movies across and renames one of those files so need to go in and rename or what I have been doing in order for Radarr not to subsequently break things is use avimerge to merge the files into one manually myself. Also certain films like the O J Simpson documentary are split into files in up to five or six files so this would be a useful feature.

Here's a pretty good one. This existed on TVDB as six parts (was later removed even though it aired on TV, was intended for TV. Yet again hikaricore and TVDB are "") but TMDB lists it as three movies. There are three single file versions available but these are the intended split and extended parts- cuts were made for the theatrical release.

edit: [The files work perfectly if you mkvmerge them. Subtitles line up and everything!]

./
../
Flickan.Som.Lekte.Med.Elden.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD/
Luftslottet.Som.Sprängdes.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD/
Män.Som.Hatar.Kvinnor.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD/

./Flickan.Som.Lekte.Med.Elden.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD:
total 25G
./
../
Millennium.Part.3-Flickan.Som.Lekte.Med.Elden.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD.mkv
Millennium.Part.4-Flickan.Som.Lekte.Med.Elden.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD.mkv*

./Luftslottet.Som.Sprängdes.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD:
total 25G
./
../
Millennium.Part.5-Luftslottet.Som.Sprängdes.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD.mkv
Millennium.Part.6-Lutfslottet.Som.Sprängdes.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD.mkv

./Män.Som.Hatar.Kvinnor.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD:
total 24G
./
../
Millennium.Part.1-Män.Som.Hatar.Kvinnor.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD.mkv
Millennium.Part.2-Män.Som.Hatar.Kvinnor.2009.Extended.Cut.1080p.BluRay.DTS.x264-CtrlHD.mkv

Came across this issue today, file names for this specific case is:

Title of Movie Year 1080p BluRay AAC1.0 x264 P1-GRP.mkv
Title of Movie Year 1080p BluRay AAC1.0 x264 P2-GRP.mkv

Yea, i have quite a few of these and have been following this topic for some time. Because of this, Radarr has pulled movies in i already had, then of course plex shows the duplicate. I have been deleting the older versions in that case in favor of the single file. Is this on the roadmap?

I was thinking i might need to pull a list of movies like this and then either use a tool to recombine them or have radarr go looking for them.

Just to throw my hat in, while there may not be that many multi-disk releases anymore, there's certainly extras.

As 700M releases for cds were de facto standard for decades and people did not want to have crappy quality there are many multifile-releases out there, especially for older movies. Sadly Radarr does a very poor job of recognizing these by there length. Even if a movie is 3 hours long and a file has only 1.5 hours, Radarr will still import it, no questions asked. This clogs up the collection with shitty half-length movie files and is just annoying.

Even if devs don't seem to want full support for multifile-releases, please add a regex, that will halt the automatic processing of incoming movies for manual investigation:
(?i)(cd|disc|part|pt)[-. ]?[1-9a-z]

If that regex matches AND there are at least 2 video files that don't seem to be samples, Radarr should halt automatic processing as the result would most definitely be crap.

I had this problem today with Anne of Green gables (for my wife...lol). There are pt1 and pt2 available. I have left the movie unmonitored to stop it from replacing files with 1 part......would appreciate a fix. I'm pretty sure I dealt with this same thing for the same movie 1 year ago.

Count me in... haveat least 612 movies in multi-part CD1 and CD2

any ETA? not in Protheus yet, just in backlog...

I wouldn't expect this to happen any time soon...

For the time being, you can use post-processing scripts to deal with this. The idea is to flag the download "failed" while it is still in SABnzbd so Radarr/Sonarr delete it and search for another one. This won't help you with torrents, but both SABnzbd and NZBGet support post-processing scripts.

Here's the one for SABNZBd. It will also delete anything that looks like sample.

#!/bin/bash

# category names that contain movies and tv (seperated by spaces)
categories=("tv movies")

# only run for completed jobs that haven't been marked failed
if [ "$SAB_STATUS" == "completed" ]; then
if [[ $categories =~ $SAB_CAT ]]; then

        # delete samples
        find $SAB_COMPLETE_DIR -type f -regextype posix-extended -regex '.*sample.*' -delete

        # check for multifile release
        num=0
        num=`find $SAB_COMPLETE_DIR -type f -regextype posix-extended -regex '.*(cd|dvd|disc|part)[-. ]?[1-2,a-z,A-Z].*' | wc -l`
        if [ $num == 0 ]; then
                export SAB_STATUS="completed"
                export SAB_PP_STATUS="completed"
                exit 0
        else
                export SAB_STATUS="failed"
                export SAB_PP_STATUS="failed"
                export SAB_FAIL_MSG="multi-volume release detected"
                exit 1
        fi
fi
fi

# ensure clean exit
exit 0

I haven't written one for NZBGet as I don't use that downloader. But it shouldn't take too long to "convert" it.

I get how detecting and accepting multi-part downloades could be hard to code for (in radarr), but prehaps a more simple solution would be some kind of file level filter that ignores or blocks these multi-part movies when found ( an option that one could enable/disable in settings)

and/or they get added to a list or a special designation so they can be black listed for future searches (or have an option to auto blacklist these upon radarr finding one).

this does come up quite often for me, unfortunately

thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aporzio1 picture aporzio1  Â·  39Comments

galli-leo picture galli-leo  Â·  49Comments

welle picture welle  Â·  32Comments

deathbybandaid picture deathbybandaid  Â·  273Comments

ghost picture ghost  Â·  40Comments