Browse Source

Prepare documentation and changelog for release v0.6

master
LecygneNoir 5 years ago
parent
commit
041a8fd722
3 changed files with 18 additions and 12 deletions
  1. +11
    -3
      CHANGELOG.md
  2. +6
    -8
      README.md
  3. +1
    -1
      prismedia_upload.py

+ 11
- 3
CHANGELOG.md View File

@ -1,10 +1,18 @@
# Changelog # 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 ### 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 ## v0.5

+ 6
- 8
README.md View File

@ -82,15 +82,8 @@ Use a NFO file to specify your video options:
Use --help to get all available options: Use --help to get all available options:
``` ```
prismedia_upload - tool to upload videos to Peertube and Youtube
Usage:
prismedia_upload.py --file=<FILE> [options]
prismedia_upload.py --file=<FILE> --tags=STRING [--mt options]
prismedia_upload.py -h | --help
prismedia_upload.py --version
Options: 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) --name=NAME Name of the video to upload. (default to video filename)
-d, --description=STRING Description of the video. (default: default description) -d, --description=STRING Description of the video. (default: default description)
-t, --tags=STRING Tags for the video. comma separated. -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. --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 on the form YYYY-MM-DDThh:mm:ss eg: 2018-03-12T19:00:00
DATE should be in the future 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. --thumbnail=STRING Path to a file to use as a thumbnail for the video.
Supported types are jpg and jpeg. Supported types are jpg and jpeg.
By default, prismedia search for an image based on video name followed by .jpg or .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. -h --help Show this help.
--version Show version. --version Show version.

+ 1
- 1
prismedia_upload.py View File

@ -94,7 +94,7 @@ except ImportError:
'see https://github.com/ahupp/python-magic\n') 'see https://github.com/ahupp/python-magic\n')
exit(1) exit(1)
VERSION = "prismedia v0.5"
VERSION = "prismedia v0.6"
VALID_PRIVACY_STATUSES = ('public', 'private', 'unlisted') VALID_PRIVACY_STATUSES = ('public', 'private', 'unlisted')
VALID_CATEGORIES = ( VALID_CATEGORIES = (

Loading…
Cancel
Save