From ac91e9b918b1f5c25f72657dec04511ee65d3e44 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Fri, 9 Mar 2018 15:41:30 +0100 Subject: [PATCH] rename project to prismedia, thanks to @rigelk for the idea! --- README.md | 32 ++++++++++++++++++++------- ptyt_upload.py => prismedia_upload.py | 10 ++++----- 2 files changed, 29 insertions(+), 13 deletions(-) rename ptyt_upload.py => prismedia_upload.py (93%) diff --git a/README.md b/README.md index 6158c08..3b864aa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ptyt_upload +# Prismedia A scripting way to upload videos to peertube and youtube @@ -19,27 +19,43 @@ Currently in heavy development Support only mp4 for cross compatibily between Youtube and Peertube ``` -./ptyt_upload.py --help -ptyt_upload - tool to upload videos to Peertube and Youtube +./prismedia_upload.py -h +prismedia_upload - tool to upload videos to Peertube and Youtube -Usage: - ptyt_upload.py --file= [options] - ptyt_upload.py -h | --help - ptyt_upload.py --version +Usage: + prismedia_upload.py --file= [options] + prismedia_upload.py -h | --help + prismedia_upload.py --version Options: --name=NAME Name of the video to upload. default to video file name -d, --description=STRING Description of the video. -t, --tags=STRING Tags for the video. comma separated + -c, --category=STRING Category for the videos, see below. Default to films -h --help Show this help. --version Show version. + +Categories: + Category is the type of video you upload. Default is films. + Here are available categories from Peertube and Youtube: + music, films, vehicles, + sports, travels, gaming, people, + comedy, entertainment, news, + how to, education, activism, science & technology, + science, technology, animals + ``` ## Features - [x] Youtube upload - [x] Peertube upload -- [ ] Support of all videos arguments (description, tags, category, licence, ...) +- Support of all videos arguments (description, tags, category, licence, ...) + - [x] description + - [x] tags + - [x] categories + - [ ] licence + - [ ] thumbnail/preview - [ ] Use a config file (NFO) file to retrieve videos arguments - [ ] Record and forget: put the video in a directory, and the script uploads it for you - [ ] Usable on Desktop (Linux and/or Windows and/or MacOS) diff --git a/ptyt_upload.py b/prismedia_upload.py similarity index 93% rename from ptyt_upload.py rename to prismedia_upload.py index f5f6044..0fdedda 100755 --- a/ptyt_upload.py +++ b/prismedia_upload.py @@ -2,12 +2,12 @@ # coding: utf-8 """ -ptyt_upload - tool to upload videos to Peertube and Youtube +prismedia_upload - tool to upload videos to Peertube and Youtube Usage: - ptyt_upload.py --file= [options] - ptyt_upload.py -h | --help - ptyt_upload.py --version + prismedia_upload.py --file= [options] + prismedia_upload.py -h | --help + prismedia_upload.py --version Options: --name=NAME Name of the video to upload. default to video file name @@ -51,7 +51,7 @@ except ImportError: ' is installed, NOT the Python bindings to libmagic API \n' 'see https://github.com/ahupp/python-magic\n') -VERSION = "ptyt 0.2-alpha" +VERSION = "prismedia 0.2-alpha" VALID_PRIVACY_STATUSES = ('public', 'private', 'unlisted') VALID_CATEGORIES = ( "music", "films", "vehicles",