Added support to .divx and .ogm.
This commit is contained in:
parent
0a603b222f
commit
15e3f80b96
3
.gitignore
vendored
3
.gitignore
vendored
@ -16,3 +16,6 @@ renamelist.txt
|
||||
|
||||
# Python egg metadata, regenerated from source files by setuptools.
|
||||
/*.egg-info
|
||||
|
||||
/misc
|
||||
/tmp
|
||||
|
||||
1
TODO.md
1
TODO.md
@ -13,6 +13,7 @@ Project
|
||||
* Make proper raises
|
||||
* Document usable modules / imports
|
||||
* Filelist option
|
||||
* Add status during scans etc...
|
||||
|
||||
Modules
|
||||
-------
|
||||
|
||||
@ -30,6 +30,7 @@ The source code can be found on `GitHub <https://github.com/fabquenneville/Media
|
||||
:maxdepth: 1
|
||||
:caption: Release Notes:
|
||||
|
||||
releasenotes/0.0.8-changelog
|
||||
releasenotes/0.0.7-changelog
|
||||
releasenotes/0.0.6-changelog
|
||||
releasenotes/0.0.5-changelog
|
||||
|
||||
53
docs/_sources/releasenotes/0.0.8-changelog.rst.txt
Executable file
53
docs/_sources/releasenotes/0.0.8-changelog.rst.txt
Executable file
@ -0,0 +1,53 @@
|
||||
================================
|
||||
MediaCurator 0.0.7 Release Notes
|
||||
================================
|
||||
|
||||
Highlights
|
||||
==========
|
||||
|
||||
Added support to divx and ogm filetypes.
|
||||
|
||||
Dropped Support
|
||||
===============
|
||||
|
||||
Future Changes
|
||||
==============
|
||||
|
||||
* More filters
|
||||
* Test AV1 Support
|
||||
* Prepare API for GUI
|
||||
|
||||
Compatibility notes
|
||||
===================
|
||||
|
||||
Python Support
|
||||
--------------
|
||||
|
||||
Mediacurator has been tested on Python 3.7 - 3.9.7
|
||||
|
||||
FFMPEG Support
|
||||
--------------
|
||||
|
||||
Mediacurator has been tested to work with FFMPEG versions ranging from 4.1.6 to 4.4.1
|
||||
|
||||
OS Support
|
||||
----------
|
||||
|
||||
Mediacurator has been tested to work on various GNU/Linux distribution as well as Windows
|
||||
|
||||
New Features
|
||||
============
|
||||
|
||||
|
||||
|
||||
Improvements
|
||||
============
|
||||
|
||||
|
||||
Changes
|
||||
=======
|
||||
|
||||
|
||||
|
||||
Deprecations
|
||||
============
|
||||
@ -13,7 +13,7 @@ Synopsis
|
||||
.. code-block:: bash
|
||||
|
||||
mediacurator [list,convert] [-del]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm]
|
||||
[-filters:fferror,old,lowres,hd,720p,1080p,uhd,mpeg,mpeg4,x264,wmv3,wmv,vob]
|
||||
[-out:mkv/mp4,x265/av1]
|
||||
[-print:list,formated,verbose]
|
||||
@ -59,7 +59,7 @@ See :doc:`warnings`
|
||||
|
||||
-in:
|
||||
====
|
||||
[**any**,avi,mkv,wmv,mpg,mp4,m4v,flv,vid]
|
||||
[**any**,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm]
|
||||
|
||||
Search all videos of the selected container **extensions** in the directories. By default it will include any file format.
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ Quickstart
|
||||
.. code-block:: bash
|
||||
|
||||
mediacurator [list,convert] [-del]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm]
|
||||
[-filters:fferror,old,lowres,hd,720p,1080p,uhd,mpeg,mpeg4,x264,wmv3,wmv]
|
||||
[-out:mkv/mp4,x265/av1]
|
||||
[-print:list,formated,verbose]
|
||||
|
||||
@ -70,6 +70,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -80,6 +80,7 @@
|
||||
<div class="toctree-wrapper compound">
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
@ -120,6 +121,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
BIN
docs/objects.inv
BIN
docs/objects.inv
Binary file not shown.
@ -110,6 +110,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -112,6 +112,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -113,6 +113,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -116,6 +116,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="MediaCurator 0.0.6 Release Notes" href="0.0.6-changelog.html" />
|
||||
<link rel="prev" title="Errors" href="../usage/errors.html" />
|
||||
<link rel="prev" title="MediaCurator 0.0.7 Release Notes" href="0.0.8-changelog.html" />
|
||||
|
||||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
||||
|
||||
@ -112,6 +112,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
@ -123,7 +124,7 @@
|
||||
<h3>Related Topics</h3>
|
||||
<ul>
|
||||
<li><a href="../index.html">Documentation overview</a><ul>
|
||||
<li>Previous: <a href="../usage/errors.html" title="previous chapter">Errors</a></li>
|
||||
<li>Previous: <a href="0.0.8-changelog.html" title="previous chapter">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li>Next: <a href="0.0.6-changelog.html" title="next chapter">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
169
docs/releasenotes/0.0.8-changelog.html
Executable file
169
docs/releasenotes/0.0.8-changelog.html
Executable file
@ -0,0 +1,169 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>MediaCurator 0.0.7 Release Notes — MediaCurator documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
|
||||
<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
|
||||
<script src="../_static/jquery.js"></script>
|
||||
<script src="../_static/underscore.js"></script>
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/language_data.js"></script>
|
||||
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="MediaCurator 0.0.7 Release Notes" href="0.0.7-changelog.html" />
|
||||
<link rel="prev" title="Errors" href="../usage/errors.html" />
|
||||
|
||||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
||||
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||||
|
||||
</head><body>
|
||||
|
||||
|
||||
<div class="document">
|
||||
<div class="documentwrapper">
|
||||
<div class="bodywrapper">
|
||||
|
||||
|
||||
<div class="body" role="main">
|
||||
|
||||
<div class="section" id="mediacurator-0-0-7-release-notes">
|
||||
<h1>MediaCurator 0.0.7 Release Notes<a class="headerlink" href="#mediacurator-0-0-7-release-notes" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="section" id="highlights">
|
||||
<h2>Highlights<a class="headerlink" href="#highlights" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Added support to divx and ogm filetypes.</p>
|
||||
</div>
|
||||
<div class="section" id="dropped-support">
|
||||
<h2>Dropped Support<a class="headerlink" href="#dropped-support" title="Permalink to this headline">¶</a></h2>
|
||||
</div>
|
||||
<div class="section" id="future-changes">
|
||||
<h2>Future Changes<a class="headerlink" href="#future-changes" title="Permalink to this headline">¶</a></h2>
|
||||
<ul class="simple">
|
||||
<li><p>More filters</p></li>
|
||||
<li><p>Test AV1 Support</p></li>
|
||||
<li><p>Prepare API for GUI</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="compatibility-notes">
|
||||
<h2>Compatibility notes<a class="headerlink" href="#compatibility-notes" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="section" id="python-support">
|
||||
<h3>Python Support<a class="headerlink" href="#python-support" title="Permalink to this headline">¶</a></h3>
|
||||
<p>Mediacurator has been tested on Python 3.7 - 3.9.7</p>
|
||||
</div>
|
||||
<div class="section" id="ffmpeg-support">
|
||||
<h3>FFMPEG Support<a class="headerlink" href="#ffmpeg-support" title="Permalink to this headline">¶</a></h3>
|
||||
<p>Mediacurator has been tested to work with FFMPEG versions ranging from 4.1.6 to 4.4.1</p>
|
||||
</div>
|
||||
<div class="section" id="os-support">
|
||||
<h3>OS Support<a class="headerlink" href="#os-support" title="Permalink to this headline">¶</a></h3>
|
||||
<p>Mediacurator has been tested to work on various GNU/Linux distribution as well as Windows</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="new-features">
|
||||
<h2>New Features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h2>
|
||||
</div>
|
||||
<div class="section" id="improvements">
|
||||
<h2>Improvements<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h2>
|
||||
</div>
|
||||
<div class="section" id="changes">
|
||||
<h2>Changes<a class="headerlink" href="#changes" title="Permalink to this headline">¶</a></h2>
|
||||
</div>
|
||||
<div class="section" id="deprecations">
|
||||
<h2>Deprecations<a class="headerlink" href="#deprecations" title="Permalink to this headline">¶</a></h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||||
<div class="sphinxsidebarwrapper">
|
||||
<p class="logo"><a href="../index.html">
|
||||
<img class="logo" src="../_static/mclogo4x.png" alt="Logo"/>
|
||||
</a></p>
|
||||
<h1 class="logo"><a href="../index.html">MediaCurator</a></h1>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>Navigation</h3>
|
||||
<p class="caption"><span class="caption-text">Usage:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../usage/warnings.html">Warnings</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../usage/installation.html">Installation</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../usage/quickstart.html">Quickstart</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../usage/manual.html">Manual</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../usage/use_cases.html">Use cases</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../usage/errors.html">Errors</a></li>
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.4-changelog.html">MediaCurator 0.0.4 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="0.0.1-changelog.html">MediaCurator 0.0.1 Release Notes</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="relations">
|
||||
<h3>Related Topics</h3>
|
||||
<ul>
|
||||
<li><a href="../index.html">Documentation overview</a><ul>
|
||||
<li>Previous: <a href="../usage/errors.html" title="previous chapter">Errors</a></li>
|
||||
<li>Next: <a href="0.0.7-changelog.html" title="next chapter">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3 id="searchlabel">Quick search</h3>
|
||||
<div class="searchformwrapper">
|
||||
<form class="search" action="../search.html" method="get">
|
||||
<input type="text" name="q" aria-labelledby="searchlabel" />
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script>$('#searchbox').show(0);</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
©2020, Fabrice Quenneville.
|
||||
|
||||
|
|
||||
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.3.1</a>
|
||||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
||||
|
||||
|
|
||||
<a href="../_sources/releasenotes/0.0.8-changelog.rst.txt"
|
||||
rel="nofollow">Page source</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -89,6 +89,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@
|
||||
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="MediaCurator 0.0.7 Release Notes" href="../releasenotes/0.0.7-changelog.html" />
|
||||
<link rel="next" title="MediaCurator 0.0.7 Release Notes" href="../releasenotes/0.0.8-changelog.html" />
|
||||
<link rel="prev" title="Use cases" href="use_cases.html" />
|
||||
|
||||
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
||||
@ -103,6 +103,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
@ -115,7 +116,7 @@
|
||||
<ul>
|
||||
<li><a href="../index.html">Documentation overview</a><ul>
|
||||
<li>Previous: <a href="use_cases.html" title="previous chapter">Use cases</a></li>
|
||||
<li>Next: <a href="../releasenotes/0.0.7-changelog.html" title="next chapter">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li>Next: <a href="../releasenotes/0.0.8-changelog.html" title="next chapter">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
<div class="section" id="synopsis">
|
||||
<h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>mediacurator <span class="o">[</span>list,convert<span class="o">]</span> <span class="o">[</span>-del<span class="o">]</span>
|
||||
<span class="o">[</span>-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid<span class="o">]</span>
|
||||
<span class="o">[</span>-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm<span class="o">]</span>
|
||||
<span class="o">[</span>-filters:fferror,old,lowres,hd,720p,1080p,uhd,mpeg,mpeg4,x264,wmv3,wmv,vob<span class="o">]</span>
|
||||
<span class="o">[</span>-out:mkv/mp4,x265/av1<span class="o">]</span>
|
||||
<span class="o">[</span>-print:list,formated,verbose<span class="o">]</span>
|
||||
@ -85,7 +85,7 @@
|
||||
</div>
|
||||
<div class="section" id="in">
|
||||
<h3>-in:<a class="headerlink" href="#in" title="Permalink to this headline">¶</a></h3>
|
||||
<p>[<strong>any</strong>,avi,mkv,wmv,mpg,mp4,m4v,flv,vid]</p>
|
||||
<p>[<strong>any</strong>,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm]</p>
|
||||
<p>Search all videos of the selected container <strong>extensions</strong> in the directories. By default it will include any file format.</p>
|
||||
</div>
|
||||
<div class="section" id="filters">
|
||||
@ -204,6 +204,7 @@ mediacurator convert -del -in:avi,mpg -print:formated,verbose -dirs:/mnt/media/
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
<div class="section" id="quickstart">
|
||||
<h1>Quickstart<a class="headerlink" href="#quickstart" title="Permalink to this headline">¶</a></h1>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>mediacurator <span class="o">[</span>list,convert<span class="o">]</span> <span class="o">[</span>-del<span class="o">]</span>
|
||||
<span class="o">[</span>-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid<span class="o">]</span>
|
||||
<span class="o">[</span>-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm<span class="o">]</span>
|
||||
<span class="o">[</span>-filters:fferror,old,lowres,hd,720p,1080p,uhd,mpeg,mpeg4,x264,wmv3,wmv<span class="o">]</span>
|
||||
<span class="o">[</span>-out:mkv/mp4,x265/av1<span class="o">]</span>
|
||||
<span class="o">[</span>-print:list,formated,verbose<span class="o">]</span>
|
||||
@ -95,6 +95,7 @@ mediacurator convert -del -in:avi,mpg -print:formated,verbose -dirs:/mnt/media/
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -147,6 +147,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
@ -94,6 +94,7 @@
|
||||
</ul>
|
||||
<p class="caption"><span class="caption-text">Release Notes:</span></p>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.8-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.7-changelog.html">MediaCurator 0.0.7 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.6-changelog.html">MediaCurator 0.0.6 Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../releasenotes/0.0.5-changelog.html">MediaCurator 0.0.5 Release Notes</a></li>
|
||||
|
||||
21
docsource/makedocs
Executable file
21
docsource/makedocs
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
source_path=$(readlink -f ../docs/)
|
||||
docs_path=$(readlink -f ../docs/)
|
||||
red='\033[0;31m'
|
||||
cyan='\033[0;36m'
|
||||
nc='\033[0m'
|
||||
|
||||
printf "${cyan}Cleaning${nc} docs and build directories.\n"
|
||||
find ../docs -mindepth 1 -delete
|
||||
find ./build -mindepth 1 -delete
|
||||
printf "${cyan}Generating${nc} sphinx build.\n"
|
||||
sphinx-build -b html source build
|
||||
printf "${cyan}Prepping${nc} for release.\n"
|
||||
cp -r ./build/* ../docs/
|
||||
touch ../docs/.nojekyll
|
||||
printf "${cyan}Cleaning${nc} up and setting proper permissions\n"
|
||||
chmod -R 777 ../docs/
|
||||
find ./build -mindepth 1 -delete
|
||||
printf "Documentation ${cyan}ready for release${nc} in: ${red}${docs_path}${nc}\n"
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
find ../docs -mindepth 1 -delete
|
||||
find ./build -mindepth 1 -delete
|
||||
sphinx-build -b html source build
|
||||
cp -r ./build/* ../docs/
|
||||
touch ../docs/.nojekyll
|
||||
chmod -R 777 ../docs/
|
||||
find ./build -mindepth 1 -delete
|
||||
@ -30,6 +30,7 @@ The source code can be found on `GitHub <https://github.com/fabquenneville/Media
|
||||
:maxdepth: 1
|
||||
:caption: Release Notes:
|
||||
|
||||
releasenotes/0.0.8-changelog
|
||||
releasenotes/0.0.7-changelog
|
||||
releasenotes/0.0.6-changelog
|
||||
releasenotes/0.0.5-changelog
|
||||
|
||||
53
docsource/source/releasenotes/0.0.8-changelog.rst
Executable file
53
docsource/source/releasenotes/0.0.8-changelog.rst
Executable file
@ -0,0 +1,53 @@
|
||||
================================
|
||||
MediaCurator 0.0.7 Release Notes
|
||||
================================
|
||||
|
||||
Highlights
|
||||
==========
|
||||
|
||||
Added support to divx and ogm filetypes.
|
||||
|
||||
Dropped Support
|
||||
===============
|
||||
|
||||
Future Changes
|
||||
==============
|
||||
|
||||
* More filters
|
||||
* Test AV1 Support
|
||||
* Prepare API for GUI
|
||||
|
||||
Compatibility notes
|
||||
===================
|
||||
|
||||
Python Support
|
||||
--------------
|
||||
|
||||
Mediacurator has been tested on Python 3.7 - 3.9.7
|
||||
|
||||
FFMPEG Support
|
||||
--------------
|
||||
|
||||
Mediacurator has been tested to work with FFMPEG versions ranging from 4.1.6 to 4.4.1
|
||||
|
||||
OS Support
|
||||
----------
|
||||
|
||||
Mediacurator has been tested to work on various GNU/Linux distribution as well as Windows
|
||||
|
||||
New Features
|
||||
============
|
||||
|
||||
|
||||
|
||||
Improvements
|
||||
============
|
||||
|
||||
|
||||
Changes
|
||||
=======
|
||||
|
||||
|
||||
|
||||
Deprecations
|
||||
============
|
||||
@ -13,7 +13,7 @@ Synopsis
|
||||
.. code-block:: bash
|
||||
|
||||
mediacurator [list,convert] [-del]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm]
|
||||
[-filters:fferror,old,lowres,hd,720p,1080p,uhd,mpeg,mpeg4,x264,wmv3,wmv,vob]
|
||||
[-out:mkv/mp4,x265/av1]
|
||||
[-print:list,formated,verbose]
|
||||
@ -59,7 +59,7 @@ See :doc:`warnings`
|
||||
|
||||
-in:
|
||||
====
|
||||
[**any**,avi,mkv,wmv,mpg,mp4,m4v,flv,vid]
|
||||
[**any**,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm]
|
||||
|
||||
Search all videos of the selected container **extensions** in the directories. By default it will include any file format.
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ Quickstart
|
||||
.. code-block:: bash
|
||||
|
||||
mediacurator [list,convert] [-del]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid]
|
||||
[-in:any,avi,mkv,wmv,mpg,mp4,m4v,flv,vid,divx,ogm]
|
||||
[-filters:fferror,old,lowres,hd,720p,1080p,uhd,mpeg,mpeg4,x264,wmv3,wmv]
|
||||
[-out:mkv/mp4,x265/av1]
|
||||
[-print:list,formated,verbose]
|
||||
|
||||
@ -93,6 +93,10 @@ class MediaLibrary():
|
||||
videolist += list(path.rglob("*.[vV][iI][dD]"))
|
||||
if "vob" in self.inputs or "any" in self.inputs or len(self.inputs) < 1:
|
||||
videolist += list(path.rglob("*.[vV][oO][bB]"))
|
||||
if "divx" in self.inputs or "any" in self.inputs or len(self.inputs) < 1:
|
||||
videolist += list(path.rglob("*.[dD][iI][vV][xX]"))
|
||||
if "ogm" in self.inputs or "any" in self.inputs or len(self.inputs) < 1:
|
||||
videolist += list(path.rglob("*.[oO][gG][mM]"))
|
||||
|
||||
# Remove folders
|
||||
videolist_tmp = videolist
|
||||
|
||||
@ -20,18 +20,19 @@ def load_arguments():
|
||||
arguments: A dictionary of lists of the options passed by the user
|
||||
'''
|
||||
arguments = {
|
||||
"directories":list(),
|
||||
"files":list(),
|
||||
"inputs":list(),
|
||||
"filters":list(),
|
||||
"outputs":list(),
|
||||
"printop":list(),
|
||||
"directories": list(),
|
||||
"files": list(),
|
||||
"inputs": list(),
|
||||
"filters": list(),
|
||||
"outputs": list(),
|
||||
"printop": list(),
|
||||
}
|
||||
|
||||
for arg in sys.argv:
|
||||
# Confirm with the user that he selected to delete found files
|
||||
if "-del" in arg:
|
||||
print(f"{colorama.Fore.YELLOW}WARNING: Delete option selected!{colorama.Fore.RESET}")
|
||||
print(
|
||||
f"{colorama.Fore.YELLOW}WARNING: Delete option selected!{colorama.Fore.RESET}")
|
||||
if not user_confirm(f"Are you sure you wish to delete all found results after selected operations are succesfull ? [Y/N] ?", color="yellow"):
|
||||
print(f"{colorama.Fore.GREEN}Exiting!{colorama.Fore.RESET}")
|
||||
exit()
|
||||
@ -61,7 +62,8 @@ def detect_ffmpeg():
|
||||
False : The failure of retreiving the version number
|
||||
'''
|
||||
try:
|
||||
txt = subprocess.check_output(['ffmpeg', '-version'], stderr=subprocess.STDOUT).decode()
|
||||
txt = subprocess.check_output(
|
||||
['ffmpeg', '-version'], stderr=subprocess.STDOUT).decode()
|
||||
if "ffmpeg version" in txt:
|
||||
# Strip the useless text and
|
||||
return txt.split(' ')[2]
|
||||
@ -69,6 +71,7 @@ def detect_ffmpeg():
|
||||
pass
|
||||
return False
|
||||
|
||||
|
||||
def user_confirm(question, color=False):
|
||||
'''Returns the user answer to a yes or no question
|
||||
|
||||
@ -79,20 +82,21 @@ def user_confirm(question, color=False):
|
||||
Bool : Positive or negative return to the user question
|
||||
'''
|
||||
if color == "yellow":
|
||||
print(f"{colorama.Fore.YELLOW}{question} {colorama.Fore.RESET}", end = '')
|
||||
print(f"{colorama.Fore.YELLOW}{question} {colorama.Fore.RESET}", end='')
|
||||
answer = input()
|
||||
elif color == "red":
|
||||
print(f"{colorama.Fore.RED}{question} {colorama.Fore.RESET}", end = '')
|
||||
print(f"{colorama.Fore.RED}{question} {colorama.Fore.RESET}", end='')
|
||||
answer = input()
|
||||
else:
|
||||
answer = input(f"{question} ")
|
||||
if answer.lower() in ["y","yes"]:
|
||||
if answer.lower() in ["y", "yes"]:
|
||||
return True
|
||||
elif answer.lower() in ["n","no"]:
|
||||
elif answer.lower() in ["n", "no"]:
|
||||
return False
|
||||
print("Please answer with yes (Y) or no (N)...")
|
||||
return user_confirm(question)
|
||||
|
||||
|
||||
def deletefile(filepath):
|
||||
'''Delete a file, Returns a boolean
|
||||
|
||||
@ -110,7 +114,8 @@ def deletefile(filepath):
|
||||
print(f"{colorama.Fore.GREEN}Successfully deleted {filepath}{colorama.Fore.RESET}")
|
||||
return True
|
||||
|
||||
def findfreename(filepath, attempt = 0):
|
||||
|
||||
def findfreename(filepath, attempt=0):
|
||||
''' Given a filepath it will try to find a free filename by appending to the name.
|
||||
First trying as passed in argument, then adding [HEVC] to the end and if all fail [HEVC](#).
|
||||
|
||||
@ -120,12 +125,9 @@ def findfreename(filepath, attempt = 0):
|
||||
Returns:
|
||||
filepath : The first free filepath we found
|
||||
'''
|
||||
|
||||
attempt += 1
|
||||
|
||||
filename = str(filepath)[:str(filepath).rindex(".")]
|
||||
extension = str(filepath)[str(filepath).rindex("."):]
|
||||
|
||||
hevcpath = filename + "[HEVC]" + extension
|
||||
copynumpath = filename + f"[HEVC]({attempt})" + extension
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user