Skip to content

Commit

Permalink
Remove ngrok dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Jan 9, 2024
1 parent 9d2b55c commit 6d5f295
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 169 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ if __name__ == '__main__':
- **WEBSITE**: Website to add to CORS configuration. _Required only if tunneled via CDN_
- **AUTO_THUMBNAIL**: Boolean flag to auto generate thumbnail images for preview. Defaults to `True`
- **SCAN_INTERVAL**: Interval in seconds to scan `VIDEO_SOURCE` in the background. Defaults traditional scan at run time.
- **NGROK_TOKEN**: Ngrok token to initiate tunneling via public endpoint.
> :bulb:   When `SCAN_INTERVAL` is set to `None`, `VIDEO_SOURCE` will be scanned in real time whenever the user
> loads the landing page. Setting a `SCAN_INTERVAL` will scan the `VIDEO_SOURCE` in background and reduce runtime
> delays in case of complex directory structure.
Expand Down
7 changes: 0 additions & 7 deletions doc_gen/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ Images
:members:
:undoc-members:

Ngrok
=====

.. automodule:: pystream.models.ngrok
:members:
:undoc-members:

Scheduler
=========

Expand Down
1 change: 0 additions & 1 deletion docs/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ <h3>Env Variables<a class="headerlink" href="#env-variables" title="Permalink to
<li><p><strong>WEBSITE</strong>: Website to add to CORS configuration. <em>Required only if tunneled via CDN</em></p></li>
<li><p><strong>AUTO_THUMBNAIL</strong>: Boolean flag to auto generate thumbnail images for preview. Defaults to <code class="docutils literal notranslate"><span class="pre">True</span></code></p></li>
<li><p><strong>SCAN_INTERVAL</strong>: Interval in seconds to scan <code class="docutils literal notranslate"><span class="pre">VIDEO_SOURCE</span></code> in the background. Defaults traditional scan at run time.</p></li>
<li><p><strong>NGROK_TOKEN</strong>: Ngrok token to initiate tunneling via public endpoint.</p></li>
</ul>
<blockquote>
<div><p>:bulb:   When <code class="docutils literal notranslate"><span class="pre">SCAN_INTERVAL</span></code> is set to <code class="docutils literal notranslate"><span class="pre">None</span></code>, <code class="docutils literal notranslate"><span class="pre">VIDEO_SOURCE</span></code> will be scanned in real time whenever the user
Expand Down
1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ if __name__ == '__main__':
- **WEBSITE**: Website to add to CORS configuration. _Required only if tunneled via CDN_
- **AUTO_THUMBNAIL**: Boolean flag to auto generate thumbnail images for preview. Defaults to `True`
- **SCAN_INTERVAL**: Interval in seconds to scan `VIDEO_SOURCE` in the background. Defaults traditional scan at run time.
- **NGROK_TOKEN**: Ngrok token to initiate tunneling via public endpoint.
> :bulb: &nbsp; When `SCAN_INTERVAL` is set to `None`, `VIDEO_SOURCE` will be scanned in real time whenever the user
> loads the landing page. Setting a `SCAN_INTERVAL` will scan the `VIDEO_SOURCE` in background and reduce runtime
> delays in case of complex directory structure.
Expand Down
1 change: 0 additions & 1 deletion docs/_sources/README.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ if __name__ == '__main__':
- **WEBSITE**: Website to add to CORS configuration. _Required only if tunneled via CDN_
- **AUTO_THUMBNAIL**: Boolean flag to auto generate thumbnail images for preview. Defaults to `True`
- **SCAN_INTERVAL**: Interval in seconds to scan `VIDEO_SOURCE` in the background. Defaults traditional scan at run time.
- **NGROK_TOKEN**: Ngrok token to initiate tunneling via public endpoint.
> :bulb: &nbsp; When `SCAN_INTERVAL` is set to `None`, `VIDEO_SOURCE` will be scanned in real time whenever the user
> loads the landing page. Setting a `SCAN_INTERVAL` will scan the `VIDEO_SOURCE` in background and reduce runtime
> delays in case of complex directory structure.
Expand Down
7 changes: 0 additions & 7 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ Images
:members:
:undoc-members:

Ngrok
=====

.. automodule:: pystream.models.ngrok
:members:
:undoc-members:

Scheduler
=========

Expand Down
21 changes: 2 additions & 19 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ <h2 id="G">G</h2>
<li><a href="index.html#pystream.utils.get_public_ip">get_public_ip() (in module pystream.utils)</a>
</li>
<li><a href="index.html#pystream.models.stream.get_range_header">get_range_header() (in module pystream.models.stream)</a>
</li>
<li><a href="index.html#pystream.models.ngrok.get_tunnel">get_tunnel() (in module pystream.models.ngrok)</a>
</li>
<li><a href="index.html#pystream.models.images.Images.get_video_length">get_video_length() (pystream.models.images.Images method)</a>
</li>
Expand Down Expand Up @@ -213,8 +211,6 @@ <h2 id="M">M</h2>
<li><a href="index.html#module-pystream.models.config">pystream.models.config</a>
</li>
<li><a href="index.html#module-pystream.models.images">pystream.models.images</a>
</li>
<li><a href="index.html#module-pystream.models.ngrok">pystream.models.ngrok</a>
</li>
<li><a href="index.html#module-pystream.models.scheduler">pystream.models.scheduler</a>
</li>
Expand All @@ -238,10 +234,6 @@ <h2 id="N">N</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#pystream.models.squire.natural_sort_key">natural_sort_key() (in module pystream.models.squire)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#pystream.models.config.EnvConfig.ngrok_token">ngrok_token (pystream.models.config.EnvConfig attribute)</a>
</li>
</ul></td>
</tr></table>
Expand Down Expand Up @@ -290,13 +282,6 @@ <h2 id="P">P</h2>

<ul>
<li><a href="index.html#module-pystream.models.images">module</a>
</li>
</ul></li>
<li>
pystream.models.ngrok

<ul>
<li><a href="index.html#module-pystream.models.ngrok">module</a>
</li>
</ul></li>
</ul></td>
Expand Down Expand Up @@ -367,16 +352,14 @@ <h2 id="R">R</h2>
<li><a href="index.html#pystream.models.stream.range_requests_response">range_requests_response() (in module pystream.models.stream)</a>
</li>
<li><a href="index.html#pystream.models.squire.remove_thumbnail">remove_thumbnail() (in module pystream.models.squire)</a>
</li>
<li><a href="index.html#pystream.models.scheduler.RepeatedTimer">RepeatedTimer (class in pystream.models.scheduler)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#pystream.models.scheduler.RepeatedTimer">RepeatedTimer (class in pystream.models.scheduler)</a>
</li>
<li><a href="index.html#pystream.routers.basics.root">root() (in module pystream.routers.basics)</a>
</li>
<li><a href="index.html#pystream.logger.RootFilter">RootFilter (class in pystream.logger)</a>
</li>
<li><a href="index.html#pystream.models.ngrok.run_tunnel">run_tunnel() (in module pystream.models.ngrok)</a>
</li>
</ul></td>
</tr></table>
Expand Down
Loading

0 comments on commit 6d5f295

Please sign in to comment.