Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1487

Allow navigation while using BrainzPlayer

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • web pages
    • None

      Currently when using BrainzPlayer on a page, you cannot leave the page (without stopping the playback). E.g. when exploring another user's listen history and play a track that sounds interesting, you can not switch to that user's statistics or recommendations (without remembering to right-click and open in a new tab).

      Although it would be nice to be able to navigate while the playback is running, i understand that this is not easily possible with the current LB architecture of Flask embedding information into the HTML file.

      I currently see the following possibilities to mitigate this (from the view of a user experienced in programming, not knowing the implications thoroughly):

      1. split into an outer and inner page where the outer page would consist of maybe header, sidebar and BrainzPlayer as the footer and an iframe for the content that can be dynamically changed. I do not know if this is feasible and the necessary coordination of inner and outer page is even possible via the iframe.
      2. Restructure the architecture so that the info that Flask embeds into the HTML page is served via an API endpoint and make ListenBrainz a single-page application.

      Again, i did not think this through and do not expect this to come soon, if at all.

            mr_monkey Monkey
            MaxEtMoritz MaxEtMoritz
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package