pawamoy / aria2p

Command-line tool and library to interact with an aria2c daemon process with JSON-RPC.
https://pawamoy.github.io/aria2p
ISC License
493 stars 93 forks source link

aria2p not detecting macOS clipboard contents #90

Open windowswithoutborders opened 3 years ago

windowswithoutborders commented 3 years ago

Describe the bug when using the add downloads from clipboard feature, aria2p does not display the contents of the macOS clipboard

To Reproduce copy anything. press a to see the contents.

Expected behavior contents of clipboard are visible

System (please complete the following information):

Additional context For what it's worth, macOS uses the pbcopy and pbpaste commands for working with the clipboard on the command line. Also, currently adding downloads from a text file witharia2p add <text_file.txt> is a perfectly fine workaround.

Example:

> echo 'this is a test' | pbcopy
> pbpaste
this is a test

 ~
>

Boost priority

Fund with Polar

pawamoy commented 3 years ago

Yeah if I remember correctly I was never able to make the clipboard Python package work correctly in CI. I'll take a look at this.

pawamoy commented 3 days ago

@windowswithoutborders are you still experiencing this issue? I don't have access to a macOS machine so I cannot reproduce the described issue.