Registered Member
|
I'm using KDE Neon user edition.
I was trying to play some media from smb server by browsing and running from dolphin. I'm using mpv and vlc but neither can play files that way (vlc is default player in neon). Both players support smb:// protocol but it seems, that dolphin doesn't pass password to them, only username like this: smb://user@host/folder but not: smb://user:pass@host/folder If I add "network folder" in dolphin only host is passed without username and pass like this: smb://host/folder To play I have to manually insert link with password into vlc or run mpv using command line. It's not a big problem with vlc but with mpv lots of typing needed sometimes. As I remember gnome has gvfs so it does such things in background, but here in KDE I couldn't find simple and user friendly solution. Is there any? |
Registered Member
|
Replying myself as found quite nice integrated partial solution here:
https://bbs.archlinux.org/viewtopic.php ... 9#p1497039 Here is script how to mount cifs with network manager dispatcher but I'm not sure now how to get around root privileges and to keep password hidden: https://wiki.archlinux.org/index.php/Ne ... IFS_shares This could be user friendly if somehow integrated with network folders from dolphin, as they are just .desktop files with smb:// links inside put here: /home/user/.local/share/remoteview/ |
Registered Member
|
|
Registered Member
|
Ok thanx! It partially solves problem. Unfortunatelly mpv doesn't seem to have parameter for samba. It's only possible to add user:pass to link. Maybe feature suggestion is possible, I'll try.
|
Registered Member
|
|
Registered Member
|
Sorry, just subscribing the post. Having the same issue, I thought this was a long done deal. I can use NFS, but it's quite more cumbersome to do so, and allows less mobility. I'd like to be able to just play network videos without much hassle.
|
Registered Member
|
You could mount your movies share in /etc/fstab without revealing the username and password by using Samba's "credentials" option. For example, if your password protected share named "Movies" is on 192.168.1.2, your /etc/fstab entry would look like this:
(I'm using "/mnt/Movies" as the mount-point in this example) You would have to then make sure the directory "/cred" exists, and it contains a text file named "movies.cred" which contains:
You could then make sure only root has access to that folder and the movies credentials file:
Test that it worked using:
Both VLC and MPV should now be able to play media in the "/mnt/Movies" directory, only users with root privileges will be able to view the samba credentials, and the /mnt/Movies directory will be available on start-up (no need to manually mount it). |
Registered Member
|
Hello,
For both my company and my personal projects at home, I ran into this same KIO infrastructure problem. In an effort to find a universal solution, I wrote in detail about my experiences with Plasma[KIO] and Samba in the KDE Brainstorm section. https://forum.kde.org/viewtopic.php?f=83&t=141917 I am hoping a community member familiar with the networking side of the Plasma stack or a KIO developer could join us on this topic. Sincerely, chrisHRD |
Registered Member
|
Hello, I'm trying to load the movie link on VLC but it's not able to stream the video flawlessly. I'm on 150Mbs internet connection but the video seems laggy. Update: I was able to watch movies on my Roku. As listed, on allstreamingsites all the websites are built for Roku and firestick. No need to load links. All legal content.
Last edited by mokhan on Sun Feb 16, 2020 2:53 pm, edited 9 times in total.
|
Registered Member
|
Hello mokhan,
A couple of questions to help you find a solution: 1) What is your operating system and VLC version? 2) Where is the file located (is it on a LAN or is this over the net)? 3) How are you connecting to the file (SMB4K, VLC internal SMB, other)? If you could answer these, the community might be able to help you narrow down the possible causes for your issue. Sincerely, ChrisHRD |
Registered Member
|
Hi,I am using a MX player and put the link also there but it is restarting again and again, It is making streaming with numerous lag and some time my devices are showing not supported version error. I tried mokhan solution but same thing happen with those links on my media player. Internet speeds is not the problem because it is working on the main solution but not on the last values.
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]