From 041a8fd722ade99bb77a6019f9e3e62e960b41e5 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Fri, 19 Oct 2018 14:48:52 +0200 Subject: [PATCH] Prepare documentation and changelog for release v0.6 --- CHANGELOG.md | 14 +++++++++++--- README.md | 14 ++++++-------- prismedia_upload.py | 2 +- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12e2a1e..b99f101 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ # Changelog -## v 0.? +## v 0.6 + +### Compatibility ### +**Beware**, the first launch of prismedia for youtube will reask for credentials, this is needed for playlists. + +This release is fully compatible with Peertube v1.0.0! ### Features - - Add the possibility to upload thumbnail - - Use the API instead of external binaries for publishAt (thanks @zykino) + - Add the possibility to upload thumbnail. + - Add the possibility to configure playlist. (thanks @zykino for Peertube part) + - Use the API instead of external binaries for publishAt for both Peertube and Youtube. (thanks @zykino) + - Use the console option to authenticate against youtube for easier use with ssh'ed servers + - Add -f as an alias for --file for easier upload. ## v0.5 diff --git a/README.md b/README.md index 189bb56..cd712e9 100644 --- a/README.md +++ b/README.md @@ -82,15 +82,8 @@ Use a NFO file to specify your video options: Use --help to get all available options: ``` -prismedia_upload - tool to upload videos to Peertube and Youtube - -Usage: - prismedia_upload.py --file= [options] - prismedia_upload.py --file= --tags=STRING [--mt options] - prismedia_upload.py -h | --help - prismedia_upload.py --version - Options: + -f, --file=STRING Path to the video file to upload in mp4 --name=NAME Name of the video to upload. (default to video filename) -d, --description=STRING Description of the video. (default: default description) -t, --tags=STRING Tags for the video. comma separated. @@ -113,9 +106,14 @@ Options: --publishAt=DATE Publish the video at the given DATE using local server timezone. DATE should be on the form YYYY-MM-DDThh:mm:ss eg: 2018-03-12T19:00:00 DATE should be in the future + For Peertube, requires the "atd" and "curl utilities installed on the system --thumbnail=STRING Path to a file to use as a thumbnail for the video. Supported types are jpg and jpeg. By default, prismedia search for an image based on video name followed by .jpg or .jpeg + --playlist=STRING Set the playlist to use for the video. Also known as Channel for Peertube. + If the playlist is not found, spawn an error except if --playlist-create is set. + --playlistCreate Create the playlist if not exists. (default do not create) + Only relevant if --playlist is set. -h --help Show this help. --version Show version. diff --git a/prismedia_upload.py b/prismedia_upload.py index c5cbb8e..c11f08b 100755 --- a/prismedia_upload.py +++ b/prismedia_upload.py @@ -94,7 +94,7 @@ except ImportError: 'see https://github.com/ahupp/python-magic\n') exit(1) -VERSION = "prismedia v0.5" +VERSION = "prismedia v0.6" VALID_PRIVACY_STATUSES = ('public', 'private', 'unlisted') VALID_CATEGORIES = (