~hristoast/mousikofidi

26dd7b877808e90d4e69c62e0ecb93b6eb567cf0 — Hristos N. Triantafillou 9 months ago bf4fe7d
Rename the route too
2 files changed, 3 insertions(+), 3 deletions(-)

M mousikofidi/mousikofidi.py
M mousikofidi/templates/base.html
M mousikofidi/mousikofidi.py => mousikofidi/mousikofidi.py +2 -2
@@ 1212,7 1212,7 @@ def dir_detail(path):


@app.route("/queue")
def playlist():
def queue():
    c = request_context(app.fidiConfig)
    _audio_list = []
    _video_list = []


@@ 1330,7 1330,7 @@ def playlistctl(cmd, path):
    p = os.path.join(os.path.sep, path)

    if path == "load-with-redirect":
        u = "/playlist"
        u = url_for(".queue")
    else:
        u = request.referrer


M mousikofidi/templates/base.html => mousikofidi/templates/base.html +1 -1
@@ 101,7 101,7 @@
            </li>
          {% endif %}

            <li><a href="{{ url_for('.playlist') }}" title="A link to the queue page.">
            <li><a href="{{ url_for('.queue') }}" title="A link to the queue page.">
              {% if icons %}
                <i class="fas fa-list"></i>
              {% endif %}Queue