Eisa01 / mpv-scripts

This repository contain scripts I have made for mpv media player...
BSD 2-Clause "Simplified" License
507 stars 35 forks source link

When file has a ` then clipboard is empty #54

Closed Max-Enrik closed 1 year ago

Max-Enrik commented 1 year ago

Hi,

I want to mention when a file has a ` then clipboard is empty how to clipboard a file path/file name.

Thank you.

Eisa01 commented 1 year ago

Can you tell me which script you are using and what version? Also mpv version and your Operating System.

Max-Enrik commented 1 year ago

Ah! Sorry, I forgot about them.

  1. SmartCopyPaste_II v3.1
  2. mpv 0.34
  3. PC WINDOWS 10 x64
Eisa01 commented 1 year ago

I cannot seem to replicate the issue, can you give me the full path along with the full file name?

Max-Enrik commented 1 year ago

When I remove the symbol between alphabets the script works like a charm. a’s The script copies the full path and name for other files unless the file has the symbol in it.

Eisa01 commented 1 year ago

This symbol is working fine for me, I cannot seem to be able to reproduce it. Perhaps you are using the version without unicode support.

Can you try updating the script? https://github.com/Eisa01/mpv-scripts/blob/master/scripts/SmartCopyPaste_II.lua

Max-Enrik commented 1 year ago

I updated the script. Unfortunately, the problem remains. I think I should try it on a new computer for testing purposes. I will do that later.

Eisa01 commented 1 year ago

You could also give me the console logs, just press ` to backtrace the logs where the failed paste occurs. Also the full filename and path could be helpful.

Eisa01 commented 1 year ago

Closed as I am unable to reproduce.