This commit is contained in:
Sarsoo 2021-06-12 13:00:38 +00:00
parent a7cd85b11b
commit ae03b4a981
42 changed files with 1456 additions and 508 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,18 +2,12 @@ Music Tools
=======================================
.. toctree::
:maxdepth: 1
:maxdepth: 2
:caption: Contents:
Modules <src/modules>
src/music
src/music.api
src/music.auth
src/music.cloud
src/music.db
src/music.model
src/music.tasks
src/MusicTools
Py <src/music>
Js <src/MusicTools>
All Modules <src/modules>
`Music Tools <https://music.sarsoo.xyz>`_
----------------------------------------------
@ -22,7 +16,7 @@ Music Tools
Music Tools is a web app for creating smart Spotify playlists. The app is based on `spotframework <https://github.com/Sarsoo/spotframework>`_ and `fmframework <https://github.com/Sarsoo/pyfmframework>`_ for interfacing with Spotify and Last.fm. The app is currently hosted on Google's Cloud Platform.
The system is composed of a Flask web server with a Fireo ORM layer and longer tasks dispatched to Cloud Tasks or Functions.
The backend is composed of a Flask web server with a Fireo ORM layer and longer tasks dispatched to Cloud Tasks or Functions. The frontend is a React app with material UI components and Axios for HTTP requests.
.. image:: Playlists.png

View File

@ -0,0 +1,34 @@
Admin
=================
Router
--------
.. js:autoclass:: Admin
:members:
:private-members:
Lock
------------------
.. js:autoclass:: Lock
:members:
:private-members:
.. js:autofunction:: Row
Functions
--------------------
.. js:autoclass:: Functions
:members:
:private-members:
Tasks
--------------------
.. js:autoclass:: Tasks
:members:
:private-members:
.. js:autofunction:: TaskType

View File

@ -0,0 +1,17 @@
Maths
=================
Bar Chart
-----------------
.. js:autoclass:: BarChart
:members:
:private-members:
Pie Chart
------------------
.. js:autoclass:: PieChart
:members:
:private-members:

View File

@ -1,6 +0,0 @@
MusicTools
=================
.. js:autoclass:: MusicTools
:members:
:private-members:

View File

@ -8,7 +8,13 @@ Router
:members:
:private-members:
Playlists List
For managing playlists list pages for diverting to new playlist page
.. js:autoclass:: PlaylistRouter.View
:members:
:private-members:
Cards List
------------------
.. js:autoclass:: PlaylistsView
@ -32,14 +38,7 @@ New Playlist Card
:members:
:private-members:
Playlist Router
------------------
.. js:autoclass:: PlaylistRouter.View
:members:
:private-members:
Playlist View
View/Edit Card
------------------
.. js:autoclass:: Edit
@ -52,7 +51,7 @@ Playlist View
.. js:autofunction:: Edit.BlockGridItem
Playlist Stats View
Stats Card
-----------------------
.. js:autoclass:: Count

View File

@ -0,0 +1,34 @@
Settings
=================
Router
--------
.. js:autoclass:: Settings
:members:
:private-members:
Change Password
------------------
.. js:autoclass:: ChangePassword
:members:
:private-members:
Spotify Link
------------------
.. js:autoclass:: SpotifyLink
:members:
:private-members:
.. js:autofunction:: AuthButton
.. js:autofunction:: DeAuthButton
Last.fm Username
------------------
.. js:autoclass:: LastFM
:members:
:private-members:

View File

@ -8,7 +8,7 @@ Router
:members:
:private-members:
Tags List
Cards List
------------------
.. js:autoclass:: TagList
@ -28,3 +28,10 @@ New Tag Card
:members:
:private-members:
View/Edit Tag
--------------------
.. js:autoclass:: TagView
:members:
:private-members:

View File

@ -1,13 +1,15 @@
Music Tools React
React Frontend
===================
Subpackages
-----------
.. toctree::
:maxdepth: 4
MusicTools.MusicTools
MusicTools.Playlist
MusicTools.Tag
MusicTools.Maths
MusicTools.Admin
MusicTools.Settings
.. js:autoclass:: MusicTools
:members:
:private-members:

View File

@ -1,5 +1,5 @@
music
=====
Music Tools Modules
======================
.. toctree::
:maxdepth: 4

View File

@ -1,8 +1,5 @@
music
=============
Subpackages
-----------
Flask Backend
====================
.. toctree::
:maxdepth: 4
@ -14,17 +11,14 @@ Subpackages
music.model
music.tasks
Module contents
---------------
music Root Module
------------------
.. automodule:: music
:members:
:undoc-members:
:show-inheritance:
music.music module
------------------
.. automodule:: music.music
:members:
:undoc-members:

View File

@ -35,9 +35,11 @@
<div class="genindex-jumpbox">
<a href="#A"><strong>A</strong></a>
| <a href="#B"><strong>B</strong></a>
| <a href="#C"><strong>C</strong></a>
| <a href="#D"><strong>D</strong></a>
| <a href="#E"><strong>E</strong></a>
| <a href="#F"><strong>F</strong></a>
| <a href="#G"><strong>G</strong></a>
| <a href="#I"><strong>I</strong></a>
| <a href="#L"><strong>L</strong></a>
@ -61,6 +63,10 @@
<li><a href="src/music.model.html#music.model.playlist.Playlist.add_last_month">add_last_month (music.model.playlist.Playlist attribute)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Playlist.add_this_month">add_this_month (music.model.playlist.Playlist attribute)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Admin">Admin() (class)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Admin.handleChange">Admin.handleChange() (Admin method)</a>
</li>
<li><a href="src/music.api.html#music.api.decorators.admin_required">admin_required() (in module music.api.decorators)</a>
</li>
@ -75,6 +81,22 @@
<li><a href="src/music.model.html#music.model.tag.Tag.artists">artists (music.model.tag.Tag attribute)</a>
</li>
<li><a href="src/music.auth.html#music.auth.auth.auth">auth() (in module music.auth.auth)</a>
</li>
<li><a href="src/MusicTools.Settings.html#AuthButton">AuthButton() (built-in function)</a>
</li>
</ul></td>
</tr></table>
<h2 id="B">B</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Maths.html#BarChart">BarChart() (class)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Maths.html#BarChart.componentDidMount">BarChart.componentDidMount() (BarChart method)</a>
</li>
<li><a href="src/MusicTools.Maths.html#BarChart.componentDidUpdate">BarChart.componentDidUpdate() (BarChart method)</a>
</li>
</ul></td>
</tr></table>
@ -83,6 +105,16 @@
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/music.api.html#music.api.api.change_password">change_password() (in module music.api.api)</a>
</li>
<li><a href="src/MusicTools.Settings.html#ChangePassword">ChangePassword() (class)</a>
</li>
<li><a href="src/MusicTools.Settings.html#ChangePassword.handleCurrentChange">ChangePassword.handleCurrentChange() (ChangePassword method)</a>
</li>
<li><a href="src/MusicTools.Settings.html#ChangePassword.handleNew2Change">ChangePassword.handleNew2Change() (ChangePassword method)</a>
</li>
<li><a href="src/MusicTools.Settings.html#ChangePassword.handleNewChange">ChangePassword.handleNewChange() (ChangePassword method)</a>
</li>
<li><a href="src/MusicTools.Settings.html#ChangePassword.handleSubmit">ChangePassword.handleSubmit() (ChangePassword method)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Playlist.chart_limit">chart_limit (music.model.playlist.Playlist attribute)</a>
</li>
@ -160,6 +192,8 @@
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Settings.html#DeAuthButton">DeAuthButton() (built-in function)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Sort.default">default (music.model.playlist.Sort attribute)</a>
</li>
<li><a href="src/music.api.html#music.api.tag.delete_tag">delete_tag() (in module music.api.tag)</a>
@ -211,6 +245,20 @@
</ul></td>
</tr></table>
<h2 id="F">F</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Admin.html#Functions">Functions() (class)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Admin.html#Functions.runAllUsers">Functions.runAllUsers() (Functions method)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Functions.runStats">Functions.runStats() (Functions method)</a>
</li>
</ul></td>
</tr></table>
<h2 id="G">G</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
@ -270,6 +318,14 @@
<li><a href="src/music.model.html#music.model.tag.Tag.last_updated">(music.model.tag.Tag attribute)</a>
</li>
</ul></li>
<li><a href="src/MusicTools.Settings.html#LastFM">LastFM() (class)</a>
</li>
<li><a href="src/MusicTools.Settings.html#LastFM.getUserInfo">LastFM.getUserInfo() (LastFM method)</a>
</li>
<li><a href="src/MusicTools.Settings.html#LastFM.handleChange">LastFM.handleChange() (LastFM method)</a>
</li>
<li><a href="src/MusicTools.Settings.html#LastFM.handleSubmit">LastFM.handleSubmit() (LastFM method)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Playlist.lastfm_stat_album_count">lastfm_stat_album_count (music.model.playlist.Playlist attribute)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Playlist.lastfm_stat_album_percent">lastfm_stat_album_percent (music.model.playlist.Playlist attribute)</a>
@ -289,6 +345,12 @@
<li><a href="src/music.model.html#music.model.user.User.lastfm_username">lastfm_username (music.model.user.User attribute)</a>
</li>
<li><a href="src/music.api.html#music.api.decorators.lastfm_username_required">lastfm_username_required() (in module music.api.decorators)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Lock">Lock() (class)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Lock.getUserInfo">Lock.getUserInfo() (Lock method)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Lock.handleLock">Lock.handleLock() (Lock method)</a>
</li>
<li><a href="src/music.model.html#music.model.user.User.locked">locked (music.model.user.User attribute)</a>
</li>
@ -574,15 +636,15 @@
<li><a href="src/music.tasks.html#module-music.tasks.update_tag">module</a>
</li>
</ul></li>
<li><a href="src/MusicTools.MusicTools.html#MusicTools">MusicTools() (class)</a>
<li><a href="src/MusicTools.html#MusicTools">MusicTools() (class)</a>
</li>
<li><a href="src/MusicTools.MusicTools.html#MusicTools.componentDidMount">MusicTools.componentDidMount() (MusicTools method)</a>
<li><a href="src/MusicTools.html#MusicTools.componentDidMount">MusicTools.componentDidMount() (MusicTools method)</a>
</li>
<li><a href="src/MusicTools.MusicTools.html#MusicTools.componentWillUnmount">MusicTools.componentWillUnmount() (MusicTools method)</a>
<li><a href="src/MusicTools.html#MusicTools.componentWillUnmount">MusicTools.componentWillUnmount() (MusicTools method)</a>
</li>
<li><a href="src/MusicTools.MusicTools.html#MusicTools.getUserInfo">MusicTools.getUserInfo() (MusicTools method)</a>
<li><a href="src/MusicTools.html#MusicTools.getUserInfo">MusicTools.getUserInfo() (MusicTools method)</a>
</li>
<li><a href="src/MusicTools.MusicTools.html#MusicTools.setOpen">MusicTools.setOpen() (MusicTools method)</a>
<li><a href="src/MusicTools.html#MusicTools.setOpen">MusicTools.setOpen() (MusicTools method)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Playlist.mutable_keys">mutable_keys (music.model.playlist.Playlist attribute)</a>
</li>
@ -637,6 +699,12 @@
<li><a href="src/music.model.html#music.model.playlist.Playlist.parts">parts (music.model.playlist.Playlist attribute)</a>
</li>
<li><a href="src/music.model.html#music.model.user.User.password">password (music.model.user.User attribute)</a>
</li>
<li><a href="src/MusicTools.Maths.html#PieChart">PieChart() (class)</a>
</li>
<li><a href="src/MusicTools.Maths.html#PieChart.componentDidMount">PieChart.componentDidMount() (PieChart method)</a>
</li>
<li><a href="src/MusicTools.Maths.html#PieChart.componentDidUpdate">PieChart.componentDidUpdate() (PieChart method)</a>
</li>
<li><a href="src/music.api.html#music.api.player.play">play() (in module music.api.player)</a>
</li>
@ -654,12 +722,12 @@
</li>
<li><a href="src/music.api.html#music.api.spotfm.playlist_refresh">playlist_refresh() (in module music.api.spotfm)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Playlist.html#PlaylistCard">PlaylistCard() (class)</a>
</li>
<li><a href="src/MusicTools.Playlist.html#PlaylistGrid">PlaylistGrid() (class)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Playlist.html#PlaylistRouter.View">PlaylistRouter.View() (class)</a>
</li>
<li><a href="src/MusicTools.Playlist.html#PlaylistRouter.View.handleChange">PlaylistRouter.View.handleChange() (PlaylistRouter.View method)</a>
@ -727,6 +795,8 @@
<li><a href="src/music.model.html#music.model.playlist.Sort.release_date">release_date (music.model.playlist.Sort attribute)</a>
</li>
<li><a href="src/music.db.html#music.db.part_generator.PartGenerator.reset">reset() (music.db.part_generator.PartGenerator method)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Row">Row() (built-in function)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
@ -773,6 +843,10 @@
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/music.model.html#music.model.config.Config.secret_key">secret_key (music.model.config.Config attribute)</a>
</li>
<li><a href="src/MusicTools.Settings.html#Settings">Settings() (class)</a>
</li>
<li><a href="src/MusicTools.Settings.html#Settings.handleChange">Settings.handleChange() (Settings method)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Playlist.shuffle">shuffle (music.model.playlist.Playlist attribute)</a>
@ -797,6 +871,10 @@
<li><a href="src/music.api.html#music.api.decorators.spotify_link_required">spotify_link_required() (in module music.api.decorators)</a>
</li>
<li><a href="src/music.model.html#music.model.user.User.spotify_linked">spotify_linked (music.model.user.User attribute)</a>
</li>
<li><a href="src/MusicTools.Settings.html#SpotifyLink">SpotifyLink() (class)</a>
</li>
<li><a href="src/MusicTools.Settings.html#SpotifyLink.getUserInfo">SpotifyLink.getUserInfo() (SpotifyLink method)</a>
</li>
</ul></td>
</tr></table>
@ -827,9 +905,35 @@
<li><a href="src/MusicTools.Tag.html#TagRouter">TagRouter() (class)</a>
</li>
<li><a href="src/music.api.html#music.api.tag.tags">tags() (in module music.api.tag)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView">TagView() (class)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.componentDidMount">TagView.componentDidMount() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.getTag">TagView.getTag() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.handleAdd">TagView.handleAdd() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.handleChangeAddType">TagView.handleChangeAddType() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.handleCheckChange">TagView.handleCheckChange() (TagView method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/MusicTools.Tag.html#TagView.handleInputChange">TagView.handleInputChange() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.handleRemoveObj">TagView.handleRemoveObj() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.handleRun">TagView.handleRun() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Tag.html#TagView.makeNetworkUpdate">TagView.makeNetworkUpdate() (TagView method)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Tasks">Tasks() (class)</a>
</li>
<li><a href="src/MusicTools.Admin.html#Tasks.getTasks">Tasks.getTasks() (Tasks method)</a>
</li>
<li><a href="src/MusicTools.Admin.html#TaskType">TaskType() (built-in function)</a>
</li>
<li><a href="src/music.model.html#music.model.tag.Tag.time_objects">time_objects (music.model.tag.Tag attribute)</a>
</li>
<li><a href="src/music.model.html#music.model.playlist.Playlist.to_dict">to_dict() (music.model.playlist.Playlist method)</a>
@ -933,15 +1037,9 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">Py</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Js</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -15,7 +15,7 @@
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="music" href="src/modules.html" />
<link rel="next" title="Flask Backend" href="src/music.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
@ -37,21 +37,35 @@
<div class="toctree-wrapper compound">
<p><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">Py</a><ul>
<li class="toctree-l2"><a class="reference internal" href="src/music.api.html">music.api</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/music.auth.html">music.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/music.cloud.html">music.cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/music.db.html">music.db</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/music.model.html">music.model</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/music.tasks.html">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Js</a><ul>
<li class="toctree-l2"><a class="reference internal" href="src/MusicTools.Playlist.html">Playlist</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/MusicTools.Tag.html">Tag</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/MusicTools.Maths.html">Maths</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/MusicTools.Admin.html">Admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">All Modules</a><ul>
<li class="toctree-l2"><a class="reference internal" href="src/music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="src/MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
</div>
<section id="id2">
<h2><a class="reference external" href="https://music.sarsoo.xyz">Music Tools</a><a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
<img alt="https://github.com/sarsoo/music-tools/workflows/test%20and%20deploy/badge.svg" src="https://github.com/sarsoo/music-tools/workflows/test%20and%20deploy/badge.svg" /><p>Music Tools is a web app for creating smart Spotify playlists. The app is based on <a class="reference external" href="https://github.com/Sarsoo/spotframework">spotframework</a> and <a class="reference external" href="https://github.com/Sarsoo/pyfmframework">fmframework</a> for interfacing with Spotify and Last.fm. The app is currently hosted on Googles Cloud Platform.</p>
<p>The system is composed of a Flask web server with a Fireo ORM layer and longer tasks dispatched to Cloud Tasks or Functions.</p>
<p>The backend is composed of a Flask web server with a Fireo ORM layer and longer tasks dispatched to Cloud Tasks or Functions. The frontend is a React app with material UI components and Axios for HTTP requests.</p>
<img alt="_images/Playlists.png" src="_images/Playlists.png" />
</section>
</section>
@ -83,22 +97,16 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">Py</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Js</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">All Modules</a></li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="#">Documentation overview</a><ul>
<li>Next: <a href="src/modules.html" title="next chapter">music</a></li>
<li>Next: <a href="src/music.html" title="next chapter">Flask Backend</a></li>
</ul></li>
</ul>
</div>

Binary file not shown.

View File

@ -211,15 +211,9 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">Py</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Js</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -76,15 +76,9 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/music.html">Py</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/MusicTools.html">Js</a></li>
<li class="toctree-l1"><a class="reference internal" href="src/modules.html">All Modules</a></li>
</ul>
<div class="relations">

File diff suppressed because one or more lines are too long

259
src/MusicTools.Admin.html Normal file
View File

@ -0,0 +1,259 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
<title>Admin &#8212; Music Tools 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>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Settings" href="MusicTools.Settings.html" />
<link rel="prev" title="Maths" href="MusicTools.Maths.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">
<section id="admin">
<h1>Admin<a class="headerlink" href="#admin" title="Permalink to this headline"></a></h1>
<section id="router">
<h2>Router<a class="headerlink" href="#router" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="Admin">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">Admin</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Admin" title="Permalink to this definition"></a></dt>
<dd><p>Admin router component for hosting cards</p>
<dl class="js function">
<dt id="Admin.handleChange">
<code class="sig-prename descclassname"><span class="pre">Admin.</span></code><code class="sig-name descname"><span class="pre">handleChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">e</span></em>, <em class="sig-param"><span class="pre">newValue</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Admin.handleChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle tab change event</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>e</strong> (<em>*</em>) Event data</p></li>
<li><p><strong>newValue</strong> (<em>*</em>) New tab data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
<section id="lock">
<h2>Lock<a class="headerlink" href="#lock" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="Lock">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">Lock</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Lock" title="Permalink to this definition"></a></dt>
<dd><p>Account lock card component</p>
<dl class="js function">
<dt id="Lock.getUserInfo">
<code class="sig-prename descclassname"><span class="pre">Lock.</span></code><code class="sig-name descname"><span class="pre">getUserInfo</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Lock.getUserInfo" title="Permalink to this definition"></a></dt>
<dd><p>Make user infor request of API</p>
</dd></dl>
<dl class="js function">
<dt id="Lock.handleLock">
<code class="sig-prename descclassname"><span class="pre">Lock.</span></code><code class="sig-name descname"><span class="pre">handleLock</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em>, <em class="sig-param"><span class="pre">username</span></em>, <em class="sig-param"><span class="pre">to_state</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Lock.handleLock" title="Permalink to this definition"></a></dt>
<dd><p>Make lock request of API</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
<li><p><strong>username</strong> (<em>*</em>) Subject username</p></li>
<li><p><strong>to_state</strong> (<em>*</em>) Target lock state</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
<dl class="js function">
<dt id="Row">
<code class="sig-name descname"><span class="pre">Row</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Row" title="Permalink to this definition"></a></dt>
<dd><p>Grid of account cards with lock buttons</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>props</strong> (<em>*</em>) </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>Card component wrapped in grid cell</p>
</dd>
</dl>
</dd></dl>
</section>
<section id="functions">
<h2>Functions<a class="headerlink" href="#functions" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="Functions">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">Functions</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Functions" title="Permalink to this definition"></a></dt>
<dd><p>Admin functions card component</p>
<dl class="js function">
<dt id="Functions.runAllUsers">
<code class="sig-prename descclassname"><span class="pre">Functions.</span></code><code class="sig-name descname"><span class="pre">runAllUsers</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Functions.runAllUsers" title="Permalink to this definition"></a></dt>
<dd><p>Make run all playlists request of API</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="Functions.runStats">
<code class="sig-prename descclassname"><span class="pre">Functions.</span></code><code class="sig-name descname"><span class="pre">runStats</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Functions.runStats" title="Permalink to this definition"></a></dt>
<dd><p>Make run stats request of API</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
<section id="tasks">
<h2>Tasks<a class="headerlink" href="#tasks" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="Tasks">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">Tasks</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Tasks" title="Permalink to this definition"></a></dt>
<dd><p>Running tasks card component</p>
<dl class="js function">
<dt id="Tasks.getTasks">
<code class="sig-prename descclassname"><span class="pre">Tasks.</span></code><code class="sig-name descname"><span class="pre">getTasks</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Tasks.getTasks" title="Permalink to this definition"></a></dt>
<dd><p>Get tasks from API</p>
</dd></dl>
</dd></dl>
<dl class="js function">
<dt id="TaskType">
<code class="sig-name descname"><span class="pre">TaskType</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TaskType" title="Permalink to this definition"></a></dt>
<dd><p>Grid of task cards</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>props</strong> (<em>*</em>) </p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>Card compnent wrapped in grid cell</p>
</dd>
</dl>
</dd></dl>
</section>
</section>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">Music Tools</a></h1>
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="music.html">Py</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Js</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html">Tag</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html">Maths</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="MusicTools.html">React Frontend</a><ul>
<li>Previous: <a href="MusicTools.Maths.html" title="previous chapter">Maths</a></li>
<li>Next: <a href="MusicTools.Settings.html" title="next chapter">Settings</a></li>
</ul></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">
&copy;2021, Sarsoo.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.5.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
<a href="../_sources/src/MusicTools.Admin.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>

166
src/MusicTools.Maths.html Normal file
View File

@ -0,0 +1,166 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
<title>Maths &#8212; Music Tools 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>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Admin" href="MusicTools.Admin.html" />
<link rel="prev" title="Tag" href="MusicTools.Tag.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">
<section id="maths">
<h1>Maths<a class="headerlink" href="#maths" title="Permalink to this headline"></a></h1>
<section id="bar-chart">
<h2>Bar Chart<a class="headerlink" href="#bar-chart" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="BarChart">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">BarChart</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#BarChart" title="Permalink to this definition"></a></dt>
<dd><p>Bar chart component using Chart.js</p>
<dl class="js function">
<dt id="BarChart.componentDidMount">
<code class="sig-prename descclassname"><span class="pre">BarChart.</span></code><code class="sig-name descname"><span class="pre">componentDidMount</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#BarChart.componentDidMount" title="Permalink to this definition"></a></dt>
<dd><p>Load data from react properties</p>
</dd></dl>
<dl class="js function">
<dt id="BarChart.componentDidUpdate">
<code class="sig-prename descclassname"><span class="pre">BarChart.</span></code><code class="sig-name descname"><span class="pre">componentDidUpdate</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#BarChart.componentDidUpdate" title="Permalink to this definition"></a></dt>
<dd><p>Re-apply data to chart on update</p>
</dd></dl>
</dd></dl>
</section>
<section id="pie-chart">
<h2>Pie Chart<a class="headerlink" href="#pie-chart" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="PieChart">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">PieChart</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PieChart" title="Permalink to this definition"></a></dt>
<dd><p>Pie chart component using Chart.js</p>
<dl class="js function">
<dt id="PieChart.componentDidMount">
<code class="sig-prename descclassname"><span class="pre">PieChart.</span></code><code class="sig-name descname"><span class="pre">componentDidMount</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PieChart.componentDidMount" title="Permalink to this definition"></a></dt>
<dd><p>Load data from react properties</p>
</dd></dl>
<dl class="js function">
<dt id="PieChart.componentDidUpdate">
<code class="sig-prename descclassname"><span class="pre">PieChart.</span></code><code class="sig-name descname"><span class="pre">componentDidUpdate</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PieChart.componentDidUpdate" title="Permalink to this definition"></a></dt>
<dd><p>Re-apply data to chart on update</p>
</dd></dl>
</dd></dl>
</section>
</section>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">Music Tools</a></h1>
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="music.html">Py</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Js</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html">Tag</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Maths</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html">Admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="MusicTools.html">React Frontend</a><ul>
<li>Previous: <a href="MusicTools.Tag.html" title="previous chapter">Tag</a></li>
<li>Next: <a href="MusicTools.Admin.html" title="next chapter">Admin</a></li>
</ul></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">
&copy;2021, Sarsoo.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.5.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
<a href="../_sources/src/MusicTools.Maths.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>

View File

@ -1,158 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
<title>MusicTools &#8212; Music Tools 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>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Playlist" href="MusicTools.Playlist.html" />
<link rel="prev" title="Music Tools React" href="MusicTools.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">
<section id="musictools">
<h1>MusicTools<a class="headerlink" href="#musictools" title="Permalink to this headline"></a></h1>
<dl class="js class">
<dt id="MusicTools">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">MusicTools</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools" title="Permalink to this definition"></a></dt>
<dd><p>Root component for app</p>
<dl class="js function">
<dt id="MusicTools.componentDidMount">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">componentDidMount</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.componentDidMount" title="Permalink to this definition"></a></dt>
<dd><p>Get user info from API on load</p>
</dd></dl>
<dl class="js function">
<dt id="MusicTools.componentWillUnmount">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">componentWillUnmount</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.componentWillUnmount" title="Permalink to this definition"></a></dt>
<dd><p>Cancel get user info request</p>
</dd></dl>
<dl class="js function">
<dt id="MusicTools.getUserInfo">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">getUserInfo</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.getUserInfo" title="Permalink to this definition"></a></dt>
<dd><p>Get user info from API</p>
</dd></dl>
<dl class="js function">
<dt id="MusicTools.setOpen">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">setOpen</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">bool</span></em><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.setOpen" title="Permalink to this definition"></a></dt>
<dd><p>Set whether side app drawer is open</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>bool</strong> (<em>*</em>) Open state of side drawer</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">Music Tools</a></h1>
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="MusicTools.html">Music Tools React</a><ul>
<li>Previous: <a href="MusicTools.html" title="previous chapter">Music Tools React</a></li>
<li>Next: <a href="MusicTools.Playlist.html" title="next chapter">Playlist</a></li>
</ul></li>
</ul></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">
&copy;2021, Sarsoo.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.5.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
<a href="../_sources/src/MusicTools.MusicTools.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>

View File

@ -16,7 +16,7 @@
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Tag" href="MusicTools.Tag.html" />
<link rel="prev" title="MusicTools" href="MusicTools.MusicTools.html" />
<link rel="prev" title="React Frontend" href="MusicTools.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -43,9 +43,30 @@
<dd><p>Router for playlist lists page, includes new playlist page</p>
</dd></dl>
<p>For managing playlists list pages for diverting to new playlist page</p>
<dl class="js class">
<dt id="PlaylistRouter.View">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">PlaylistRouter.</span></code><code class="sig-name descname"><span class="pre">View</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PlaylistRouter.View" title="Permalink to this definition"></a></dt>
<dd><p>Playlist view structure with tabs for view/editing and statistics</p>
<dl class="js function">
<dt id="PlaylistRouter.View.handleChange">
<code class="sig-prename descclassname"><span class="pre">PlaylistRouter.View.</span></code><code class="sig-name descname"><span class="pre">handleChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">e</span></em>, <em class="sig-param"><span class="pre">newValue</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PlaylistRouter.View.handleChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle tab change event</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>e</strong> (<em>*</em>) Event args</p></li>
<li><p><strong>newValue</strong> (<em>*</em>) New tab object</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
<section id="playlists-list">
<h2>Playlists List<a class="headerlink" href="#playlists-list" title="Permalink to this headline"></a></h2>
<section id="cards-list">
<h2>Cards List<a class="headerlink" href="#cards-list" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="PlaylistsView">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">PlaylistsView</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PlaylistsView" title="Permalink to this definition"></a></dt>
@ -210,31 +231,8 @@
</dd></dl>
</section>
<section id="playlist-router">
<h2>Playlist Router<a class="headerlink" href="#playlist-router" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="PlaylistRouter.View">
<em class="property"><span class="pre">class</span> </em><code class="sig-prename descclassname"><span class="pre">PlaylistRouter.</span></code><code class="sig-name descname"><span class="pre">View</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PlaylistRouter.View" title="Permalink to this definition"></a></dt>
<dd><p>Playlist view structure with tabs for view/editing and statistics</p>
<dl class="js function">
<dt id="PlaylistRouter.View.handleChange">
<code class="sig-prename descclassname"><span class="pre">PlaylistRouter.View.</span></code><code class="sig-name descname"><span class="pre">handleChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">e</span></em>, <em class="sig-param"><span class="pre">newValue</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PlaylistRouter.View.handleChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle tab change event</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>e</strong> (<em>*</em>) Event args</p></li>
<li><p><strong>newValue</strong> (<em>*</em>) New tab object</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
<section id="playlist-view">
<h2>Playlist View<a class="headerlink" href="#playlist-view" title="Permalink to this headline"></a></h2>
<section id="view-edit-card">
<h2>View/Edit Card<a class="headerlink" href="#view-edit-card" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="Edit">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">Edit</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Edit" title="Permalink to this definition"></a></dt>
@ -429,8 +427,8 @@
</dd></dl>
</section>
<section id="playlist-stats-view">
<h2>Playlist Stats View<a class="headerlink" href="#playlist-stats-view" title="Permalink to this headline"></a></h2>
<section id="stats-card">
<h2>Stats Card<a class="headerlink" href="#stats-card" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="Count">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">Count</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Count" title="Permalink to this definition"></a></dt>
@ -476,28 +474,31 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">Py</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Js</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Playlist</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html">Tag</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html">Maths</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html">Admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="MusicTools.html">Music Tools React</a><ul>
<li>Previous: <a href="MusicTools.MusicTools.html" title="previous chapter">MusicTools</a></li>
<li><a href="MusicTools.html">React Frontend</a><ul>
<li>Previous: <a href="MusicTools.html" title="previous chapter">React Frontend</a></li>
<li>Next: <a href="MusicTools.Tag.html" title="next chapter">Tag</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">

View File

@ -0,0 +1,296 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
<title>Settings &#8212; Music Tools 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>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Music Tools Modules" href="modules.html" />
<link rel="prev" title="Admin" href="MusicTools.Admin.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">
<section id="settings">
<h1>Settings<a class="headerlink" href="#settings" title="Permalink to this headline"></a></h1>
<section id="router">
<h2>Router<a class="headerlink" href="#router" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="Settings">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">Settings</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Settings" title="Permalink to this definition"></a></dt>
<dd><p>Settings card tabs structure for hosting password/spotify linked/last.fm username tabs</p>
<dl class="js function">
<dt id="Settings.handleChange">
<code class="sig-prename descclassname"><span class="pre">Settings.</span></code><code class="sig-name descname"><span class="pre">handleChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">e</span></em>, <em class="sig-param"><span class="pre">newValue</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Settings.handleChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle tab change event</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>e</strong> (<em>*</em>) Event args</p></li>
<li><p><strong>newValue</strong> (<em>*</em>) New tab object</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
<section id="change-password">
<h2>Change Password<a class="headerlink" href="#change-password" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="ChangePassword">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">ChangePassword</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#ChangePassword" title="Permalink to this definition"></a></dt>
<dd><p>Change password card</p>
<dl class="js function">
<dt id="ChangePassword.handleCurrentChange">
<code class="sig-prename descclassname"><span class="pre">ChangePassword.</span></code><code class="sig-name descname"><span class="pre">handleCurrentChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#ChangePassword.handleCurrentChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle current pw state change</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="ChangePassword.handleNew2Change">
<code class="sig-prename descclassname"><span class="pre">ChangePassword.</span></code><code class="sig-name descname"><span class="pre">handleNew2Change</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#ChangePassword.handleNew2Change" title="Permalink to this definition"></a></dt>
<dd><p>Handle new again pw state change</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="ChangePassword.handleNewChange">
<code class="sig-prename descclassname"><span class="pre">ChangePassword.</span></code><code class="sig-name descname"><span class="pre">handleNewChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#ChangePassword.handleNewChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle new pw state change</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="ChangePassword.handleSubmit">
<code class="sig-prename descclassname"><span class="pre">ChangePassword.</span></code><code class="sig-name descname"><span class="pre">handleSubmit</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#ChangePassword.handleSubmit" title="Permalink to this definition"></a></dt>
<dd><p>Handle submit button click, validate input, make network request</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
<section id="spotify-link">
<h2>Spotify Link<a class="headerlink" href="#spotify-link" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="SpotifyLink">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">SpotifyLink</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#SpotifyLink" title="Permalink to this definition"></a></dt>
<dd><p>Spotify account link settings card</p>
<dl class="js function">
<dt id="SpotifyLink.getUserInfo">
<code class="sig-prename descclassname"><span class="pre">SpotifyLink.</span></code><code class="sig-name descname"><span class="pre">getUserInfo</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#SpotifyLink.getUserInfo" title="Permalink to this definition"></a></dt>
<dd><p>Get user info from API and set spotify link status to state</p>
</dd></dl>
</dd></dl>
<dl class="js function">
<dt id="AuthButton">
<code class="sig-name descname"><span class="pre">AuthButton</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#AuthButton" title="Permalink to this definition"></a></dt>
<dd><p>Authenticate Spotify account button component</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>props</strong> (<em>*</em>) Properties</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>Button component</p>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="DeAuthButton">
<code class="sig-name descname"><span class="pre">DeAuthButton</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#DeAuthButton" title="Permalink to this definition"></a></dt>
<dd><p>Deauthenticate Spotify account button component</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>props</strong> (<em>*</em>) Properties</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>Button component</p>
</dd>
</dl>
</dd></dl>
</section>
<section id="last-fm-username">
<h2>Last.fm Username<a class="headerlink" href="#last-fm-username" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="LastFM">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">LastFM</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#LastFM" title="Permalink to this definition"></a></dt>
<dd><p>Last.fm username setting card</p>
<dl class="js function">
<dt id="LastFM.getUserInfo">
<code class="sig-prename descclassname"><span class="pre">LastFM.</span></code><code class="sig-name descname"><span class="pre">getUserInfo</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#LastFM.getUserInfo" title="Permalink to this definition"></a></dt>
<dd><p>Get user info from API, set current username to state</p>
</dd></dl>
<dl class="js function">
<dt id="LastFM.handleChange">
<code class="sig-prename descclassname"><span class="pre">LastFM.</span></code><code class="sig-name descname"><span class="pre">handleChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#LastFM.handleChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle input box state change</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="LastFM.handleSubmit">
<code class="sig-prename descclassname"><span class="pre">LastFM.</span></code><code class="sig-name descname"><span class="pre">handleSubmit</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#LastFM.handleSubmit" title="Permalink to this definition"></a></dt>
<dd><p>Handle submit button, post API change request</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
</section>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">Music Tools</a></h1>
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="music.html">Py</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Js</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html">Tag</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html">Maths</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html">Admin</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="MusicTools.html">React Frontend</a><ul>
<li>Previous: <a href="MusicTools.Admin.html" title="previous chapter">Admin</a></li>
<li>Next: <a href="modules.html" title="next chapter">Music Tools Modules</a></li>
</ul></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">
&copy;2021, Sarsoo.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.5.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
<a href="../_sources/src/MusicTools.Settings.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>

View File

@ -15,6 +15,7 @@
<script src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Maths" href="MusicTools.Maths.html" />
<link rel="prev" title="Playlist" href="MusicTools.Playlist.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -43,8 +44,8 @@
</dd></dl>
</section>
<section id="tags-list">
<h2>Tags List<a class="headerlink" href="#tags-list" title="Permalink to this headline"></a></h2>
<section id="cards-list">
<h2>Cards List<a class="headerlink" href="#cards-list" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="TagList">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">TagList</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagList" title="Permalink to this definition"></a></dt>
@ -154,6 +155,125 @@
</dd></dl>
</section>
<section id="view-edit-tag">
<h2>View/Edit Tag<a class="headerlink" href="#view-edit-tag" title="Permalink to this headline"></a></h2>
<dl class="js class">
<dt id="TagView">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">TagView</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView" title="Permalink to this definition"></a></dt>
<dd><p>Tag View card</p>
<dl class="js function">
<dt id="TagView.componentDidMount">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">componentDidMount</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#TagView.componentDidMount" title="Permalink to this definition"></a></dt>
<dd><p>Get tag info from API on load</p>
</dd></dl>
<dl class="js function">
<dt id="TagView.getTag">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">getTag</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">error_toast=true</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView.getTag" title="Permalink to this definition"></a></dt>
<dd><p>Get tag info from API</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>error_toast</strong> (<em>*</em>) Whether to show toast on network error</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="TagView.handleAdd">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">handleAdd</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#TagView.handleAdd" title="Permalink to this definition"></a></dt>
<dd><p>Validate input, make tag part add request of API</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Nothing</p>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="TagView.handleChangeAddType">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">handleChangeAddType</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">type</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView.handleChangeAddType" title="Permalink to this definition"></a></dt>
<dd><p>Handle adding type drop down change</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>type</strong> (<em>*</em>) </p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="TagView.handleCheckChange">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">handleCheckChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView.handleCheckChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle checkbox state changes, make network updates</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="TagView.handleInputChange">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">handleInputChange</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView.handleInputChange" title="Permalink to this definition"></a></dt>
<dd><p>Handle input box state changes</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="TagView.handleRemoveObj">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">handleRemoveObj</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">music_obj</span></em>, <em class="sig-param"><span class="pre">addType</span></em>, <em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView.handleRemoveObj" title="Permalink to this definition"></a></dt>
<dd><p>Handle remove watched part</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>music_obj</strong> (<em>*</em>) Subject object to remove</p></li>
<li><p><strong>addType</strong> (<em>*</em>) Object type (tracks/albums/artists)</p></li>
<li><p><strong>event</strong> (<em>*</em>) Event data</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="TagView.handleRun">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">handleRun</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">event</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView.handleRun" title="Permalink to this definition"></a></dt>
<dd><p>Validate input and make tag refresh update of API</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>event</strong> (<em>*</em>) </p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="js function">
<dt id="TagView.makeNetworkUpdate">
<code class="sig-prename descclassname"><span class="pre">TagView.</span></code><code class="sig-name descname"><span class="pre">makeNetworkUpdate</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">changes</span></em><span class="sig-paren">)</span><a class="headerlink" href="#TagView.makeNetworkUpdate" title="Permalink to this definition"></a></dt>
<dd><p>Put tag info changes to API</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>changes</strong> (<em>*</em>) Dictionary of changes to submit</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
</section>
@ -176,25 +296,29 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">Py</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="MusicTools.html">Js</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Tag</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html">Maths</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html">Admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="MusicTools.html">Music Tools React</a><ul>
<li><a href="MusicTools.html">React Frontend</a><ul>
<li>Previous: <a href="MusicTools.Playlist.html" title="previous chapter">Playlist</a></li>
</ul></li>
<li>Next: <a href="MusicTools.Maths.html" title="next chapter">Maths</a></li>
</ul></li>
</ul></li>
</ul>

View File

@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
<title>Music Tools React &#8212; Music Tools documentation</title>
<title>React Frontend &#8212; Music Tools 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>
@ -15,7 +15,7 @@
<script src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="MusicTools" href="MusicTools.MusicTools.html" />
<link rel="next" title="Playlist" href="MusicTools.Playlist.html" />
<link rel="prev" title="music.tasks" href="music.tasks.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -33,31 +33,83 @@
<div class="body" role="main">
<section id="music-tools-react">
<h1>Music Tools React<a class="headerlink" href="#music-tools-react" title="Permalink to this headline"></a></h1>
<section id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline"></a></h2>
<section id="react-frontend">
<h1>React Frontend<a class="headerlink" href="#react-frontend" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.MusicTools.html">MusicTools</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#router">Router</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#playlists-list">Playlists List</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#cards-list">Cards List</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#new-playlist-card">New Playlist Card</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#playlist-router">Playlist Router</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#playlist-view">Playlist View</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#playlist-stats-view">Playlist Stats View</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#view-edit-card">View/Edit Card</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html#stats-card">Stats Card</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.Tag.html">Tag</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html#router">Router</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html#tags-list">Tags List</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html#cards-list">Cards List</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html#new-tag-card">New Tag Card</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html#view-edit-tag">View/Edit Tag</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.Maths.html">Maths</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html#bar-chart">Bar Chart</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html#pie-chart">Pie Chart</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.Admin.html">Admin</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html#router">Router</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html#lock">Lock</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html#functions">Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html#tasks">Tasks</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.Settings.html">Settings</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html#router">Router</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html#change-password">Change Password</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html#spotify-link">Spotify Link</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html#last-fm-username">Last.fm Username</a></li>
</ul>
</li>
</ul>
</div>
</section>
<dl class="js class">
<dt id="MusicTools">
<em class="property"><span class="pre">class</span> </em><code class="sig-name descname"><span class="pre">MusicTools</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">props</span></em><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools" title="Permalink to this definition"></a></dt>
<dd><p>Root component for app</p>
<dl class="js function">
<dt id="MusicTools.componentDidMount">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">componentDidMount</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.componentDidMount" title="Permalink to this definition"></a></dt>
<dd><p>Get user info from API on load</p>
</dd></dl>
<dl class="js function">
<dt id="MusicTools.componentWillUnmount">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">componentWillUnmount</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.componentWillUnmount" title="Permalink to this definition"></a></dt>
<dd><p>Cancel get user info request</p>
</dd></dl>
<dl class="js function">
<dt id="MusicTools.getUserInfo">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">getUserInfo</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.getUserInfo" title="Permalink to this definition"></a></dt>
<dd><p>Get user info from API</p>
</dd></dl>
<dl class="js function">
<dt id="MusicTools.setOpen">
<code class="sig-prename descclassname"><span class="pre">MusicTools.</span></code><code class="sig-name descname"><span class="pre">setOpen</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="pre">bool</span></em><span class="sig-paren">)</span><a class="headerlink" href="#MusicTools.setOpen" title="Permalink to this definition"></a></dt>
<dd><p>Set whether side app drawer is open</p>
<dl class="field-list simple">
<dt class="field-odd">Arguments</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>bool</strong> (<em>*</em>) Open state of side drawer</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section>
@ -79,25 +131,28 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">Py</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Js</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html">Tag</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html">Maths</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html">Admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li>Previous: <a href="music.tasks.html" title="previous chapter">music.tasks</a></li>
<li>Next: <a href="MusicTools.MusicTools.html" title="next chapter">MusicTools</a></li>
</ul></li>
<li>Next: <a href="MusicTools.Playlist.html" title="next chapter">Playlist</a></li>
</ul></li>
</ul>
</div>

View File

@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
<title>music &#8212; Music Tools documentation</title>
<title>Music Tools Modules &#8212; Music Tools 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>
@ -15,8 +15,7 @@
<script src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="music" href="music.html" />
<link rel="prev" title="Music Tools" href="../index.html" />
<link rel="prev" title="Settings" href="MusicTools.Settings.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -33,81 +32,92 @@
<div class="body" role="main">
<section id="music">
<h1>music<a class="headerlink" href="#music" title="Permalink to this headline"></a></h1>
<section id="music-tools-modules">
<h1>Music Tools Modules<a class="headerlink" href="#music-tools-modules" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a><ul>
<li class="toctree-l2"><a class="reference internal" href="music.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="music.api.html">music.api</a><ul>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.admin">api.admin</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.api">api.api</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.decorators">api.decorators</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.fm">api.fm</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.player">api.player</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.spotfm">api.spotfm</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.spotify">api.spotify</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.api.html#module-music.api.tag">api.tag</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">Flask Backend</a><ul>
<li class="toctree-l2"><a class="reference internal" href="music.api.html">music.api</a><ul>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api">Module contents</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.admin">api.admin</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.api">api.api</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.decorators">api.decorators</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.fm">api.fm</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.player">api.player</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.spotfm">api.spotfm</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.spotify">api.spotify</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.api.html#module-music.api.tag">api.tag</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="music.auth.html">music.auth</a><ul>
<li class="toctree-l4"><a class="reference internal" href="music.auth.html#module-music.auth">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.auth.html#module-music.auth.auth">auth.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.auth.html">music.auth</a><ul>
<li class="toctree-l3"><a class="reference internal" href="music.auth.html#module-music.auth">Module contents</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.auth.html#module-music.auth.auth">auth.auth</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="music.cloud.html">music.cloud</a><ul>
<li class="toctree-l4"><a class="reference internal" href="music.cloud.html#module-music.cloud">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.cloud.html#module-music.cloud.function">cloud.function</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.cloud.html#module-music.cloud.tasks">cloud.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.cloud.html">music.cloud</a><ul>
<li class="toctree-l3"><a class="reference internal" href="music.cloud.html#module-music.cloud">Module contents</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.cloud.html#module-music.cloud.function">cloud.function</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.cloud.html#module-music.cloud.tasks">cloud.tasks</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="music.db.html">music.db</a><ul>
<li class="toctree-l4"><a class="reference internal" href="music.db.html#module-music.db">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.db.html#module-music.db.database">db.database</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.db.html#module-music.db.part_generator">db.part_generator</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.db.html">music.db</a><ul>
<li class="toctree-l3"><a class="reference internal" href="music.db.html#module-music.db">Module contents</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.db.html#module-music.db.database">db.database</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.db.html#module-music.db.part_generator">db.part_generator</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="music.model.html">music.model</a><ul>
<li class="toctree-l4"><a class="reference internal" href="music.model.html#module-music.model">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.model.html#module-music.model.config">model.config</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.model.html#module-music.model.playlist">model.playlist</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.model.html#module-music.model.tag">model.tag</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.model.html#module-music.model.user">model.user</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.model.html">music.model</a><ul>
<li class="toctree-l3"><a class="reference internal" href="music.model.html#module-music.model">Module contents</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.model.html#module-music.model.config">model.config</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.model.html#module-music.model.playlist">model.playlist</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.model.html#module-music.model.tag">model.tag</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.model.html#module-music.model.user">model.user</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="music.tasks.html">music.tasks</a><ul>
<li class="toctree-l4"><a class="reference internal" href="music.tasks.html#module-music.tasks">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.tasks.html#module-music.tasks.create_playlist">tasks.create_playlist</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.tasks.html#module-music.tasks.refresh_lastfm_stats">tasks.refresh_lastfm_stats</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.tasks.html#module-music.tasks.run_user_playlist">tasks.run_user_playlist</a></li>
<li class="toctree-l4"><a class="reference internal" href="music.tasks.html#module-music.tasks.update_tag">tasks.update_tag</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.tasks.html">music.tasks</a><ul>
<li class="toctree-l3"><a class="reference internal" href="music.tasks.html#module-music.tasks">Module contents</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.tasks.html#module-music.tasks.create_playlist">tasks.create_playlist</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.tasks.html#module-music.tasks.refresh_lastfm_stats">tasks.refresh_lastfm_stats</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.tasks.html#module-music.tasks.run_user_playlist">tasks.run_user_playlist</a></li>
<li class="toctree-l3"><a class="reference internal" href="music.tasks.html#module-music.tasks.update_tag">tasks.update_tag</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">Module contents</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music.music">music.music module</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">React Frontend</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a><ul>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Playlist.html#router">Router</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Playlist.html#cards-list">Cards List</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Playlist.html#new-playlist-card">New Playlist Card</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Playlist.html#view-edit-card">View/Edit Card</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Playlist.html#stats-card">Stats Card</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a><ul>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.MusicTools.html">MusicTools</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Playlist.html">Playlist</a><ul>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Playlist.html#router">Router</a></li>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Playlist.html#playlists-list">Playlists List</a></li>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Playlist.html#new-playlist-card">New Playlist Card</a></li>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Playlist.html#playlist-router">Playlist Router</a></li>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Playlist.html#playlist-view">Playlist View</a></li>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Playlist.html#playlist-stats-view">Playlist Stats View</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Tag.html">Tag</a><ul>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Tag.html#router">Router</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Tag.html#cards-list">Cards List</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Tag.html#new-tag-card">New Tag Card</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Tag.html#view-edit-tag">View/Edit Tag</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Tag.html">Tag</a><ul>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Tag.html#router">Router</a></li>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Tag.html#tags-list">Tags List</a></li>
<li class="toctree-l4"><a class="reference internal" href="MusicTools.Tag.html#new-tag-card">New Tag Card</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Maths.html">Maths</a><ul>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Maths.html#bar-chart">Bar Chart</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Maths.html#pie-chart">Pie Chart</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Admin.html">Admin</a><ul>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Admin.html#router">Router</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Admin.html#lock">Lock</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Admin.html#functions">Functions</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Admin.html#tasks">Tasks</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a><ul>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Settings.html#router">Router</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Settings.html#change-password">Change Password</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Settings.html#spotify-link">Spotify Link</a></li>
<li class="toctree-l3"><a class="reference internal" href="MusicTools.Settings.html#last-fm-username">Last.fm Username</a></li>
</ul>
</li>
</ul>
@ -135,23 +145,20 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">Py</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">All Modules</a><ul>
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li>Previous: <a href="../index.html" title="previous chapter">Music Tools</a></li>
<li>Next: <a href="music.html" title="next chapter">music</a></li>
<li>Previous: <a href="MusicTools.Settings.html" title="previous chapter">Settings</a></li>
</ul></li>
</ul>
</div>

View File

@ -16,7 +16,7 @@
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="music.auth" href="music.auth.html" />
<link rel="prev" title="music" href="music.html" />
<link rel="prev" title="Flask Backend" href="music.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -331,28 +331,33 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="music.html">Py</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">music.api</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="music.html">music</a><ul>
<li>Previous: <a href="music.html" title="previous chapter">music</a></li>
<li><a href="music.html">Flask Backend</a><ul>
<li>Previous: <a href="music.html" title="previous chapter">Flask Backend</a></li>
<li>Next: <a href="music.auth.html" title="next chapter">music.auth</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">

View File

@ -102,28 +102,33 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="music.html">Py</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">music.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="music.html">music</a><ul>
<li><a href="music.html">Flask Backend</a><ul>
<li>Previous: <a href="music.api.html" title="previous chapter">music.api</a></li>
<li>Next: <a href="music.cloud.html" title="next chapter">music.cloud</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">

View File

@ -189,28 +189,33 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="music.html">Py</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">music.cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="music.html">music</a><ul>
<li><a href="music.html">Flask Backend</a><ul>
<li>Previous: <a href="music.auth.html" title="previous chapter">music.auth</a></li>
<li>Next: <a href="music.db.html" title="next chapter">music.db</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">

View File

@ -176,28 +176,33 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="music.html">Py</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">music.db</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="music.html">music</a><ul>
<li><a href="music.html">Flask Backend</a><ul>
<li>Previous: <a href="music.cloud.html" title="previous chapter">music.cloud</a></li>
<li>Next: <a href="music.model.html" title="next chapter">music.model</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">

View File

@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17: http://docutils.sourceforge.net/" />
<title>music &#8212; Music Tools documentation</title>
<title>Flask Backend &#8212; Music Tools 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>
@ -16,7 +16,7 @@
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="music.api" href="music.api.html" />
<link rel="prev" title="music" href="modules.html" />
<link rel="prev" title="Music Tools" href="../index.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -33,10 +33,8 @@
<div class="body" role="main">
<section id="music">
<h1>music<a class="headerlink" href="#music" title="Permalink to this headline"></a></h1>
<section id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline"></a></h2>
<section id="flask-backend">
<h1>Flask Backend<a class="headerlink" href="#flask-backend" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a><ul>
@ -86,9 +84,8 @@
</li>
</ul>
</div>
</section>
<section id="module-music">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-music" title="Permalink to this headline"></a></h2>
<span id="music-root-module"></span><h2>music Root Module<a class="headerlink" href="#module-music" title="Permalink to this headline"></a></h2>
<p>Root module containing Music Tools backend</p>
<p>Top level module with functions for creating app with loaded blueprints and initialising the logging stack</p>
<dl class="py function">
@ -96,10 +93,7 @@
<code class="sig-prename descclassname"><span class="pre">music.</span></code><code class="sig-name descname"><span class="pre">init_log</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cloud</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">console</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#music.init_log" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</section>
<section id="module-music.music">
<span id="music-music-module"></span><h2>music.music module<a class="headerlink" href="#module-music.music" title="Permalink to this headline"></a></h2>
<dl class="py function">
<span class="target" id="module-music.music"></span><dl class="py function">
<dt id="music.music.create_app">
<code class="sig-prename descclassname"><span class="pre">music.music.</span></code><code class="sig-name descname"><span class="pre">create_app</span></code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#music.music.create_app" title="Permalink to this definition"></a></dt>
<dd><p>Generate and retrieve a ready-to-run flask app</p>
@ -135,26 +129,31 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Py</a><ul>
<li class="toctree-l2"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li>Previous: <a href="modules.html" title="previous chapter">music</a></li>
<li>Previous: <a href="../index.html" title="previous chapter">Music Tools</a></li>
<li>Next: <a href="music.api.html" title="next chapter">music.api</a></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">

View File

@ -525,28 +525,33 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">music.model</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="music.html">Py</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">music.model</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.tasks.html">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="music.html">music</a><ul>
<li><a href="music.html">Flask Backend</a><ul>
<li>Previous: <a href="music.db.html" title="previous chapter">music.db</a></li>
<li>Next: <a href="music.tasks.html" title="next chapter">music.tasks</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">

View File

@ -15,7 +15,7 @@
<script src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Music Tools React" href="MusicTools.html" />
<link rel="next" title="React Frontend" href="MusicTools.html" />
<link rel="prev" title="music.model" href="music.model.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@ -144,26 +144,31 @@
<h3>Navigation</h3>
<p><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="modules.html">Modules</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.html">music</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l1"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">music.tasks</a></li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Music Tools React</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="music.html">Py</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.api.html">music.api</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.auth.html">music.auth</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.cloud.html">music.cloud</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.db.html">music.db</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.model.html">music.model</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">music.tasks</a></li>
<li class="toctree-l2"><a class="reference internal" href="music.html#module-music">music Root Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="modules.html">music</a><ul>
<li><a href="music.html">music</a><ul>
<li><a href="music.html">Flask Backend</a><ul>
<li>Previous: <a href="music.model.html" title="previous chapter">music.model</a></li>
<li>Next: <a href="MusicTools.html" title="next chapter">Music Tools React</a></li>
</ul></li>
<li>Next: <a href="MusicTools.html" title="next chapter">React Frontend</a></li>
</ul></li>
</ul></li>
</ul>