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.

185 lines
6.5 KiB

  1. # Changelog
  2. ## v0.12.2
  3. ### Fix
  4. - Adjust dependencies version, as `oauthlib` and `request-oauthlib` are incompatible with peertube process in their new versions
  5. - Add `pytz` as explicit dependency since the previous unexplicit dependancy now install `pytz-deprecation-shim` - which does not work
  6. - Remove peertube-mirror link as it's now (unfortunately) a dead project (fix #63)
  7. ## v0.12.1
  8. ### Fix
  9. - Fix an error when setting log level in configuration
  10. ## v0.12.0
  11. ### Features
  12. - Add `--heartbeat` option to send request to youtube API, avoiding youtube to disabling you API account if you do not upload video often (Thanks @Zykino see #54)
  13. - Rework and improve genconfig process to avoid erasing existing configuration and make it more easy to use
  14. - Add a `prismedia-init` script when installing prismedia to easily generate basic configuration (see #55)
  15. - Update multiple dependencies used for prismedia as they were very old.
  16. - Add auto search for thumbnail in `.png` in addition to `.jpg` and `.jepg`.
  17. ### Fixes
  18. - Add pagination for youtube playlist to search for all user playlists (Thanks @Zykino)
  19. - Remove file format check for both videos and thumbnail as Youtube and Peertube now accepts more than .mp4 and .jpg (see #60)
  20. ## v0.11.0
  21. ### Features
  22. - Add the configuration of Original date of Record for Youtube and Peertube (see #50)
  23. - Add a progress bar when uploading on Peertube (Thanks @Zykino, see #52)
  24. ## v0.10.3
  25. ### Fix
  26. - Fix the pagination for Peertube playlist, as index begins at 0, not 1
  27. ## v0.10.2
  28. ### Fixes
  29. - Fix a typo in log (missing space when displaying thumbnail) (see #49)
  30. - Add pagination when searching playlist in Peertube as default pagination show only 14 playlists (see #41)
  31. - Add a check to avoid uploading video on Peertube with more than 5 tags (see #48)
  32. - Revert the workaround for Youtube playlist bug now the bug is fixed by Youtube (see #47)
  33. ## v0.10.1
  34. ### Fix
  35. - Fix a bug introduced with v0.10.0 that broke thumbnail on youtube upload.
  36. ## v0.10.0
  37. ### Features
  38. - Add the possibility to specify strict checks option to never forgot parameters when uploading (see #36)
  39. - Improve logging system, add options for batch upload and print url-only in the stdout (see #29)
  40. - --debug option is now deprecated in favor of --log=debug
  41. ### Fixes
  42. - Workaround against the Youtube API breakdown while adding video in playlist. See #47 for details. Should be removed once Google fix their bugs.
  43. ## v0.9.1
  44. ### Features
  45. - Possibility to bypass the MIME check for .mp4 when the user is sure of its video (#46 , thanks to @zykino)
  46. - Now **available with pip** for installation! (See the README for doc)
  47. ## v0.9.0
  48. ### Upgrade from v0.8.0
  49. Now using [poetry](https://python-poetry.org/) for packaging and installing! It's easier to maintain and publish package, but means changes when using prismedia from command line.
  50. **Using poetry** (recommanded)
  51. - [install poetry](https://python-poetry.org/docs/#installation)
  52. - git pull the repo
  53. - install prismedia:
  54. ```bash
  55. poetry install
  56. ```
  57. - use prismedia from the command line directly from your path:
  58. ```bash
  59. prismedia -h
  60. ```
  61. **From source**
  62. Prismedia is now seen as a python module, so you need to use `python -m prismedia` instead of `./prismedia_upload.py`.
  63. Once you have pulled the new v0.9.0, you may update by using:
  64. ```
  65. pip install -r requirements.txt
  66. # Then use prismedia through python command line:
  67. python -m prismedia -h
  68. ```
  69. ### Features
  70. - Prismedia now uses [poetry](https://python-poetry.org) to allow easier installation usage and build, see the README (fix #34)
  71. - Add two new options to schedule video by platform. You may now use youtubeAt and peertubeAt to prepare previews (fix #43)
  72. - Enhance the NFO system to allow a hierarchical loading of multiple NFO, with priorities. See README and [prismedia/samples](prismedia/samples) for details (fix #11)
  73. ## v0.8.0
  74. ### Breaking changes
  75. Now work with python 3! Support of python 2 is no longer available.
  76. You should now use python 3 in order to use prismedia
  77. ### Features
  78. - Add a requirements.txt file to make installing requirement easier.
  79. - Add a debug option to show some infos before uploading (thanks to @zykino)
  80. - Now uploading to Peertube before Youtube (thanks to @zykino)
  81. ## v0.7.1
  82. ### Fixes
  83. Fix bug #42 , crash on Peertube when video has only one tag
  84. ## v0.7.0
  85. ### Features
  86. Support Peertube channel additionally with playlist for Peertube!
  87. Peertube only as channel are Peertube's feature. See #40 for details.
  88. ### Fixes
  89. - Best uses of special chars in videoname, channel name and playlist name
  90. - Some fixes in logging message for better lisibility
  91. - Readme features list improved for better lisibility
  92. ## v0.6.4
  93. ### Fixes
  94. - Fix #33, no more trying to add a video into a playlist when the playlist does not exist on Youtube
  95. - fix #39, patch the playlist name check when playlist contains special chars
  96. ## v0.6.3
  97. ### Fixes
  98. Fix Critical bug #38 that prevent upload when creating playlists on Peertube, as public playlist need a non-null channel_id.
  99. ## v0.6.2
  100. **Warning**: your Peertube instance should be at least in v1.3.0 to use this new functionality.
  101. ### Features
  102. New feature, the Peertube playlists are now supported!
  103. We do not use channel in place of playlist anymore.
  104. ## v0.6.1-1 Hotfix
  105. This fix prepares the python3 compatibility.
  106. **Warning** you need a new prerequisites: python-unidecode
  107. - Remove mastodon tags (mt) options as it's deprecated. Compatibility between Peertube and Mastodon is complete.
  108. - Simplify python2 specific functions
  109. ## v0.6.1
  110. ### Fixes
  111. - fix an error when playlists on Peertube have same names but not same display names (issue #20)
  112. - fix an error where videos does not upload on Peertube when some characters are used in playlist(issue #19)
  113. ## v0.6
  114. ### Compatibility ###
  115. **Beware**, the first launch of prismedia for youtube will reask for credentials, this is needed for playlists.
  116. This release is fully compatible with Peertube v1.0.0!
  117. ### Features
  118. - Add the possibility to upload thumbnail.
  119. - Add the possibility to configure playlist. (thanks @zykino for Peertube part)
  120. - Use the API instead of external binaries for publishAt for both Peertube and Youtube. (thanks @zykino)
  121. - Use the console option to authenticate against youtube for easier use with ssh'ed servers
  122. - Add -f as an alias for --file for easier upload.
  123. ## v0.5
  124. ### Features
  125. - plan your Peertube videos! Stable release
  126. - Support for Peertube beta4
  127. - More examples in NFO
  128. - Better support for multilines descriptions
  129. ### Fixes
  130. - Display datetime for output
  131. - plan video only if upload is successful