Comment 30 for bug 1872476

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote : Re: [Bug 1872476] Re: Shared files are shown as folders

On Monday, May 04 2020, ffatman wrote:

> For me works only the solution:
> sudo add-apt-repository ppa:sergiodj/samba-bug1872476-v2
> and line added
> client min protocol = CORE
> as access to Freebox and D-Link NAS Freebox connected and to see files as files.

Sorry, do you mean that the PPA package works for you?

AFAIK, the CORE protocol is silently upgraded to NT1, so you could use
"client protocol min = NT1".

> But this solution affects SMPlayer & VLC.
>
> SMPlayer (mpv):
>
> /usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color
> --input-file=/dev/stdin --msg-level=ffmpeg/demuxer=error --no-fs
> --hwdec=no --sub-auto=fuzzy
> --audio-device=pulse/alsa_output.pci-0000_00_09.2.analog-stereo
> --ao=pulse, --no-input-default-bindings --input-vo-keyboard=no
> --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=211812372
> --monitorpixelaspect=1 --osd-level=1 --osd-scale=1
> --osd-bar-align-y=0.6 --sub-ass --embeddedfonts
> --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Noto Sans
> --sub-color=#ffffffff --sub-shadow-color=#ff000000
> --sub-border-color=#ff000000 --sub-border-size=0.75
> --sub-shadow-offset=2.5 --sub-font-size=60 --sub-bold=yes
> --sub-italic=no --sub-margin-y=0 --sub-margin-x=0
> --sub-ass-force-style=PlayResX=512,PlayResY=320,Name=Default,Fontname=Noto
> Sans,Fontsize=24,PrimaryColour=&H00ffffff,BackColour=&H00000000,OutlineColour=&H00000000,Bold=1,Italic=0,Alignment=1,BorderStyle=1,Outline=0.3,Shadow=0,MarginL=0,MarginR=0,MarginV=0
> --sub-codepage=CP1250 --sub-pos=100 --volume=165 --cache=auto
> --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg
> --screenshot-directory=/home/bagadyr/Obrazy/smplayer_screenshots
> --audio-pitch-correction=yes --volume-max=300
> --term-playing-msg=MPV_VERSION=${=mpv-version:}
> INFO_VIDEO_WIDTH=${=width}
> INFO_VIDEO_HEIGHT=${=height}
> INFO_VIDEO_ASPECT=${=video-params/aspect}
> INFO_VIDEO_FPS=${=container-fps:${=fps}}
> INFO_VIDEO_FORMAT=${=video-format}
> INFO_VIDEO_CODEC=${=video-codec}
> INFO_AUDIO_FORMAT=${=audio-codec-name}
> INFO_AUDIO_CODEC=${=audio-codec}
> INFO_AUDIO_RATE=${=audio-params/samplerate}
> INFO_AUDIO_NCH=${=audio-params/channel-count}
> INFO_LENGTH=${=duration:${=length}}
> INFO_DEMUXER=${=current-demuxer:${=demuxer}}
> INFO_SEEKABLE=${=seekable}
> INFO_TITLES=${=disc-titles}
> INFO_CHAPTERS=${=chapters}
> INFO_TRACKS_COUNT=${=track-list/count}
> METADATA_TITLE=${metadata/by-key/title:}
> METADATA_ARTIST=${metadata/by-key/artist:}
> METADATA_ALBUM=${metadata/by-key/album:}
> METADATA_GENRE=${metadata/by-key/genre:}
> METADATA_DATE=${metadata/by-key/date:}
> METADATA_TRACK=${metadata/by-key/track:}
> METADATA_COPYRIGHT=${metadata/by-key/copyright:}
> INFO_MEDIA_TITLE=${=media-title:}
> INFO_STREAM_PATH=${stream-path}
> --audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} /
> ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I:
> ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0}
> /run/user/1000/gvfs/smb-share:server=dlink-8f6f7d,share=volume_1/BIBLIOTEKA/FILMY/C/Casino.Royale.1967/Casino
> Royale.mp4
>
> Error parsing option input-file (option not found)
> Setting commandline option --input-file=/dev/stdin failed.
> Exiting... (Fatal error)

This is a strange error. Are you saying this happens only when you're
using the PPA package?

> VLC - slow and slow frame rate.

Initially I don't see how the backported patch can impact the network
performance. Are you saying this happens only when you're using the PPA
package?

Thanks,

--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14