Scripting way to upload videos to peertube and youtube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4.1 KiB




  • Possibility to bypass the MIME check for .mp4 when the user is sure of its video (#46 , thanks to @zykino)
  • Now available with pip for installation! (See the README for doc)


Upgrade from v0.8.0

Now using poetry for packaging and installing! It's easier to maintain and publish package, but means changes when using prismedia from command line.

Using poetry (recommanded)

poetry install
  • use prismedia from the command line directly from your path:
prismedia -h

From source
Prismedia is now seen as a python module, so you need to use python -m prismedia instead of ./
Once you have pulled the new v0.9.0, you may update by using:

pip install -r requirements.txt
# Then use prismedia through python command line:
python -m prismedia -h


  • Prismedia now uses poetry to allow easier installation usage and build, see the README (fix #34)
  • Add two new options to schedule video by platform. You may now use youtubeAt and peertubeAt to prepare previews (fix #43)
  • Enhance the NFO system to allow a hierarchical loading of multiple NFO, with priorities. See README and prismedia/samples for details (fix #11)


Breaking changes

Now work with python 3! Support of python 2 is no longer available.
You should now use python 3 in order to use prismedia


  • Add a requirements.txt file to make installing requirement easier.
  • Add a debug option to show some infos before uploading (thanks to @zykino)
  • Now uploading to Peertube before Youtube (thanks to @zykino)



Fix bug #42 , crash on Peertube when video has only one tag



Support Peertube channel additionally with playlist for Peertube!
Peertube only as channel are Peertube's feature. See #40 for details.


  • Best uses of special chars in videoname, channel name and playlist name
  • Some fixes in logging message for better lisibility
  • Readme features list improved for better lisibility



  • Fix #33, no more trying to add a video into a playlist when the playlist does not exist on Youtube
  • fix #39, patch the playlist name check when playlist contains special chars



Fix Critical bug #38 that prevent upload when creating playlists on Peertube, as public playlist need a non-null channel_id.


Warning: your Peertube instance should be at least in v1.3.0 to use this new functionality.


New feature, the Peertube playlists are now supported! We do not use channel in place of playlist anymore.

v0.6.1-1 Hotfix

This fix prepares the python3 compatibility.
Warning you need a new prerequisites: python-unidecode

  • Remove mastodon tags (mt) options as it's deprecated. Compatibility between Peertube and Mastodon is complete.
  • Simplify python2 specific functions



  • fix an error when playlists on Peertube have same names but not same display names (issue #20)
  • fix an error where videos does not upload on Peertube when some characters are used in playlist(issue #19)



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!


  • 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.



  • plan your Peertube videos! Stable release
  • Support for Peertube beta4
  • More examples in NFO
  • Better support for multilines descriptions


  • Display datetime for output
  • plan video only if upload is successful