OS & Platform
Server Version#: 1.16.1.1273 - running on Ubuntu 18.04.2 LTS.
Player Version#: Web Version 3.104.1, Android version 7.17.1.11064, Most recent SHIELD client.
The underlying filesystem with media on it is ext4 network-mounted as read-only.
Steps to reproduce
Tested on random TV episodes. Steps:
- have a random video file with external .srt subtitles.
- remove the .srt subtitles.
Whats going wrong?
Plex will still think the .srt file is there, even after a rescan and emptying the trash. The players still have these external subtitles as an option (by default, in my case). When trying to play the video file like this the transcoder will crash with error: “Conversion failed. The transcoder exited due to an error.”
Logs
Jun 28, 2019 12:37:10.049 [0x7f70517fa700] ERROR - Couldn't find the file to stream: /mnt/media/tv/Test Files/Season 1/test.fileone.en.srt
(..)
Jun 28, 2019 12:37:10.089 [0x7f70d5281700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 5537 is 1 (failure)
Jun 28, 2019 12:37:10.089 [0x7f70abfff700] DEBUG - Using default transcode duration of 120 minutes
Jun 28, 2019 12:37:10.089 [0x7f70cd3d8700] DEBUG - Streaming Resource: Terminating session 0x7f700c12d190:l47m5v8q6afhgrdgbe879ww0 which is using 5499kbps of WAN bandwidth. Used is now 0kbps
Jun 28, 2019 12:37:10.089 [0x7f70abfff700] DEBUG - Started session successfully: qb5x3upy65j2p86dua2qo656
Jun 28, 2019 12:37:10.089 [0x7f70cd3d8700] DEBUG - Streaming Resource: Terminated session 0x7f700c12d190:l47m5v8q6afhgrdgbe879ww0 with reason Conversion failed. The transcoder exited due to an error.
Jun 28, 2019 12:37:10.090 [0x7f7033fff700] DEBUG - Killing job.
Jun 28, 2019 12:37:10.090 [0x7f7033fff700] DEBUG - Signalling job ID 5537 with 9
Current workaround
By deselecting the removed subtitles before playing the video the bug can be avoided. However due to my default settings this happens quite frequently as I often manually remove .srt files afterwards when the container has internal subs already.
Desired solution(s)
- Quick fix would be to have the transcoder not crash when a .srt file can’t be found but instead continue without subtitles.
- Complete fix would be to detect deleted .srt files and update the Plex database appropriately.
Would appreciate hearing from other people if they can reproduce this bug and if there’s anything else I can do to force Plex to update its database. Can provide full logs to the devs if necessary.