Created
January 22, 2021 16:56
-
-
Save JonasGroeger/9ea1eacb03ad81472ca02285cb603ea7 to your computer and use it in GitHub Desktop.
Upload to VLC on mobile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# iOS: https://apps.apple.com/de/app/vlc-for-mobile/id650377962 | |
# Usage | |
# 1. Put into Scope (.bashrc or equivalent) | |
# 2. Enable "Sharing via WiFi" in VLC | |
# 3. $ upload2vlc 192.168.178.84 test.mp3 | |
upload2vlc() { | |
local UPLOAD_HOST="$1" | |
local UPLOAD_FILE="$2" | |
curl --silent --output /dev/null --show-error -F files=@"$UPLOAD_FILE" "$UPLOAD_HOST/upload.json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment