- Usefull if you have no lvm
-
fallocate -l 1G /mnt/downloads.img
-
mkfs.xfs -f /mnt/test.img
version: '3.5' | |
networks: | |
default: | |
name: rclone | |
driver: "bridge" | |
services: | |
rclone: |
#!/bin/bash | |
####################################### | |
### NZBGET POST-PROCESSING SCRIPT ### | |
# Moves downloads to a configured location using rclone and load balances over | |
# multiple remotes | |
# | |
# | |
# NOTE: Requires sh, coreutils or busybox, screen and rclone. Remotes must be setup in rclone.conf. |
[Unit] | |
Description=rclone mount | |
AssertPathIsDirectory=/storage/rclone | |
After=network-online.service | |
Requires=network-online.service | |
Before=kodi.service | |
[Service] | |
Type=simple | |
ExecStart=/storage/bin/rclone rcd --rc-web-gui-no-open-browser \ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/npm/jsmpeg-player@3/build/jsmpeg-player.min.js"></script> | |
<script> | |
function testStream() { | |
var videoUrl = document.getElementById("myinput").value; | |
new JSMpeg.VideoElement('#videoWrapper', videoUrl); | |
} | |
</script> |
Creating New Line | |
To create a New line, we will call the following URL. | |
http://dns:port/api.php?action=user&sub=create | |
The above URL, accepts the POST action, and to create a new line we will have to specify some arguments in an array called user_data | |
Example Code: |