Browse Source

rename project to prismedia, thanks to @rigelk for the idea!

develop
LecygneNoir 6 years ago
parent
commit
ac91e9b918
2 changed files with 29 additions and 13 deletions
  1. +24
    -8
      README.md
  2. +5
    -5
      prismedia_upload.py

+ 24
- 8
README.md View File

@ -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=<FILE> [options]
ptyt_upload.py -h | --help
ptyt_upload.py --version
Usage:
prismedia_upload.py --file=<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)

ptyt_upload.py → prismedia_upload.py View File

@ -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=<FILE> [options]
ptyt_upload.py -h | --help
ptyt_upload.py --version
prismedia_upload.py --file=<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",

Loading…
Cancel
Save