Closed mrfragger closed 2 months ago
I did the 2 deletions and 2 additions but still no notification...copying works just fine though. Tested on a mac Sonomoa 14.5....with 0.38 and nightly build. Also tested on Linux Mint..same thing pasting shows notification and copying doesn't.
When does copying not show notification?
The notification that it has been copied never shows either when copying a playing youtube URL or playing a local video or audio. The copying URL and filepath/file definitely do work and copy to the clipboard though. It's not a huge deal though.
Since the commit above, the set_clipboard()
function now displays the notification every time it's called. It's impossible for you to receive a path in clipboard, and not see the notification. Unless you disabled notifications, but if others are showing, that's probably not the case.
I guess you're still on an older commit.
so so sorry. I modfied the uosc files in the dir I used to upgrade uosc. on mac..not the actual ones. I should delete those right away once copied. Once I modified the correct files with the commit it does indeed work.
Ctrl+c script-binding uosc/copy-to-clipboard #! [Video Online] > Copy currently playing online video URL
works great for URL and local files but notification isn't showing unlike the paste command which shows 'Added to playlist'
mp.commandv('show-text', t('Copied to clipboard') .. ': ' .. payload, 3000) I see the code is there but it's over my head to figure out why it's not showing