====== ADB ====== ===== Pair ===== * Developer Options -> ''[x]'' USB debugging * Developer Options -> Wireless debugging -> ''[x]'' Enabled * Developer Options -> Wireless debugging -> ''Pair device with pairing code'' adb pair '192.168.1.170:x' ===== Connect ===== * :!: Uses port from Wireless debugging page (not pairing page) adb connect '192.168.1.170:x' ====== Streams ====== ===== On-device ===== ==== Download Source ==== * https://github.com/iptv-org/iptv/commits/master/ cd ~ && rm -Rf '/tmp/iptv' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/iptv-org/iptv.git' '/tmp/iptv' ==== Custom ==== **** mkdir -p '/tmp/iptv/custom' && mv -f '/tmp/iptv/streams/us'*'.m3u' '/tmp/iptv/streams/uk'*'.m3u' '/tmp/iptv/streams/jp'*'.m3u' '/tmp/iptv/streams/cn'*'.m3u' '/tmp/iptv/custom' ==== Push ==== **** adb shell "mkdir -p '/sdcard/Streams'" && adb push '/tmp/iptv/custom/'* '/sdcard/Streams' && adb shell 'sync' ==== Clean-up ==== **** rm -Rf '/tmp/iptv' && adb disconnect && adb kill-server ===== NAS ===== * [[servers:linux:vsftpd|vsftpd]] ==== Download Source ==== * https://github.com/iptv-org/iptv/commits/master/ cd ~ && rm -Rf '/mnt/NAS1/Videos/Streams/IPTV/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/iptv-org/iptv.git' '/mnt/NAS1/Videos/Streams/IPTV/src' === Update === **** git -C '/mnt/NAS1/Videos/Streams/IPTV/src' reset --hard 'origin/master' && git -C '/mnt/NAS1/Videos/Streams/IPTV/src' pull origin 'master' --rebase ==== Custom ==== rm -f '/mnt/NAS1/Videos/Streams/IPTV/'*'.m3u' && mv -f '/mnt/NAS1/Videos/Streams/IPTV/src/streams/us'*'.m3u' '/mnt/NAS1/Videos/Streams/IPTV/src/streams/uk'*'.m3u' '/mnt/NAS1/Videos/Streams/IPTV/src/streams/jp'*'.m3u' '/mnt/NAS1/Videos/Streams/IPTV'