Open LarsaSolidor opened 5 years ago
I thought we had a ticket for this, but it turns out in the early days I closed it (#6) after Airdrop support was put in 😅. I do agree about having this feature, windows users also don't have access to Airdrop, and it would be handy to have Wifi transfer available
I'm kind of with my hands full on other features for the next release, but if anybody wants to help out, I remember considering this framework to put up a web server: https://github.com/httpswift/swifter , I'm sure there are options as well 👍
I think it would make a great addition, especially for our Windows users.
As Linux user, there is no Airdrop support. So please consider it.
Yes, please incorporate this feature asap. Thank you for the good work.
While there is no such thing as "asap" in OpenSource, I began some early investigation in way of providing this.
There are ways to implement something impressively similar using WebRTC (which would require us providing some sort of beacon service). See Snapdrop for an example.
Another option would be to spin up a custom HTTP server and serve a small website directly from your phone. Projects like GCDWebServer provide this sort of thing.
The former provides much better user ergonomics, including auto-discovery and no fumbling with IP-addresses whatsoever. That is if everything works. If you're in a non-ideal network environment (corporate, et all), this will break pretty easily. Also it requires us to run, maintain and pay for a WebServer or service (relying on "free" tiers of various services is never a good idea for a product with actual customers).
The latter is self-contained inside the app, which is a big plus on maintenance but does require users to enter the IP address of their iPhone on their desktop, as well as port etc, which might require a bit of tech-savviness.
I think most of our users should be involved enough to type something like http://127.0.0.1:8080
(sic!) into their browser, so I'd favor the second option for implementation. As always I'd be happy to provide visual design for both the workflow as well as the upload screen etc. on request.
While we do not have the feature yet, Snapdrop might be a good solution until we put something into BookPlayer. It works well and files received on iOS 13 will end up in the files app and can be imported into BookPlayer from there.
Add the ability to upload audio books to BookPlayer through a web browser on another computer, similar to how Infuse Player allows this by creating a web server which can be navigated to on another computer and media files transferred.
The motiviation being wireless transfer of files without the use of the internet, especially on older (Mac < 2012) hardware which does not support the current standard for AirDrop
I use https://web.telegram.org to achieve precisely what you described.
Add the ability to upload audio books to BookPlayer through a web browser on another computer, similar to how Infuse Player allows this by creating a web server which can be navigated to on another computer and media files transferred. The motiviation being wireless transfer of files without the use of the internet, especially on older (Mac < 2012) hardware which does not support the current standard for AirDrop
I use https://web.telegram.org to achieve precisely what you described.
I don’t see how you can use an encrypted messaging service to upload books from a computer to an iPhone.
Perhaps you could elaborate on your method?
Perhaps you could elaborate on your method?
sure, I have detailed instructions over here: https://github.com/megasuperlexa/audiobook-convert Section "How do I load my book to iPhone".
Although I believe there are other messengers out there, that have the web-interface and an ability to send messages to yourself, but I just use Telegram on a daily basis, so I use that.
oh, I didnt realize you wrote "WITHOUT internet", sorry. This method requires internet of course, but just for a brief period of uploading.
@LarsaSolidor an alternative using only the local network and iOS13 is to use the Files.app to connect to a SMB or WebDAV share on your machine.
smb://computername.local
(you might have to add a port if you run Samba in anything but the default one)Sadly, Apple doesn't show the connect to server thing on the screen we invoke for the file imports. Fingers crossed this changes some day.
Just started using BookPlayer, and I'm throwing my vote in for wanting the transfer via wifi in a browser thing :+1: Keep up the great work, and enjoy the coffee <3
This app has a very similar feature that we can look for inspiration. I can begin testing this out if someone wants to help! https://apps.apple.com/us/app/audiobook-player-smartbook/id1228166161
That player uses the GDCWebServer I mentioned earlier. Testing is not an issue here, we just need time or someone to step in and design and implement this so it fits well into BookPlayer.
So the major bottleneck is just seamless design into the BookPlayer app?
No, the major bottleneck is someone writing the actual code. Keep in mind, this is a hobby project and we work on this at our own pace.
How about providing an option to import from an URL, that way the file can be placed on a web server on the computer and it can be imported into the app using URL to the file.
There already is an option to import via the bookplayer://
interface.
Aside that we can't expect every user to know how to run or setup their own web server. The goal for BookPlayer is to have the best and easiest way to enjoy audiobooks and given how many of our users are not on Macs like us maintainers, we must face the reality of a rather diverse ecosystem and should provide this in the easiest way we can.
There was some progress on this, I did implement a barebones upload page, but the required dependencies are too big so I'm looking into smaller frontend options. It would be weird to have an uploader page that is about the same size as the rest of the app. It would also be weird if it requires manual refresh and doesn't support drag & drop. Either is possible and makes the experience much better.
There already is an option to import via the
bookplayer://
interface.Aside that we can't expect every user to know how to run or setup their own web server. The goal for BookPlayer is to have the best and easiest way to enjoy audiobooks and given how many of our users are not on Macs like us maintainers, we must face the reality of a rather diverse ecosystem and should provide this in the easiest way we can.
There was some progress on this, I did implement a barebones upload page, but the required dependencies are too big so I'm looking into smaller frontend options. It would be weird to have an uploader page that is about the same size as the rest of the app. It would also be weird if it requires manual refresh and doesn't support drag & drop. Either is possible and makes the experience much better.
I’ve written a small react front end up to upload files that supports drag and drop using react. It’s about 200kB in total… is that too large? This is what the server inside the app would serve; I’m more than happy to help with this component, but have no idea how to integrate with a mobile app
There already is an option to import via the
bookplayer://
interface.
Ah, found the URL scheme for importing from an URL. That would do for me. Thank you.
For future reference, there's an entry in the wiki 👌 link
For further reference, this is the current mockup for this feature:
These are additional states for the drop area:
The coloring is done in a way that allows for very smooth CSS transitions and the gradients used will show up in other places of the next UI iteration as well.
Add the ability to upload audio books to BookPlayer through a web browser on another computer, similar to how Infuse Player allows this by creating a web server which can be navigated to on another computer and media files transferred.
The motiviation being wireless transfer of files without the use of the internet, especially on older (Mac < 2012) hardware which does not support the current standard for AirDrop