I wanted to have an easy way to have a podcast on my phone played on the jukebox (connected to the stereo, and the nice speakers).
The default music application in Android does not have any sharing options, so that's easy. To dismiss. Boo, Google!
I then tried the two file managers I have installed, and one of them offered to "Send" the file via a number of methods, email being one of them.
Great, I set up an email-address that unpacked attachments and transferred them to the jukebox - cool!
Except that the file wasn't attached. The filename was helpfully put in the subject line, but that was it. No cookie for you, OI File Manager!
Ok, maybe I can just write an email and attach the file - that should work, right? Wrong, the email-application says "File size too big", even for a very short podcast (less than 5 minutes). Bad Android!
Ok, time to be more creative. git-annex runs on Android. So I installed that, installed it on my desktop as well, and created a directory which is now shared between the phone and my desktop-machine. Finally I configured incron to transfer any new files in that directory to the jukebox (running a script I head previously created for that purpose).
And it works! Nicely even.
I do have to start git-annex on my phone, and then move files to the correct directory, which is a little more cumbersome than just choosing the non-existing "Share" option in the music-player, but it does beat walking to the desktop, connecting the phone to the usb wire, etc. etc.
The only thing I would like to have improved is transfer of multiple files - with the current setup I can transfer multiple files, but I'll only hear the last one, as each file will replace the previous one on the jukebox.
I knew my tiny contribution to the funding of git-annex assistant would pay off! Well, no, I didn't, but it did!