mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 17:39:16 +02:00
Add a full set of samples to understand better who NFO works now
This commit is contained in:
parent
17017ae90c
commit
ef5d6b843a
5 changed files with 75 additions and 0 deletions
12
prismedia/samples/cli_nfo.txt
Normal file
12
prismedia/samples/cli_nfo.txt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
### This NFO is aimed to be passed to prismedia through the --nfo cli option ###
|
||||||
|
### eg:
|
||||||
|
### python -m prismedia --file=/path/to/yourvideo.mp4 --nfo=/path/to/cli_nfo.txt ###
|
||||||
|
### It's the more priority NFO, only erased by direct cli options ###
|
||||||
|
[video]
|
||||||
|
disable-comments = False
|
||||||
|
nsfw = True
|
||||||
|
# Publish on Peertube at a specific date
|
||||||
|
peertubeAt = 2034-05-14T19:00:00
|
||||||
|
platform = peertube
|
||||||
|
# debug to display all loaded options
|
||||||
|
debug = True
|
26
prismedia/samples/full_nfo_examples.txt
Normal file
26
prismedia/samples/full_nfo_examples.txt
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
### This NFO example show how to construct a NFO for your video ###
|
||||||
|
### All fields are optionals, but you need at least one field (otherwise NFO is useless :-p) ###
|
||||||
|
### See --help for options explanation
|
||||||
|
[video]
|
||||||
|
name = videoname
|
||||||
|
description = Your complete video description
|
||||||
|
Multilines description
|
||||||
|
should be wrote with a blank space
|
||||||
|
at the beginning of the line :-)
|
||||||
|
tags = list of tags, comma separated
|
||||||
|
category = Films
|
||||||
|
cca = True
|
||||||
|
privacy = private
|
||||||
|
disable-comments = True
|
||||||
|
#thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail
|
||||||
|
channel = CookingTest
|
||||||
|
channelCreate = True
|
||||||
|
playlist = Desserts Recipes playlist
|
||||||
|
playlistCreate = True
|
||||||
|
nsfw = False
|
||||||
|
platform = youtube, peertube
|
||||||
|
language = French
|
||||||
|
publishAt = 2034-05-07T19:00:00
|
||||||
|
# platformAt overrides the default publishAt for the corresponding platform
|
||||||
|
#peertubeAt = 2034-05-14T19:00:00
|
||||||
|
#youtubeAt = 2034-05-21T19:00:00
|
9
prismedia/samples/nfo.txt
Normal file
9
prismedia/samples/nfo.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
### This NFO is named nfo.txt and is stored in the directory of your videos ###
|
||||||
|
### This is the less priority NFO, you may use it to set default generic options ###
|
||||||
|
[video]
|
||||||
|
# Some generic options for your videos
|
||||||
|
cca = True
|
||||||
|
privacy = private
|
||||||
|
disable-comments = True
|
||||||
|
channel = DefaultChannel
|
||||||
|
channelCreate = True
|
14
prismedia/samples/samples.txt
Normal file
14
prismedia/samples/samples.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
### This NFO is named from the directory where your video are. ###
|
||||||
|
### While more specific than nfo.txt, it's less priority than other NFO ###
|
||||||
|
### You may use it for options specific to videos in this directory, but still globals ###
|
||||||
|
[video]
|
||||||
|
channel = MyMoreSpecificChannel
|
||||||
|
disable-comments = False
|
||||||
|
channelCreate = True
|
||||||
|
category = Films
|
||||||
|
playlist = Desserts Recipes playlist
|
||||||
|
playlistCreate = True
|
||||||
|
nsfw = False
|
||||||
|
platform = youtube, peertube
|
||||||
|
language = French
|
||||||
|
tags = list of tags, comma separated
|
14
prismedia/samples/yourvideo.txt
Normal file
14
prismedia/samples/yourvideo.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
### This NFO is named from your video name (here let's say your video is named "yourvideo.mp4") ###
|
||||||
|
### It aims to give options specific to this videos ###
|
||||||
|
[video]
|
||||||
|
disable-comments = False
|
||||||
|
#thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail
|
||||||
|
name = videoname
|
||||||
|
description = Your complete video description
|
||||||
|
Multilines description
|
||||||
|
should be wrote with a blank space
|
||||||
|
at the beginning of the line :-)
|
||||||
|
publishAt = 2034-05-07T19:00:00
|
||||||
|
# platformAt overrides the default publishAt for the corresponding platform
|
||||||
|
#peertubeAt = 2034-05-14T19:00:00
|
||||||
|
#youtubeAt = 2034-05-21T19:00:00
|
Loading…
Add table
Add a link
Reference in a new issue