Issue playing back new TV series

Hi there,
I’m having issues playing back a new TV series.

The log is at https://paste.osmc.tv/takirohami and the mediainfo for the file played in the log is below.

It seems to be a permission error - however the file opens on Mac & Android in VLC and I’ve chmodded to 777.

Any assistance would be gratefully received :slight_smile: … I’m sure it’s something simple … I’m just not sure what

Thanks,

General
Unique ID : 253059366946915159250537723838769256767 (0xBE6176148CE6AFADF34463BF7D21D93F)
Complete name : Hacks - S01E01 - There Is No.mkv
Format : Matroska
Format version : Version 4
File size : 1.74 GiB
Duration : 29 min 3 s
Overall bit rate mode : Variable
Overall bit rate : 8 572 kb/s
Encoded date : UTC 2021-05-13 09:32:41
Writing application : mkvmerge v56.1.0 (‘My Friend’) 64-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.4

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 29 min 3 s
Bit rate mode : Variable
Bit rate : 8 250 kb/s
Maximum bit rate : 12.4 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.166
Stream size : 1.66 GiB (95%)
Writing library : x264 core 157 r2965 861cec4
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=34 / lookahead_threads=5 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=96 / keyint_min=96 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=8250 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=12375 / vbv_bufsize=6187 / nal_hrd=vbr / filler=0 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 29 min 3 s
Bit rate mode : Constant
Bit rate : 384 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)
Compression mode : Lossy
Stream size : 79.8 MiB (4%)
Title : English
Language : English
Service kind : Complete Main
Default : Yes
Forced : No

Text #1
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 28 min 58 s
Bit rate : 103 b/s
Count of elements : 733
Stream size : 21.9 KiB (0%)
Title : SDH
Language : English
Default : No
Forced : No

Text #2
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 28 min 58 s
Bit rate : 103 b/s
Count of elements : 733
Stream size : 21.9 KiB (0%)
Title : SDH
Language : English
Default : No
Forced : No

SMBFile->Open: Unable to open file : 'smb://192.168.1.103/Multimedia/Videos/TV/Hacks/Season%201/Hacks%20-%20S01E10%20-%20I%20Think%20She%20Will.mkv'
                                                   unix_err:'d' error : 'Permission denied'

I’m guessing that it’s the permissions on the Season 01 directory, or the Hacks directory above.

Thanks @bmillham - good thinking but unfortunately not in this case
drwxrwx— 3 admin administ 4.0k Sep 23 15:31 Hacks/
drwxrwx— 3 admin administ 4.0k Oct 9 08:07 Season 1/

Any other ideas please?

Folder rights look ok(if the network share account is part of administ), individual files?

Is each unit play from that share using the same credentials to access the video files?

Thanks @joakim_s - yes the file permissions are OK
-rwxrwxrwx 1 admin administ 1.7G Sep 23 15:31 Hacks - S01E01 - There Is No.mkv*

These files are using the same credentials as everything else in my library … which is playing OK

Those permissions don’t look right to me for directories:

They should be drwxrwxr-x or chmod 775

1 Like

777 is just fine for a home network.

@gordon, are those the permissions on the server/NAS? You might try using a fstab mount to see if that makes a difference. Also, that is the server/NAS and how is the drive formatted.

If you are not using admin user or administ group to connect to the share then the files will not be readable. Exactly what you are seeing. Easy fix is to change those directories to 777 or 775.

Thanks @bmillham - I’m still mystified. I’ve included the permissions for a couple of folder structures - one which works (What We Do In the Shadows) & one which doesn’t (Hacks)

Any ideas please?

Top level

drwxrwx— 3 admin administ 4.0k Sep 23 15:31 Hacks/
drwxrwx— 3 admin administ 4.0k Sep 28 17:31 What We Do In the Shadows/

Season level

drwxrwx— 3 admin administ 4.0k Oct 9 08:07 Season 1/
drwxrwx— 2 admin administ 4.0k Oct 9 12:37 Season 3/ [WWDITS]

Files

-rw-rw-r-- 1 admin administ 1.7G Sep 23 15:31 Hacks - S01E01 - There Is No.mkv
-rw-rw-r-- 1 admin administ 2.0G Sep 23 15:46 Hacks - S01E02 - Primm.mkv

-rw-rw-r-- 1 admin administ 837.9M Sep 3 10:01 What We Do In the Shadows - S03E01.mkv
-rw-rw-r-- 1 admin administ 1.7G Sep 3 15:48 What We Do In the Shadows - S03E02 - The Cloak of Duplication.mkv