Skip to main content

syncs youtube for offline play

Project description

youtube-sync

Syncs up your youtube or other channels data to the hard drive. A library.json file will be created to track which videos have already been found. It will download any missing files.

Docker Setup

You will need to have config.json embedded at the root of the container. Render.com makes this easy with a secret file.

If you do not have the ability to inject a file at the root, stash your json as a one liner into env variable "YOUTUBE_SYNC_CONFIG_JSON"

Config.json

This configuration holds the rclone configuration as well as the channel setup and destination root. There is no type checking for the rclone section, instead just list the key value pairs as shown below.

{
    "output": "dst:Bucket/root/path",
    "rclone": {
        "dst": {
            "type": "b2",
            "account": "****",
            "key": "****"
        }
    },
    "channels": [
        {
            "name": "RonGibson",
            "source": "brighteon",
            "channel_id": "rongibsonchannel"
        },
        {
            "name": "TheDuran",
            "source": "youtube",
            "channel_id": "@theduran"
        }
    ]
}

In this case the files will be outputted to

  • RonGibson -> dst:path/to/RonGibson/brighteon/*
  • TheDuran -> dst:path/to/TheDuran/youtube/*

Each output directory will have one library.json file an multiple mp3 files.

PO Token TODO:

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youtube_sync-1.2.60-py3-none-any.whl (51.8 kB view details)

Uploaded Python 3

File details

Details for the file youtube_sync-1.2.60-py3-none-any.whl.

File metadata

  • Download URL: youtube_sync-1.2.60-py3-none-any.whl
  • Upload date:
  • Size: 51.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for youtube_sync-1.2.60-py3-none-any.whl
Algorithm Hash digest
SHA256 92f163dd4ff1ad100a29fc5c9cf8c0e824c681afb455077a1cc1cd7fbcdd48e8
MD5 4232445d0ca3cd73d7d242b067395a47
BLAKE2b-256 713d3c8c83272d8e7fdf593f93bb0d34fb9b78236c4a37e350ed638494a23c55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page