Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useful improvements #3

Open
RJVB opened this issue Jan 30, 2021 · 4 comments
Open

Useful improvements #3

RJVB opened this issue Jan 30, 2021 · 4 comments

Comments

@RJVB
Copy link

RJVB commented Jan 30, 2021

This is a nice proof of concept but both parts are really in need of improvements to make them viable alternatives for people who cannot use the actual AirDrop function. In no particular order:

  • the python app should not leave empty destination files around if it exits with a timeout before any data was detected
  • binary content that cannot be shown on the terminal could be saved to file automatically (the iOS app could provide the filename)
  • figure out how to register the iOS app as a sharing destination service (this might also solve the issue that photos lose EXIF information with the current protocol)
  • AND/OR let the app detect and react to clipboard content changes so you don't have to restart it if you want to send different content (that includes sending multiple photos)
  • support sending multiple items (= not just the 1st item in the clipboard buffer).
@roznet
Copy link
Owner

roznet commented Feb 1, 2021

Thanks. yes it’s a proof of concept/learning tool but turned out actually useful

I am actually working on improving it a bit. Especially in handling better files of different types, file names etc

I will look at some of these as part of it as well

@RJVB
Copy link
Author

RJVB commented Feb 1, 2021 via email

@roznet
Copy link
Owner

roznet commented Feb 7, 2021

The latest code answers some of these:

  • it should not leave empty destination file (but possible I missed some workflow where this happens)
  • it now tries to keep track of file name and will use that by default. '-' will force stdout
  • the app should pick up latest clipboard changes

I am not sure what you mean by sharing destination? It should be the case already, and the app should appear when you press share for some types (images, etc)
I didn't implement multiple items, need to keep some for later :)

@RJVB
Copy link
Author

RJVB commented Feb 7, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants