mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 01:19:15 +02:00
Merge branch 'release/v0.6' into develop
This commit is contained in:
commit
ce671dab8e
3 changed files with 18 additions and 12 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -1,10 +1,18 @@
|
|||
# Changelog
|
||||
|
||||
## v 0.?
|
||||
## v0.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
|
||||
|
||||
|
|
14
README.md
14
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=<FILE> [options]
|
||||
prismedia_upload.py --file=<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.
|
||||
|
||||
|
|
|
@ -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 = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue