TheCaptain989 / radarr-striptracks

A Docker Mod to Radarr/Sonarr to automatically strip out unwanted audio and subtitle tracks
https://hub.docker.com/r/thecaptain989/radarr-striptracks
GNU General Public License v3.0
20 stars 1 forks source link

Errors in striptracks.txt Indicate mkvmerge Fails #59

Closed spartanv7 closed 11 months ago

spartanv7 commented 11 months ago

Hello,

I recently got things installed and configured, but it seems that radarr-striptracks fails when attempting to process recently downloaded files in Sonarr.

Here are the lines from my log file:

2023-10-14 10:08:01.1|[905]Info|Sonarr event: Test
2023-10-14 10:08:01.1|[905]Info|Script was test executed successfully.
2023-10-14 10:08:01.2|[905]Info|Completed in 0m 0s
2023-10-15 02:59:28.8|[3928]Info|Sonarr event: Download, Video: /tv/A Television Show/Season 03/s03e06 - Name of Episode (WEBDL-1080p).mkv, Size: 1G, AudioKeep: :eng, SubsKeep: :eng
2023-10-15 02:59:29.0|[3928]Error|[127] Error executing mkvmerge.
2023-10-15 02:59:29.2|[3928]Error|Container format '' is unsupported by mkvmerge. Unable to continue.
2023-10-15 02:59:29.2|[3928]Info|Completed in 0m 3s
2023-10-15 22:22:45.1|[7280]Info|Sonarr event: Download, Video: /tv/A Television Show/Season 10/s10e13 - Name of Episode (SDTV).mkv, Size: 1G, AudioKeep: :eng, SubsKeep: :eng
2023-10-15 22:22:45.3|[7280]Error|[127] Error executing mkvmerge.
2023-10-15 22:22:45.4|[7280]Error|Container format '' is unsupported by mkvmerge. Unable to continue.
2023-10-15 22:22:45.4|[7280]Info|Completed in 0m 2s
2023-10-16 06:02:54.6|[8538]Info|Sonarr event: Download, Video: /tv/A Television Show/Season 16/s16e01 - Name of Episode (SDTV).mkv, Size: 1G, AudioKeep: :eng, SubsKeep: :eng
2023-10-16 06:02:54.7|[8538]Error|[127] Error executing mkvmerge.
2023-10-16 06:02:54.9|[8538]Error|Container format '' is unsupported by mkvmerge. Unable to continue.
2023-10-16 06:02:54.9|[8538]Info|Completed in 0m 2s

I attempted to see if there were any mkvtoolnix logs anywhere in the container, but I didn't find any. If there are, can anybody point me to their location to see what additional information I can glean from this?

My current configuration is: Docker - version 20.10.3, build 55f0773 Sonarr - version 3.0.10.1567, package version 3.0.10.1567-ls208 by linuxserver.io, Mono version 6.12.0.200

I'm using: -e DOCKER_MODS=linuxserver/mods:radarr-striptracks in my Docker run command.

If there's anything else I can provide, please let me know.

TheCaptain989 commented 11 months ago

Hmmmm. This error seems to be coming from mkvmerge. Could you please turn on debugging in my script by appending the -d 2 command line option, or by using the striptracks-debug-2.sh script?

This will produce a lot of log entries, so no need to keep it on past one run.

spartanv7 commented 11 months ago

This is what I end up getting after using the striptracks-debug-2.sh script:

2023-10-18 10:16:41.1|[1610]Debug|Detected Sonarr version 3.0.10.1567
2023-10-18 10:16:41.1|[1610]Debug|Getting list of language codes. Calling Sonarr API using GET and URL 'http://localhost:8989/api/v3/languageprofile'
2023-10-18 10:16:41.3|[1610]Debug|Getting list of language profiles. Calling Sonarr API using GET and URL 'http://localhost:8989/api/v3/languageProfile'
2023-10-18 10:16:41.4|[1610]Debug|Getting video information for episode '1111'. Calling Sonarr API using GET and URL 'http://localhost:8989/api/v3/episode/1111'
2023-10-18 10:16:41.5|[1610]Debug|API returned: {
2023-10-18 10:16:41.5|[1610]Debug|  "seriesId": 102,
2023-10-18 10:16:41.5|[1610]Debug|  "tvdbId": 9999999,
2023-10-18 10:16:41.5|[1610]Debug|  "episodeFileId": 6511,
2023-10-18 10:16:41.5|[1610]Debug|  "seasonNumber": 3,
2023-10-18 10:16:41.5|[1610]Debug|  "episodeNumber": 7,
2023-10-18 10:16:41.5|[1610]Debug|  "title": "Episode Name",
2023-10-18 10:16:41.5|[1610]Debug|  "airDate": "2023-10-18",
2023-10-18 10:16:41.5|[1610]Debug|  "airDateUtc": "2023-10-18T04:00:00Z",
2023-10-18 10:16:41.5|[1610]Debug|  "overview": "Some description.",
2023-10-18 10:16:41.5|[1610]Debug|  "episodeFile": {
2023-10-18 10:16:41.5|[1610]Debug|    "seriesId": 102,
2023-10-18 10:16:41.5|[1610]Debug|    "seasonNumber": 3,
2023-10-18 10:16:41.5|[1610]Debug|    "relativePath": "Season 03/s03e07 - Episode Name (WEBDL-1080p).mkv",
2023-10-18 10:16:41.5|[1610]Debug|    "path": "/tv/A Television Show/Season 03/s03e07 - Episode Name (WEBDL-1080p).mkv",
2023-10-18 10:16:41.5|[1610]Debug|    "size": 310000000,
2023-10-18 10:16:41.5|[1610]Debug|    "dateAdded": "2023-10-18T15:16:20.126861Z",
2023-10-18 10:16:41.6|[1610]Debug|    "sceneName": "A.Television.Show.S03E07.1080p.WEB.H264-NHTFS",
2023-10-18 10:16:41.6|[1610]Debug|    "releaseGroup": "NHTFS",
2023-10-18 10:16:41.6|[1610]Debug|    "language": {
2023-10-18 10:16:41.6|[1610]Debug|      "id": 1,
2023-10-18 10:16:41.6|[1610]Debug|      "name": "English"
2023-10-18 10:16:41.6|[1610]Debug|    },
2023-10-18 10:16:41.6|[1610]Debug|    "quality": {
2023-10-18 10:16:41.6|[1610]Debug|      "quality": {
2023-10-18 10:16:41.6|[1610]Debug|        "id": 3,
2023-10-18 10:16:41.6|[1610]Debug|        "name": "WEBDL-1080p",
2023-10-18 10:16:41.6|[1610]Debug|        "source": "web",
2023-10-18 10:16:41.6|[1610]Debug|        "resolution": 1080
2023-10-18 10:16:41.6|[1610]Debug|      },
2023-10-18 10:16:41.6|[1610]Debug|      "revision": {
2023-10-18 10:16:41.6|[1610]Debug|        "version": 1,
2023-10-18 10:16:41.6|[1610]Debug|        "real": 0,
2023-10-18 10:16:41.6|[1610]Debug|        "isRepack": false
2023-10-18 10:16:41.7|[1610]Debug|      }
2023-10-18 10:16:41.7|[1610]Debug|    },
2023-10-18 10:16:41.7|[1610]Debug|    "mediaInfo": {
2023-10-18 10:16:41.7|[1610]Debug|      "audioBitrate": 768000,
2023-10-18 10:16:41.7|[1610]Debug|      "audioChannels": 5.1,
2023-10-18 10:16:41.7|[1610]Debug|      "audioCodec": "EAC3 Atmos",
2023-10-18 10:16:41.7|[1610]Debug|      "audioLanguages": "English",
2023-10-18 10:16:41.7|[1610]Debug|      "audioStreamCount": 1,
2023-10-18 10:16:41.7|[1610]Debug|      "videoBitDepth": 8,
2023-10-18 10:16:41.7|[1610]Debug|      "videoBitrate": 9814333,
2023-10-18 10:16:41.7|[1610]Debug|      "videoCodec": "h264",
2023-10-18 10:16:41.7|[1610]Debug|      "videoFps": 23.976,
2023-10-18 10:16:41.7|[1610]Debug|      "videoDynamicRange": "",
2023-10-18 10:16:41.7|[1610]Debug|      "videoDynamicRangeType": "",
2023-10-18 10:16:41.7|[1610]Debug|      "resolution": "1920x960",
2023-10-18 10:16:41.7|[1610]Debug|      "runTime": "12:34",
2023-10-18 10:16:41.7|[1610]Debug|      "scanType": "Progressive",
2023-10-18 10:16:41.8|[1610]Debug|      "subtitles": "English / English / English / Arabic / Bulgarian / Chinese / Chinese / Chinese / Czech / Danish / Dutch / Estonian / Spanish / Finnish / French / French / German / Greek / Hebrew / Hindi / Hungarian / Indonesian / Italian / Japanese / Korean / Spanish / La"
2023-10-18 10:16:41.8|[1610]Debug|    },
2023-10-18 10:16:41.8|[1610]Debug|    "qualityCutoffNotMet": true,
2023-10-18 10:16:41.8|[1610]Debug|    "languageCutoffNotMet": false,
2023-10-18 10:16:41.8|[1610]Debug|    "id": 6511
2023-10-18 10:16:41.8|[1610]Debug|  },
2023-10-18 10:16:41.8|[1610]Debug|  "hasFile": true,
2023-10-18 10:16:41.8|[1610]Debug|  "monitored": true,
2023-10-18 10:16:41.8|[1610]Debug|  "unverifiedSceneNumbering": false,
2023-10-18 10:16:41.8|[1610]Debug|  "series": {
2023-10-18 10:16:41.8|[1610]Debug|    "title": "A Television Show",
2023-10-18 10:16:41.8|[1610]Debug|    "sortTitle": "television show",
2023-10-18 10:16:41.8|[1610]Debug|    "status": "continuing",
2023-10-18 10:16:41.8|[1610]Debug|    "ended": false,
2023-10-18 10:16:41.8|[1610]Debug|    "overview": "Some description here.",
2023-10-18 10:16:41.8|[1610]Debug|    "network": "Network",
2023-10-18 10:16:41.8|[1610]Debug|    "airTime": "00:00",
2023-10-18 10:16:41.8|[1610]Debug|    "images": [
2023-10-18 10:16:41.9|[1610]Debug|      {
2023-10-18 10:16:41.9|[1610]Debug|        "coverType": "banner",
2023-10-18 10:16:41.9|[1610]Debug|        "url": "https://website.com/image.jpg"
2023-10-18 10:16:41.9|[1610]Debug|      },
2023-10-18 10:16:41.9|[1610]Debug|      {
2023-10-18 10:16:41.9|[1610]Debug|        "coverType": "poster",
2023-10-18 10:16:41.9|[1610]Debug|        "url": "https://website.com/image.jpg"
2023-10-18 10:16:41.9|[1610]Debug|      },
2023-10-18 10:16:41.9|[1610]Debug|      {
2023-10-18 10:16:41.9|[1610]Debug|        "coverType": "fanart",
2023-10-18 10:16:41.9|[1610]Debug|        "url": "https://website.com/image.jpg"
2023-10-18 10:16:41.9|[1610]Debug|      },
2023-10-18 10:16:41.9|[1610]Debug|      {
2023-10-18 10:16:41.9|[1610]Debug|        "coverType": "unknown",
2023-10-18 10:16:41.9|[1610]Debug|        "url": "https://website.com/image.jpg"
2023-10-18 10:16:41.9|[1610]Debug|      }
2023-10-18 10:16:41.9|[1610]Debug|    ],
2023-10-18 10:16:42.0|[1610]Debug|    "seasons": [
2023-10-18 10:16:42.0|[1610]Debug|      {
2023-10-18 10:16:42.0|[1610]Debug|        "seasonNumber": 1,
2023-10-18 10:16:42.0|[1610]Debug|        "monitored": false
2023-10-18 10:16:42.0|[1610]Debug|      },
2023-10-18 10:16:42.0|[1610]Debug|      {
2023-10-18 10:16:42.0|[1610]Debug|        "seasonNumber": 2,
2023-10-18 10:16:42.0|[1610]Debug|        "monitored": false
2023-10-18 10:16:42.0|[1610]Debug|      },
2023-10-18 10:16:42.0|[1610]Debug|      {
2023-10-18 10:16:42.0|[1610]Debug|        "seasonNumber": 3,
2023-10-18 10:16:42.0|[1610]Debug|        "monitored": true
2023-10-18 10:16:42.0|[1610]Debug|      }
2023-10-18 10:16:42.0|[1610]Debug|    ],
2023-10-18 10:16:42.0|[1610]Debug|    "year": 2019,
2023-10-18 10:16:42.0|[1610]Debug|    "path": "/tv/A Television Show",
2023-10-18 10:16:42.0|[1610]Debug|    "qualityProfileId": 1,
2023-10-18 10:16:42.0|[1610]Debug|    "languageProfileId": 1,
2023-10-18 10:16:42.1|[1610]Debug|    "seasonFolder": true,
2023-10-18 10:16:42.1|[1610]Debug|    "monitored": true,
2023-10-18 10:16:42.1|[1610]Debug|    "useSceneNumbering": false,
2023-10-18 10:16:42.1|[1610]Debug|    "runtime": 56,
2023-10-18 10:16:42.1|[1610]Debug|    "tvdbId": 1234,
2023-10-18 10:16:42.1|[1610]Debug|    "tvRageId": 0,
2023-10-18 10:16:42.1|[1610]Debug|    "tvMazeId": 1234,
2023-10-18 10:16:42.1|[1610]Debug|    "firstAired": "2019-11-01T00:00:00Z",
2023-10-18 10:16:42.1|[1610]Debug|    "seriesType": "standard",
2023-10-18 10:16:42.1|[1610]Debug|    "cleanTitle": "atelevisionshow",
2023-10-18 10:16:42.1|[1610]Debug|    "imdbId": "tt9999999",
2023-10-18 10:16:42.1|[1610]Debug|    "titleSlug": "a-television-show",
2023-10-18 10:16:42.1|[1610]Debug|    "certification": "TV-MA",
2023-10-18 10:16:42.1|[1610]Debug|    "genres": [
2023-10-18 10:16:42.1|[1610]Debug|      "Drama"
2023-10-18 10:16:42.1|[1610]Debug|    ],
2023-10-18 10:16:42.1|[1610]Debug|    "tags": [],
2023-10-18 10:16:42.1|[1610]Debug|    "added": "2022-08-29T19:11:23.868681Z",
2023-10-18 10:16:42.2|[1610]Debug|    "ratings": {
2023-10-18 10:16:42.2|[1610]Debug|      "votes": 0,
2023-10-18 10:16:42.2|[1610]Debug|      "value": 0.0
2023-10-18 10:16:42.2|[1610]Debug|    },
2023-10-18 10:16:42.2|[1610]Debug|    "id": 102
2023-10-18 10:16:42.2|[1610]Debug|  },
2023-10-18 10:16:42.2|[1610]Debug|  "images": [
2023-10-18 10:16:42.2|[1610]Debug|    {
2023-10-18 10:16:42.2|[1610]Debug|      "coverType": "screenshot",
2023-10-18 10:16:42.2|[1610]Debug|      "url": "https://website.com/jpg.jpg"
2023-10-18 10:16:42.2|[1610]Debug|    }
2023-10-18 10:16:42.2|[1610]Debug|  ],
2023-10-18 10:16:42.2|[1610]Debug|  "id": 12722
2023-10-18 10:16:42.2|[1610]Debug|}
2023-10-18 10:16:42.8|[1610]Debug|Getting video file information for episodefile '6511'. Calling Sonarr API using GET and URL 'http://localhost:8989/api/v3/episodefile/6511'
2023-10-18 10:16:42.8|[1610]Debug|API returned: {
2023-10-18 10:16:42.9|[1610]Debug|  "seriesId": 102,
2023-10-18 10:16:42.9|[1610]Debug|  "seasonNumber": 3,
2023-10-18 10:16:42.9|[1610]Debug|  "relativePath": "Season 03/s03e07 - Episode Name (WEBDL-1080p).mkv",
2023-10-18 10:16:42.9|[1610]Debug|  "path": "/tv/A Television Show/Season 03/s03e07 - Episode Name (WEBDL-1080p).mkv",
2023-10-18 10:16:42.9|[1610]Debug|  "size": 3100000000,
2023-10-18 10:16:42.9|[1610]Debug|  "dateAdded": "2023-10-18T15:16:20.126861Z",
2023-10-18 10:16:42.9|[1610]Debug|  "sceneName": "A.Television.Show.S03E07.1080p.WEB.H264-NHTFS",
2023-10-18 10:16:42.9|[1610]Debug|  "releaseGroup": "NHTFS",
2023-10-18 10:16:42.9|[1610]Debug|  "language": {
2023-10-18 10:16:42.9|[1610]Debug|    "id": 1,
2023-10-18 10:16:42.9|[1610]Debug|    "name": "English"
2023-10-18 10:16:42.9|[1610]Debug|  },
2023-10-18 10:16:42.9|[1610]Debug|  "quality": {
2023-10-18 10:16:42.9|[1610]Debug|    "quality": {
2023-10-18 10:16:42.9|[1610]Debug|      "id": 3,
2023-10-18 10:16:42.9|[1610]Debug|      "name": "WEBDL-1080p",
2023-10-18 10:16:42.9|[1610]Debug|      "source": "web",
2023-10-18 10:16:43.0|[1610]Debug|      "resolution": 1080
2023-10-18 10:16:43.0|[1610]Debug|    },
2023-10-18 10:16:43.0|[1610]Debug|    "revision": {
2023-10-18 10:16:43.0|[1610]Debug|      "version": 1,
2023-10-18 10:16:43.0|[1610]Debug|      "real": 0,
2023-10-18 10:16:43.0|[1610]Debug|      "isRepack": false
2023-10-18 10:16:43.0|[1610]Debug|    }
2023-10-18 10:16:43.0|[1610]Debug|  },
2023-10-18 10:16:43.0|[1610]Debug|  "mediaInfo": {
2023-10-18 10:16:43.0|[1610]Debug|    "audioBitrate": 768000,
2023-10-18 10:16:43.0|[1610]Debug|    "audioChannels": 5.1,
2023-10-18 10:16:43.0|[1610]Debug|    "audioCodec": "EAC3 Atmos",
2023-10-18 10:16:43.0|[1610]Debug|    "audioLanguages": "English",
2023-10-18 10:16:43.0|[1610]Debug|    "audioStreamCount": 1,
2023-10-18 10:16:43.0|[1610]Debug|    "videoBitDepth": 8,
2023-10-18 10:16:43.0|[1610]Debug|    "videoBitrate": 9814333,
2023-10-18 10:16:43.0|[1610]Debug|    "videoCodec": "h264",
2023-10-18 10:16:43.1|[1610]Debug|    "videoFps": 23.976,
2023-10-18 10:16:43.1|[1610]Debug|    "videoDynamicRange": "",
2023-10-18 10:16:43.1|[1610]Debug|    "videoDynamicRangeType": "",
2023-10-18 10:16:43.1|[1610]Debug|    "resolution": "1920x960",
2023-10-18 10:16:43.1|[1610]Debug|    "runTime": "12:34",
2023-10-18 10:16:43.1|[1610]Debug|    "scanType": "Progressive",
2023-10-18 10:16:43.1|[1610]Debug|    "subtitles": "English / English / English / Arabic / Bulgarian / Chinese / Chinese / Chinese / Czech / Danish / Dutch / Estonian / Spanish / Finnish / French / French / German / Greek / Hebrew / Hindi / Hungarian / Indonesian / Italian / Japanese / Korean / Spanish / La"
2023-10-18 10:16:43.1|[1610]Debug|  },
2023-10-18 10:16:43.1|[1610]Debug|  "qualityCutoffNotMet": true,
2023-10-18 10:16:43.1|[1610]Debug|  "languageCutoffNotMet": false,
2023-10-18 10:16:43.1|[1610]Debug|  "id": 6511
2023-10-18 10:16:43.1|[1610]Debug|}
2023-10-18 10:16:43.4|[1610]Debug|Detected quality 'WEBDL-1080p'
2023-10-18 10:16:43.5|[1610]Debug|Detected release group 'NHTFS'
2023-10-18 10:16:43.5|[1610]Debug|Detected language profile '(1) English'
2023-10-18 10:16:43.6|[1610]Debug|Detected language profile language(s) '(1) English'
2023-10-18 10:16:43.8|[1610]Debug|Mapped profile language(s) 'English' to ISO639-2 code string ':eng'
2023-10-18 10:16:43.8|[1610]Info|Sonarr event: Download, Video: /tv/A Television Show/Season 03/s03e07 - Episode Name (WEBDL-1080p).mkv, Size: 4.020G, AudioKeep: :eng, SubsKeep: :eng
2023-10-18 10:16:43.9|[1610]Debug|Executing: /usr/bin/mkvmerge -J "/tv/A Television Show/Season 03/s03e07 - Episode Name (WEBDL-1080p).mkv"
2023-10-18 10:16:44.0|[1610]Error|[127] Error executing mkvmerge.
2023-10-18 10:16:44.0|[1610]Debug|mkvmerge returned: 
2023-10-18 10:16:44.2|[1610]Error|Container format '' is unsupported by mkvmerge. Unable to continue.
2023-10-18 10:16:44.2|[1610]Info|Completed in 0m 4s
2023-10-18 10:16:44.2|[1610]Debug|Exit code 9

I'm not sure why mkvmerge is thinking the container format is '' instead of 'mkv'.

I should also note that it isn't just this video file that it's failing on, but all files I've attempted.

TheCaptain989 commented 11 months ago

Okay, there is definitely something going on with mkvmerge. The command that is erroring out is: /usr/bin/mkvmerge -J "/tv/A Television Show/Season 03/s03e07 - Episode Name (WEBDL-1080p).mkv" This is exiting with a code of 127, which doesn't appear in the mkvtoolnix manual. Don't pay attention to the format '' is unsupported message. That is coming from my script and it giving you wrong information. (Separately, I'm going to fix that.)

Anyway, I'm going to pull down the same docker version as you and see if I can recreate the issue. I don't know where the problem is, but maybe mkvmerge was updated or there's something wrong with the linuxserver.io package.

TheCaptain989 commented 11 months ago

As luck would have it, I'm running the exact same package as you in my prod instance already! Untitled

I do not have this problem. You can see I've been up for almost four days on this version and things are running just fine for me.

Is it possible you have a permissions issue? What happens if you drop to the Linux console in your container and run the mkvmerge command manually?

spartanv7 commented 11 months ago

It could very well be possible that I have a permissions issue. I just recently went through and overhauled my permissions. I'll check on that and report back.

spartanv7 commented 11 months ago

This is the result of trying it manually with user abc. I also attempted as root, but it's the same error.

abc@590d9ad722c5:/$ /usr/bin/mkvmerge -J "/tv/A Television Show/Season 03/s03e07 - Name of Episode (WEBDL-1080p).mkv"
/usr/bin/mkvmerge: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

Based on this error, it seems to indicate libQt5Core.so isn't found. Just in case, I made sure the media file path was correct and the media file exists, so I'm thinking for some reason my container doesn't have this library in it.

Since the sonarr container has apt, I did a search for libqt5core and found this:

libqt5core5a/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
  Qt 5 core module

Comparing that to apt, it looks like it's the most recent version. I went looking in /usr/lib/x86_64-linux-gnu/ and I have this:

lrwxrwxrwx  1 root root       20 Aug 10  2022 libQt5Core.so.5 -> libQt5Core.so.5.15.3

Googling around, I ended up finding this: https://askubuntu.com/questions/1034313/ubuntu-18-4-libqt5core-so-5-cannot-open-shared-object-file-no-such-file-or-dir

In the Sonarr container, bash as root, I ran this command:

strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

From what I can glean, it has something to do with the Linux kernel and not being able to find this file, so using strip you can bypass it looking for this file. I'm no Linux guru, so I could be wrong on that. I just decided to poke around and run this command to see what happened.

Next, I ran the manual mkvmerge command again and this time I received a response (looks like JSON). Since that seemed to work, I deleted the MKV file from the filesystem, had Sonarr grab it again and upon downloading and importing, it gave me this in the striptracks.txt log:

2023-10-19 09:42:14.6|[14847]Info|Sonarr event: Download, Video: /tv/A Television Show/Season 03/s03e05 - Episode Name (WEBDL-1080p).mkv, Size: 3.2G, AudioKeep: :eng, SubsKeep: :eng
2023-10-19 09:42:15.2|[14847]Info|Original tracks: 5 (audio: 2, subtitles: 2)
2023-10-19 09:42:15.2|[14847]Info|Keeping audio track 2: eng (E-AC-3)
2023-10-19 09:42:15.2|[14847]Info|Removed audio tracks: 1: fre (AC-3)
2023-10-19 09:42:15.2|[14847]Info|Removed subtitles tracks: 4: fre (SubRip/SRT),3: fre (SubRip/SRT)
2023-10-19 09:42:15.2|[14847]Info|Kept tracks: 2 (audio: 1, subtitles: 0)

I then checked the file and it worked perfectly! Thanks for your help and direction!

TheCaptain989 commented 11 months ago

This is great news!

Thanks for reporting this too and for all the great troubleshooting detail. I'll look into this a little further as I don't want others to run into the same problem. One thing that came out of all this is that I'm going to error handle my mkvmerge calls a bit differently so that hopefully the displayed error would be captured in the striptracks log next time.

spartanv7 commented 11 months ago

@TheCaptain989 - one additional thing I found out is that my Radarr instance doesn't have this problem, so perhaps it has something to do with the Linuxserver.io container?