Lurker News

Comments (731) 147 threads

Show all comments

Showing thread 32 of 147

_emacsomancer_1 reply#
Pushing music onto my phone. I have Termux installed, and can thus run `sshd` on Termux (I have ssh keys copied over), and then copy any music I want into a temporary directory on my desktop and use https://github.com/ehmry/dir2opus to convert everything to 96kbps opus and push it over using rsync and then cleanup the temporary directory:

`python2 ~/builds/dir2opus/dir2opus -a -b 96 --delete-input . -r && rsync -av --progress -e "ssh -p 8022" . 192.168.1.111:"/sdcard/Music/music-OPUS/" && rm ./* -rf #music`
Likewise audiobooks, but to 24kbps opus:
`python2 ~/builds/dir2opus/dir2opus -a -b 24 --delete-input . -r && rsync -av --progress -e "ssh -p 8022" . 192.168.1.111:"/sdcard/Audiobooks/" && rm ./* -rf #audiobooks`

rcMgD2BwE72F1 reply#
I installed Syncthing[0] on all my devices, and added youtube-dl folder that auto-sync my music as soon as I'm connected to my known networks. It's so easy I've stopped using any cloud things (except for emails).

[0] https://syncthing.net

_emacsomancer_#
I also use Syncthing on my mobile phone, but for actual syncing. The music stuff I'm converting from FLAC to opus, transferring to my mobile and then deleting the opus files from my computer.

I do use Syncthing to then sync the (opus) music from my mobile to my work desktop.