Browse Source

Update nfo and readme for the new channel feature for peertube

progress-youtube
LecygneNoir 4 years ago
parent
commit
aa81f13973
2 changed files with 11 additions and 7 deletions
  1. +6
    -4
      README.md
  2. +5
    -3
      nfo_example.txt

+ 6
- 4
README.md View File

@ -91,8 +91,6 @@ Options:
WARN: tags with space and special characters (!, ', ", ?, ...) WARN: tags with space and special characters (!, ', ", ?, ...)
are not supported by Mastodon to be published from Peertube are not supported by Mastodon to be published from Peertube
use mastodon compatibility below use mastodon compatibility below
--mt Force Mastodon compatibility for tags (drop every incompatible characters inside tags)
This option requires --tags
-c, --category=STRING Category for the videos, see below. (default: Films) -c, --category=STRING Category for the videos, see below. (default: Films)
--cca License should be CreativeCommon Attribution (affects Youtube upload only) --cca License should be CreativeCommon Attribution (affects Youtube upload only)
-p, --privacy=STRING Choose between public, unlisted or private. (default: private) -p, --privacy=STRING Choose between public, unlisted or private. (default: private)
@ -112,8 +110,12 @@ Options:
--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
--channel=STRING Set the channel to use for the video (Peertube only)
If the channel is not found, spawn an error except if --channelCreate is set.
--channelCreate Create the channel if not exists. (Peertube only, default do not create)
Only relevant if --channel is set.
--playlist=STRING Set the playlist to use for the video. Also known as Channel for Peertube. --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.
If the playlist is not found, spawn an error except if --playlistCreate is set.
--playlistCreate Create the playlist if not exists. (default do not create) --playlistCreate Create the playlist if not exists. (default do not create)
Only relevant if --playlist is set. Only relevant if --playlist is set.
-h --help Show this help. -h --help Show this help.
@ -153,7 +155,7 @@ Languages:
- [x] add videos to playlist - [x] add videos to playlist
- [x] create playlist - [x] create playlist
- [x] schedule your video with publishAt - [x] schedule your video with publishAt
- [ ] combine channel and playlist (Peertube only as channel is Peertube feature)
- [x] combine channel and playlist (Peertube only as channel is Peertube feature). See [issue 40](https://git.lecygnenoir.info/LecygneNoir/prismedia/issues/40 for detailed usage.
- [x] Use a config file (NFO) file to retrieve videos arguments - [x] Use a config file (NFO) file to retrieve videos arguments
- [x] Allow to choose peertube or youtube upload (to resume failed upload for example) - [x] Allow to choose peertube or youtube upload (to resume failed upload for example)
- [ ] 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

+ 5
- 3
nfo_example.txt View File

@ -16,10 +16,12 @@ category = Films
cca = True cca = True
privacy = private privacy = private
disable-comments = True disable-comments = True
thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail
playlist = My Test Playlist
#thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail
channel = CookingTest
channelCreate = True
playlist = Desserts Recipes playlist
playlistCreate = True playlistCreate = True
nsfw = True
nsfw = False
platform = youtube, peertube platform = youtube, peertube
language = French language = French
publishAt=2034-05-07T19:00:00 publishAt=2034-05-07T19:00:00

Loading…
Cancel
Save