You are not logged in.

#1 2021-10-25 12:33

El-Kink
Member
Registered: 2021-10-15
Posts: 5

VLC unable to open files on LAN and External usb drive

Hello,

The problem is not only related to VLC, i've installed several other video players (kaffeine, codeine, smplayer) and all have the same issues :

1) files located on an external usb HDD or stick : double click a file (or "open with") fails evertime. it works only if i first launch the softwares, then browse "open..." and look for the file directly in the included file browser.

2) "almost" same issue over smb shares. I always used a synology NAS with some repos. After logging with credentials : if i double click a file, VLC and other players fails to open it. Even if i browse direclty from videos players, unable to read files..

idk what is causing the issue, but it's a bit annoying. I've never encountered this issue before with my samba shares or external usb drives on other debian distros, and idk what to do to solve it.

Help appreciated !

----
Edit by Admin:
Added to the official bug tracker https://sourceforge.net/p/q4os/tickets/201/

Offline

#2 2021-10-25 12:38

El-Kink
Member
Registered: 2021-10-15
Posts: 5

Re: VLC unable to open files on LAN and External usb drive

Since i can't edit the previous post, important update : i'm using Gemini with trinity.

Offline

#3 2022-03-10 17:52

Baloo
Member
Registered: 2022-03-10
Posts: 11

Re: VLC unable to open files on LAN and External usb drive

I too have been running into this issue with VLC. Oddly running Winamp in WINE of all programs is able to view files on USB/external hard drive, but VLC Media Player cannot. I am wondering if this is a Konqueror issue? I've also run into this issue with Konqueror being unable to mount encrypted hard drives, which developer SlavekB says is only in the experimental repo for TDE at the moment.


baloo.neocities.org

Offline

#4 2022-03-11 07:25

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,320

Re: VLC unable to open files on LAN and External usb drive

I confirm this is the case.

If I open VLC and point to a file to play then it works.

If I go the the file on the USB drive and select Open with VLC...

Your input can't be opened:
VLC is unable to open the MRL 'file:///home/robin/system%3A/media/sdb1/files/Videos/DSCN1978.MOV'. Check the log for details.

The problem is caused by Konqueror because the drive is accessed via "system:/media........" and so the MRL runs in to a path it cannot understand and that's when it all goes wrong.

If you access the drive via Krusader>Right Click> Open with VLC it works as expected.

Offline

#5 2022-03-11 11:10

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,351
Website

Re: VLC unable to open files on LAN and External usb drive

That looks like Konqueror bug. So, it would be worth reporting it for Trinity developers http://trinitydesktop.org/

Offline

#6 2022-03-14 00:39

Humming Owl
Member
From: Venezuela
Registered: 2022-01-22
Posts: 25

Re: VLC unable to open files on LAN and External usb drive

It isn't only related to video players I have the same issue trying to access a TXT file with Gedit for example on an external drive. Gedit tells me that: "Could not open the file “media:///sdc1/data1.txt.” and 'Unable to handle "media:" locations.'.

Offline

#7 2022-03-16 15:40

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

Re: VLC unable to open files on LAN and External usb drive

I also have this issue. As a workaround, you can open your external hard drive or USB flash drive as /media/username/drivename. Opening as system:/media...... fails.

Update: Tested on second PC with Q4OS 3.15.2-n1, and everything opens there correctly! Interesting. Is it some kind of regression in Gemini?

Last edited by Rademes (2022-03-16 15:48)


Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#8 2022-03-21 00:51

Humming Owl
Member
From: Venezuela
Registered: 2022-01-22
Posts: 25

Re: VLC unable to open files on LAN and External usb drive

Rademes wrote:

I also have this issue. As a workaround, you can open your external hard drive or USB flash drive as /media/username/drivename. Opening as system:/media...... fails.

Update: Tested on second PC with Q4OS 3.15.2-n1, and everything opens there correctly! Interesting. Is it some kind of regression in Gemini?

Thanks, it works.

I've been searching for a bit and it has been a problem for quite a while.

https://mirror.git.trinitydesktop.org/g … issues/224
http://dev1galaxy.org/viewtopic.php?id=4404
http://www.trinitydesktop.org/irc/logs/ … /11/29/#28

In the third link, user "q4osuser" suggests something to fix this issue, however I know nothing about that.

EDIT: I think I've found a more permanent workaround (involves the modification of .desktop files).

- Go to "/usr/share/applications/"
- Locate the .desktop file of the program that doesn't open the file you are trying to open (e.g. VLC would be "vlc.desktop")
- Right-click and select "Edit as system administrator"
- Search for the "Exec=" entry
- Replace the "%U" entry on the same line by "%F"
- Save and test if it now works.

If it doesn't, you may also have to modify the .desktop files on "/home/<username>/.local/share/applications"

Seems to work for me at least with VLC, MPV, gedit and eog.

Last edited by Humming Owl (2022-03-24 01:22)

Offline

#9 2022-04-01 18:48

Baloo
Member
Registered: 2022-03-10
Posts: 11

Re: VLC unable to open files on LAN and External usb drive

https://mirror.git.trinitydesktop.org/g … /pulls/157

Hopefully this will get fixed in Trinity Desktop Environment soon, SlavekB the main dev has taken notice of it.


baloo.neocities.org

Offline

#10 2022-05-31 16:24

Baloo
Member
Registered: 2022-03-10
Posts: 11

Re: VLC unable to open files on LAN and External usb drive

https://mirror.git.trinitydesktop.org/g … /pulls/157

This issue has been fixed! Looking forward to it being pushed to Q4OS.


baloo.neocities.org

Offline

#11 2022-10-06 20:51

jlsborges
Member
Registered: 2022-10-06
Posts: 4

Re: VLC unable to open files on LAN and External usb drive

EDIT: I think I've found a more permanent workaround (involves the modification of .desktop files).

- Go to "/usr/share/applications/"
- Locate the .desktop file of the program that doesn't open the file you are trying to open (e.g. VLC would be "vlc.desktop")
- Right-click and select "Edit as system administrator"
- Search for the "Exec=" entry
- Replace the "%U" entry on the same line by "%F"
- Save and test if it now works.



It worked for me, thanks.

Offline

Board footer

Powered by FluxBB