Plex-Cleaner icon indicating copy to clipboard operation
Plex-Cleaner copied to clipboard

Viewed shows identified as [NOT FOUND] (Local & RemoteMount provided)

Open Dlayknee opened this issue 4 years ago • 1 comments

I run Plex on a Windows box and store the files local to it, but run a handful of scripts against it such as PlexCleaner from an adjacent CentOS box with a mounted CIFS share to the media directory. When I run a --test on my PlexCleaner config it spits back all the appropriate config & file info, except that once a show has been viewed it changes from:

((Show)) | Viewed: 0 | Days Since Last Viewed: 0 | On Deck: False
[KEEPING] F:\Path\To\Media\File.mkv

to...

((Show)) | Viewed: 1 | Days Since Last Viewed: 0 | On Deck: False
[NOT FOUND] F:\Path\To\Media\File.mkv

The path it lists is the correct local path on the Windows box and matches with what I have for the RemoteMount in the Cleaner.conf:

`"RemoteMount": "f:\media\",
"LocalMount": "/mnt/win/",

I noticed in the --debug info that it lists the RemoteMount (Windows) path with two backslashes, e.g., "RemoteMount": "f:\\media\\", ...but I'm pretty sure that's Python formatting and not actually impacting the pathing. (I tried using single forward slashes instead, but no change).

The file is there, so it's not that simple. I saw a post suggesting to uses --reload_encoding but that didn't change any results, either. Before I go and install pywinrm to start troubleshooting it from there, I wanted to check in here. Is this something I'm doing wrong, or am I hitting a limitation of something somewhere?

Dlayknee avatar Jul 13 '20 05:07 Dlayknee

I am also seeing this on Linux.

I am running everything inside a docker container using the API/Token calls.

mediainfo /mnt/mergerfs/media/TV\ Shows/30\ Rock\ \(2006\)/Season\ 1/30\ Rock\ -\ S01E01\ -\ Pilot.mkv 
General
Unique ID                                : 251356372846957349224858244086186888816 (0xBD1979FD12ED6495B58800FC845FCE70)
Complete name                            : /mnt/mergerfs/media/TV Shows/30 Rock (2006)/Season 1/30 Rock - S01E01 - Pilot.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 2.17 GiB
Duration                                 : 22 min 0 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 14.1 Mb/s
Encoded date                             : UTC 2016-08-19 19:58:58
Writing application                      : mkvmerge v9.3.1 ('Mask Machine') 64bit
Writing library                          : libebml v1.3.4 + libmatroska v1.4.5



30 Rock - S01xE001 - Pilot | Viewed: 1 | Days Since Last Viewed: 224 | On Deck: False
[NOT FOUND] /data/mergerfs/media/TV Shows/30 Rock (2006)/Season 1/30 Rock - S01E01 - Pilot.mkv


Note that I have /data/ as the mapping for the storage container inside docker:

 {
                "Type": "bind",
                "Source": "/mnt/mergerfs",
                "Destination": "/data/mergerfs",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },

delize avatar Mar 13 '21 01:03 delize