Movie scraper doesn't work with some files

I’ve just mounted the NFS share and launched mediainfo but I don’t see anything on the URL it gave me back:

osmc@osmc:/mnt/MOVIES$ mediainfo -f “Skyscraper.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ.mkv”|paste-log
https://paste.osmc.tv/ratupiruba

Believing your log the file has partial path soemwhere on your system ...volume1/MOVIES/Skyscraper.2018.mkv.

Really, deleting |paste-log nothing appears…

Yes, it’s a share inside Kodi, is there any way to enter into that share?

Ok, your files are not mounted in the root file system, so try the following

1. SSH login as user osmc/osmc
2. cd /mnt
3. sudo mkdir ivan
4. sudo mount -t nfs 192.168.1.4:/volume1/MOVIES ivan
5. cd ivan
6. mediainfo -f "Skyscraper.2018.mkv"|paste-log
7. provide the returned URL, here
8. cd /mnt
9. sudo umount ivan
10. sudo rmdir ivan

I’ve mounted the NFS share correctly so your way is the same way I’ve used to mount the NFS share at the first time…I don’t know, the only way is try directly from NAS or from a PC/MAC, I’ll let you know as soos as I’ll go back home later

Well, your configuration looks a bit confusing for other people.

I can see that you defined a MOVIES source in the mediacenter with has two nfs sources

nfs://192.168.1.4/volume1/MOVIES/
nfs://192.168.1.4/volumeUSB2/usbshare/MOVIES/

(volume1 + volumeUSB2 means to me this could be a Synology NAS)

But there seem to be two instances of the video as well

nfs://192.168.1.4/volume1/MOVIES/Skyscraper.2018.mkv
nfs://192.168.1.4/volume1/MOVIES/Skyscraper.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ.mkv

Might be this is one possible root cause which confuses things, here.

Sorry for that JimKnopf, I’ve only tried to rename the movie thinking to resolve any “chars” or other kind of problem given by the name of the file, then I’ve revert the change.
Yes the MOVIES share has been created by 2 NAS NFS shares, one from HDD (Volume1) and one from an old USBDISK (VolumeUSB2).

So, there is only ONE Skyscraper video file?

Yes, it’s the same file, the logs are from 2 different days.
I have mediainfo and filebot installed on my Synology if it could help…I don’t know what info you need (I don’t know mediainfo either…the syntax etc to get infos)

I thought that the second long file name was constructed by some meta data in the video file … we shouldn’t follow that at the moment.

What I would do:

  1. rename video file to something unknown like “blablabla.mkv.old”
  2. clean the video library from all non-existing files, somehwere under settings->media->library->video library->clean library
  3. rename the video file to something which tmdb can find like “Skyscraper 2018.mkv”, “Skyscraper_2018.mkv”, etc.
  4. run a library update

You were right, in fact after renamed it (in the short way) the scraper continues to read the “extended” name, probably from the file metadata. The strange thing is that for different files (1080 x264 for example, but also for Matrix and Transformers that are both 4K UHD x265) the scraper gives me the possibility to insert a manual string to search it into IMDB or TMDB…in this case it just reports that no info were found, doesn’t let me to insert any other string.

I would try moving the file to a folder Kodi isn’t scraping before using the clean library function, then moving it back and carrying out a library update.

I would also suggest making sure there’s no other files in that movies folder like a .nfo file that you may have inadvertently placed there when you “ripped” the movie :wink:

I’ve tried both ways, cleaning up library then update, nothing has changed. The only way to make scraper working properly is to place the nfo file like they have suggested me before.
I’m gonna scan one of the “rip” with mediainfo on Mac, I’ll copy the output soon

UPDATE: `General
Unique ID : 62858496254781245081722731975949143680 (0x2F4A1B241A20257175D3CEBF8907CE80)
Complete name : /Volumes/MOVIES/Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ.mkv
Format : Matroska
Format version : Version 4
File size : 20.2 GiB
Duration : 2 h 2 min
Overall bit rate mode : Variable
Overall bit rate : 23.7 Mb/s
Movie name : Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ
Encoded date : UTC 2018-09-27 15:10:51
Writing application : mkvmerge v26.0.0 (‘In The Game’) 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9
Cover : Yes
Attachments : cover.jpg

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 2 min
Bit rate : 15.7 Mb/s
Width : 3 840 pixels
Height : 1 600 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.107
Stream size : 13.4 GiB (66%)
Title : Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ
Writing library : x265 2.8+54-79c76e42cb28:[Windows][GCC 7.3.1][64 bit] 10bit
Encoding settings : cpuid=1111039 / frame-threads=16 / numa-pools=24,24,24,24 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1600 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=16.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,01) / max-cll=8325,775 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 8325 cd/m2
Maximum Frame-Average Light Level : 775 cd/m2

Audio #1
ID : 2
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 2 h 2 min
Bit rate mode : Variable
Bit rate : 2 990 kb/s
Maximum bit rate : 5 031 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Compression mode : Lossless
Delay relative to video : 1 ms
Stream size : 2.56 GiB (13%)
Title : Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ
Language : English
Default : Yes
Forced : No
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE

Audio #2
ID : 3
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 2 min
Bit rate mode : Variable
Bit rate : 4 152 kb/s
Channel(s) : 8 channels
Channel layout : C L R LFE Lb Rb Lss Rss
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 3.55 GiB (18%)
Title : Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ
Language : English
Default : No
Forced : No

Audio #3
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 2 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : 1 ms
Stream size : 560 MiB (3%)
Title : Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ
Language : English
Service kind : Complete Main
Default : No
Forced : No

Text #1
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 27 min
Bit rate : 6 b/s
Count of elements : 172
Stream size : 4.44 KiB (0%)
Title : English-FORCED-SRT
Language : English
Default : Yes
Forced : Yes

Text #2
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 1 h 52 min
Bit rate : 30 b/s
Count of elements : 831
Stream size : 25.3 KiB (0%)
Title : English-SRT
Language : English
Default : No
Forced : No

Text #3
ID : 7
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 52 min
Bit rate : 20.3 kb/s
Count of elements : 1624
Stream size : 16.4 MiB (0%)
Title : English-PGS
Language : English
Default : No
Forced : No

Text #4
ID : 8
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 1 min
Bit rate : 24.1 kb/s
Count of elements : 2098
Stream size : 20.9 MiB (0%)
Title : English-SDH-PGS
Language : English
Default : No
Forced : No

Text #5
ID : 9
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 52 min
Bit rate : 20.3 kb/s
Count of elements : 1624
Stream size : 16.4 MiB (0%)
Title : English-PGS
Language : English
Default : No
Forced : No

Text #6
ID : 10
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 1 min
Bit rate : 24.1 kb/s
Count of elements : 2098
Stream size : 20.9 MiB (0%)
Title : English-SDH-PGS
Language : English
Default : No
Forced : No

Text #7
ID : 11
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 1 min
Bit rate : 16.9 kb/s
Count of elements : 1588
Stream size : 14.7 MiB (0%)
Title : French-PGS
Language : French
Default : No
Forced : No

Text #8
ID : 12
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 1 min
Bit rate : 17.6 kb/s
Count of elements : 1648
Stream size : 15.3 MiB (0%)
Title : Portuguese-PGS
Language : Portuguese
Default : No
Forced : No

Text #9
ID : 13
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 1 min
Bit rate : 12.8 kb/s
Count of elements : 1336
Stream size : 11.1 MiB (0%)
Title : Spanish-PGS
Language : Spanish
Default : No
Forced : No

Text #10
ID : 14
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 1 min
Bit rate : 13.9 kb/s
Count of elements : 1334
Stream size : 12.1 MiB (0%)
Title : Spanish-PGS
Language : Spanish
Default : No
Forced : No

Menu
00:00:00.000 : :Chapter 1
00:06:38.189 : :Chapter 2
00:14:45.593 : :Chapter 3
00:18:48.502 : :Chapter 4
00:27:08.335 : :Chapter 5
00:34:08.963 : :Chapter 6
00:42:28.671 : :Chapter 7
00:51:10.442 : :Chapter 8
01:00:58.071 : :Chapter 9
01:09:20.114 : :Chapter 10
01:14:26.795 : :Chapter 11
01:23:24.958 : :Chapter 12
01:28:41.357 : :Chapter 13
01:35:38.899 : :Chapter 14
01:41:44.348 : :Chapter 15
01:46:15.494 : :Chapter 16

`

So, wherever these rips come from, the creator burned this movie name tag into it.

I think, you could try to scan these files with

settings->media->videos->extract video information from file = OFF

or find a way to eliminate these tags.
In any case you should rename the file to some tmdb-friendly title.

So mystery solved? Why Kodi doesn’t let me input a manual string to search?
If I turn turn off that options, does Kodi continue to give me information about the file, like codec, length, audio etc?

Ivan, I fear not … but we are here now within kodi mediacenter dealing with files downloaded somewhere …
I suggest you find a tool which can wipe out this “movie name” tag or try the way suggested.

Why not just open the file in mkvtoolnixgui, delete the File Title on the output tab and remux the file and be done with it.

for example …

Sorry guys, maybe you don’t understand my intent. I really don’t care about this issue, I’ve only noticed this strange behavior from Kodi and I’ve though that maybe was something to be fixed. If it’s normal I’ll put the nfo file that works well, it’s not a big deal!

1 Like