Announcement

Collapse
No announcement yet.

Announce: Melodeon

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • #31
    Hi @cdp73 it seems that when using the Qobuz plugin it is not possible to open "Qobuz goodies" in the app or in browser...
    Main system: Synology DS115j/RPi4B4GB(LMS)/RPi3B+[LnrPS](S.lite)/RME ADI-2 DAC fs/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

    Comment


    • #32
      Originally posted by DomieMic65
      Hi @cdp73 it seems that when using the Qobuz plugin it is not possible to open "Qobuz goodies" in the app or in browser...
      Can you capture (and reply here with) the JSON resp message that created the list with the link? melodeon --debug=json will allow you to capture all the JSONRPC messages between Material and LMS.
      Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

      Comment


      • #33
        Do you know what user agent string Melodeon would report? I think the server would only present those items if it knew the client was able to render HTML or follow links to PDF files. That's usually the case in browsers. But with a native wrapper around some rendering engine I'm not sure.
        Michael

        "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
        (LMS: Settings/Information)

        Comment


        • #34
          Originally posted by mherger
          Do you know what user agent string Melodeon would report? I think the server would only present those items if it knew the client was able to render HTML or follow links to PDF files. That's usually the case in browsers. But with a native wrapper around some rendering engine I'm not sure.
          I hard code the user-agent to :
          Code:
          Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
          But I thought the issue was the links were shown but did not open - hence my wanting the JSONRPC RESP so that I could hack my Material into showing the list, and then checking what happens on a click.
          Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

          Comment


          • #35
            Originally posted by cpd73

            Can you capture (and reply here with) the JSON resp message that created the list with the link? melodeon --debug=json will allow you to capture all the JSONRPC messages between Material and LMS.
            I am sorry but I don't know how to do this
            Should I give "melodeon --debug=json" in terminal?
            I did but it does not give any feedback

            When I try to open "Qobuz goodies" i get this screen:

            Click image for larger version

Name:	image.png
Views:	315
Size:	3.8 KB
ID:	1633356
            Attached Files
            Main system: Synology DS115j/RPi4B4GB(LMS)/RPi3B+[LnrPS](S.lite)/RME ADI-2 DAC fs/Densen DM20&30/Spendor SP2/3E
            Head-Fi: Sennheiser HD600 & HD25Alum/Audeze Sine.
            Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

            Comment


            • #36
              Hmmm... Perhaps the release builds (in the DEB) file have logging stripped. As a work-around just use Material's JSONRPC debug (see my sig) in a regular browser. The RESP message will be the same.

              [Edit] Also, can you open these links when running Material in a normal browser? Just checking if its a Melodeon issue or an issue with the skin.
              Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

              Comment


              • #37
                Material can open Qobuz Goodies" in a normal browser but not in Melodeon.

                Attached is the output of "melodeon --debug=json" in a terminal. First part is for entering "Qobuz Goodies" and the second part for opening the booklet (a pdf file).

                The final error message is unfortunately in German: "Der angegebene Ort wird nicht unterstützt" (= "The defined place is not supported"). Maybe Melodeon cannot access the place where the PDF file is stored?
                Attached Files

                Comment


                • #38
                  Originally posted by jd68
                  Material can open Qobuz Goodies" in a normal browser but not in Melodeon.
                  Thanks for this. I can confirm that Melodeon was not configured to correctly handle PDFs. There's two ways; embedded or open in external browser - Melodeon needs coding to handle either. I've now fixed this for the next release - and I'll display the PDF embedded in Melodeon. (Simple change, just needed to set a flag to enable plugins!)
                  Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

                  Comment


                  • #39
                    0.2.1 Release, changes:

                    1. Fix piCorePlayer settings pages being opened in external browser.
                    2. Don't explicitly disable scrollbars.
                    3. Fix showing of PDFs.

                    Source code and DEB package can be downloaded from:
                    Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

                    Comment


                    • #40
                      Thank you for sharing information about Melodeon. From what I understand, it's a software program that wraps around a web engine called QWebEngine and is designed to work on Linux. It has some interesting features like server auto-discovery and MPRIS support, and can be easily ported to other platforms. However, as someone who's not very tech-savvy, I found some of the technical terms a bit hard to understand.
                      Could you please explain in simpler terms what Melodeon does and how it can be useful for someone who's not very familiar with web engines? Thank you!

                      Comment


                      • #41
                        Melodeon is essentially a single-purpose web browser, a dedicated interface to LMS installations that have the Material skin installed. It is useful in situations where a general-purpose web browser cannot be installed, or for users who prefer not to use a general-purpose browser. Using Melodeon is the same* as using a web browser like Firefox or Chrome and loading the Material skin interface to LMS.

                        *edit: see cpd73's next post for exceptions to this statement.
                        Last edited by RobbH; 2023-04-14, 18:48.
                        Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players. Occasionally using SB Radio, Boom or Classic.

                        Comment


                        • #42
                          ...it also adds some extra features - MPRIS (to integrate with the desktop's music menu), auto-discovery of LMS, inhibit your computer's suspend whilst music is playing. But yeah, its main purpose is to make Material into more of an app like experience.
                          Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

                          Comment


                          • #43
                            Odd for a first ever post. Looks spammy unless he comes back with specifics rather than some generic stuff based on opening post in the thread.
                            Paul Webster
                            Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
                            and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

                            Comment


                            • #44
                              Originally posted by Paul Webster
                              Odd for a first ever post. Looks spammy unless he comes back with specifics rather than some generic stuff based on opening post in the thread.
                              My thought wa "chat-bot" AI thingy

                              Comment


                              • #45
                                Originally posted by cpd73
                                0.2.1 Release, changes:

                                1. Fix piCorePlayer settings pages being opened in external browser.
                                2. Don't explicitly disable scrollbars.
                                3. Fix showing of PDFs.

                                Source code and DEB package can be downloaded from:
                                Thankyou, will execute it then will tell you if any prob occured while operating. many many thanks

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎