mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 09:29:16 +02:00
rename project to prismedia, thanks to @rigelk for the idea!
This commit is contained in:
parent
4c58f14cdf
commit
ac91e9b918
2 changed files with 29 additions and 13 deletions
30
README.md
30
README.md
|
@ -1,4 +1,4 @@
|
||||||
# ptyt_upload
|
# Prismedia
|
||||||
|
|
||||||
A scripting way to upload videos to peertube and youtube
|
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
|
Support only mp4 for cross compatibily between Youtube and Peertube
|
||||||
|
|
||||||
```
|
```
|
||||||
./ptyt_upload.py --help
|
./prismedia_upload.py -h
|
||||||
ptyt_upload - tool to upload videos to Peertube and Youtube
|
prismedia_upload - tool to upload videos to Peertube and Youtube
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
ptyt_upload.py --file=<FILE> [options]
|
prismedia_upload.py --file=<FILE> [options]
|
||||||
ptyt_upload.py -h | --help
|
prismedia_upload.py -h | --help
|
||||||
ptyt_upload.py --version
|
prismedia_upload.py --version
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--name=NAME Name of the video to upload. default to video file name
|
--name=NAME Name of the video to upload. default to video file name
|
||||||
-d, --description=STRING Description of the video.
|
-d, --description=STRING Description of the video.
|
||||||
-t, --tags=STRING Tags for the video. comma separated
|
-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.
|
-h --help Show this help.
|
||||||
--version Show version.
|
--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
|
## Features
|
||||||
|
|
||||||
- [x] Youtube upload
|
- [x] Youtube upload
|
||||||
- [x] Peertube 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
|
- [ ] 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
|
- [ ] 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)
|
- [ ] Usable on Desktop (Linux and/or Windows and/or MacOS)
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
"""
|
"""
|
||||||
ptyt_upload - tool to upload videos to Peertube and Youtube
|
prismedia_upload - tool to upload videos to Peertube and Youtube
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
ptyt_upload.py --file=<FILE> [options]
|
prismedia_upload.py --file=<FILE> [options]
|
||||||
ptyt_upload.py -h | --help
|
prismedia_upload.py -h | --help
|
||||||
ptyt_upload.py --version
|
prismedia_upload.py --version
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--name=NAME Name of the video to upload. default to video file name
|
--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'
|
' is installed, NOT the Python bindings to libmagic API \n'
|
||||||
'see https://github.com/ahupp/python-magic\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_PRIVACY_STATUSES = ('public', 'private', 'unlisted')
|
||||||
VALID_CATEGORIES = (
|
VALID_CATEGORIES = (
|
||||||
"music", "films", "vehicles",
|
"music", "films", "vehicles",
|
Loading…
Add table
Add a link
Reference in a new issue