Was discussing this with @anon18523487 -
There was a transcoder error closing the file in the .grab file at 16:33:01.767
Jan 25, 2023 16:33:01.767 [13156] ERROR - [Req#4a167e/Transcode/3f7e0cf8-ef13-4b92-b430-1d4e8f8a00c0/79727da6-1b8d-43a2-ab75-006a81f10335] Error closing file /storage/LCMD-DATA/Media/TV Shows/.grab/a6c984006dce011a281e00e0eaaf903a957c7f22-9d5d4f4aa8f4bbcbb62b20b17603b461e64e15c3/Wings (1990) - S06E17 - Remembrance of Flings Past.ts: Operation not permitted
The transcoder process exited at 16:33:01.817
Jan 25, 2023 16:33:01.817 [20728] DEBUG - Jobs: '/data/app/~~S-AsMrgCdex--Grb29lolg==/com.plexapp.mediaserver.smb-mKaN162UPI-xo0in657_mA==/lib/arm64/libPlexTranscoder.so' exit code for process 12951 is 0 (success)
At 16:33:01.825 the file in the .grab directory was opened by Plex Media Server process
Jan 25, 2023 16:33:01.826 [14405] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22] [MI] Opening input file: "/storage/LCMD-DATA/Media/TV Shows/.grab/a6c984006dce011a281e00e0eaaf903a957c7f22-9d5d4f4aa8f4bbcbb62b20b17603b461e64e15c3/Wings (1990) - S06E17 - Remembrance of Flings Past.ts"
and
Jan 25, 2023 16:33:01.830 [14405] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22] [FFMPEG] - Opening '/storage/LCMD-DATA/Media/TV Shows/.grab/a6c984006dce011a281e00e0eaaf903a957c7f22-9d5d4f4aa8f4bbcbb62b20b17603b461e64e15c3/Wings (1990) - S06E17 - Remembrance of Flings Past.ts' for reading
and did read from the file
Jan 25, 2023 16:33:01.892 [14405] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22] [FFMPEG] - Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:2
and some info extracted and file closed
Jan 25, 2023 16:33:31.953 [14405] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22] [MI] * [mpegts mpeg2video/ac3] Duration: 1121753ms, 704x480 (1.777778) 29.970fps, bitrate=1974kbps, audio channels=2, optimizedForStreaming=0 ("/storage/LCMD-DATA/Media/TV Shows/.grab/a6c984006dce011a281e00e0eaaf903a957c7f22-9d5d4f4aa8f4bbcbb62b20b17603b461e64e15c3/Wings (1990) - S06E17 - Remembrance of Flings Past.ts")
Jan 25, 2023 16:33:31.957 [14405] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22] [MI] Chapters had generic titles, clearing.
Jan 25, 2023 16:33:31.957 [14405] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22] [MI] Closing input file: "/storage/LCMD-DATA/Media/TV Shows/.grab/a6c984006dce011a281e00e0eaaf903a957c7f22-9d5d4f4aa8f4bbcbb62b20b17603b461e64e15c3/Wings (1990) - S06E17 - Remembrance of Flings Past.ts"
Then at 16:33:32.007 it got moved from the .grab directory
Jan 25, 2023 16:33:32.007 [14499] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22] Assimilator: Moving "/storage/LCMD-DATA/Media/TV Shows/.grab/a6c984006dce011a281e00e0eaaf903a957c7f22-9d5d4f4aa8f4bbcbb62b20b17603b461e64e15c3/Wings (1990) - S06E17 - Remembrance of Flings Past.ts" to "/storage/LCMD-DATA/Media/TV Shows/Wings (1990)/Season 06/Wings (1990) - S06E17 - Remembrance of Flings Past.ts"
and analysis scanner job fired
Jan 25, 2023 16:33:32.563 [14916] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/data/user/0/com.plexapp.mediaserver.smb/Plex\ Media\ Server/Codecs/583b3e4-4441-android-aarch64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx "/data/app/~~S-AsMrgCdex--Grb29lolg==/com.plexapp.mediaserver.smb-mKaN162UPI-xo0in657_mA==/lib/arm64/libPlexMediaScanner.so" --analyze --log-file-suffix " Analysis" --item 16799
Jan 25, 2023 16:33:32.568 [14916] DEBUG - [Grabber/a6c984006dce011a281e00e0eaaf903a957c7f22/JobRunner] Jobs: Starting child process with pid 14917
The Plex Media Scanner Analysis.2.log shows a 10 second delay in opening the file and also the log file
Jan 25, 2023 16:33:44.439 [14919] INFO - Plex Media Scanner v1.30.1.6497-5fc2e0894 - NVIDIA SHIELD Android TV darcy - build: android-aarch64 - GMT -07:00
Jan 25, 2023 16:33:44.439 [14919] INFO - Android version: 11, language: en-US
Jan 25, 2023 16:33:44.439 [14919] INFO - Processor: 4-core AArch64
Jan 25, 2023 16:33:44.439 [14919] INFO - /data/app/~~S-AsMrgCdex--Grb29lolg==/com.plexapp.mediaserver.smb-mKaN162UPI-xo0in657_mA==/lib/arm64/libPlexMediaScanner.so --analyze --log-file-suffix Analysis --item 16799
Jan 25, 2023 16:33:33.402 [14917] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Jan 25, 2023 16:33:33.640 [14917] DEBUG - Analyzing media parts for item 16799 (Remembrance of Flings Past): 23405
Jan 25, 2023 16:33:33.648 [14917] DEBUG - [ID 23580] Media part analysis: /storage/LCMD-DATA/Media/TV Shows/Wings (1990)/Season 06/Wings (1990) - S06E17 - Remembrance of Flings Past.ts
Jan 25, 2023 16:33:44.223 [14917] DEBUG - [MI] Opening input file: "/storage/LCMD-DATA/Media/TV Shows/Wings (1990)/Season 06/Wings (1990) - S06E17 - Remembrance of Flings Past.ts"
Jan 25, 2023 16:33:44.223 [14917] DEBUG - [FFMPEG] - Opening '/storage/LCMD-DATA/Media/TV Shows/Wings (1990)/Season 06/Wings (1990) - S06E17 - Remembrance of Flings Past.ts' for reading
And the analysis job was force terminated 20 seconds after the job was started
Will need to discuss this with the development team
Update: We had seen NVIDIA SHIELD smb timing issues before and delays in opening files. This may be similar problem