Baka-MPlayer icon indicating copy to clipboard operation
Baka-MPlayer copied to clipboard

SFTP support on Windows

Open ghost opened this issue 8 years ago • 8 comments

Could you please make it possible to play files from a SFTP server on Windows? On Linux, it works fine with plain MPV…

ghost avatar Nov 12 '16 21:11 ghost

It works with baka on linux using the location dialog, the only reason I imagine it might not work is if libssh isn't available on the compiled windows version. Can you confirm that using the format sftp://$user@$host:22/$path in the baka location dialog doesn't work?

Sincerely, Daniel J. B. Clarke

On Sat, Nov 12, 2016 at 4:02 PM, wb9688 [email protected] wrote:

Could you please make it possible to play files from a SFTP server on Windows? On Linux, it works fine with plain MPV…

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/u8sand/Baka-MPlayer/issues/230, or mute the thread https://github.com/notifications/unsubscribe-auth/ABR5pd46nshCcb62U1jWAJSdpC2K65NLks5q9iljgaJpZM4Kwhrw .

u8sand avatar Nov 12 '16 21:11 u8sand

@u8sand: That doesn't work with the official Windows builds of Baka-MPlayer, but it works fine on my Linux machine…

ghost avatar Nov 12 '16 21:11 ghost

In that case, it's most likely as I said. I'll try to recompile it for Windows with the necessary support.

On Nov 12, 2016 4:55 PM, "wb9688" [email protected] wrote:

@u8sand https://github.com/u8sand: That doesn't work with the official Windows builds of Baka-MPlayer, but it works fine on Linux where I've a libmpv that supports SFTP…

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/u8sand/Baka-MPlayer/issues/230#issuecomment-260150966, or mute the thread https://github.com/notifications/unsubscribe-auth/ABR5pRQwRDFVimuERR47UkBjp6zskBR_ks5q9jXLgaJpZM4Kwhrw .

u8sand avatar Nov 13 '16 00:11 u8sand

I'll try to recompile it for Windows with the necessary support.

@u8sand: Have you re-compiled it with SFTP support in the mean time? If so, can you share that build? Btw what distro do you use for cross-compiling it for Windows?

ghost avatar Nov 14 '16 13:11 ghost

@wb9688: I use ArchLinux and the script in the cross_compile directory: https://github.com/u8sand/Baka-MPlayer/tree/master/windows

Though recently most of the relevant AUR packages have been created for the entire build steps of baka, circular dependencies and aur package inconsistencies have made it difficult to use.

The build system we use has its downsides, such as the necessity to completely recompile the entire toolchain when the authors break things. Such is why it will take me still some time to get this built.

On Mon, Nov 14, 2016 at 8:08 AM, wb9688 [email protected] wrote:

I'll try to recompile it for Windows with the necessary support. @u8sand https://github.com/u8sand: Have you re-compiled it with SFTP support in the mean time? If so, can you share that build? Btw what distro do you use for cross-compiling it for Windows?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/u8sand/Baka-MPlayer/issues/230#issuecomment-260330208, or mute the thread https://github.com/notifications/unsubscribe-auth/ABR5pQlfIXcYSES2VRZVAs_uhrMk4910ks5q-F0zgaJpZM4Kwhrw .

u8sand avatar Nov 14 '16 14:11 u8sand

I got the release version rebuilt with ssh support (I think), please try it. Unfortunately building the master isn't working for whatever baffling reason, hopefully one which will resolve itself in the near future.

https://dl.dropboxusercontent.com/u/13483445/i686.zip https://dl.dropboxusercontent.com/u/13483445/x86_64.zip

See #231 for more information about my latest cross-compilation adventures.

u8sand avatar Nov 22 '16 04:11 u8sand

@u8sand: I've tried it, but it gives the error "File couldn't be opened", while I've typed the path correctly and the permissions are OK.

ghost avatar Nov 23 '16 15:11 ghost

According to the logs it says that the protocol was not found.

[mpv]: Playing: sftp://[email protected]:22/$path
[mpv]: Protocol not found. Make sure ffmpeg/Libav is compiled with networking support.
[mpv]: Failed to open sftp://[email protected]:22/$path.

Hmm..

godly-devotion avatar Dec 03 '16 00:12 godly-devotion