Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Searching in YouTube produces a warning at the top of the screen using chrome on android.

    Sent from my SM-G900F using Tapatalk
    Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
    Bedroom: Radio
    Bathroom: Radio

    Comment


    • Originally posted by slartibartfast
      Searching in YouTube produces a warning at the top of the screen using chrome on android.
      Yup, that's chrome. It's because the webapp is not served over HTTPS. The only way to remove this is to have LMS serve its pages over HTTPS.

      [Edit] It's because the text field would mean transmitting text to the server, un-encrypted. Chrome detects this, and shows that horrible info bar. I no of noway to remove this unfortunately.
      Last edited by cpd73; 2018-11-12, 14:03.
      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


      • Rules are rules .....

        A very minor bug but

        Click image for larger version

Name:	2018-11-12 13_33_51-Window.jpg
Views:	1
Size:	18.8 KB
ID:	1565248

        Click image for larger version

Name:	2018-11-12 13_33_22-Window.jpg
Views:	1
Size:	24.3 KB
ID:	1565249

        Click image for larger version

Name:	2018-11-12 13_32_45-Window.jpg
Views:	1
Size:	28.8 KB
ID:	1565247

        In case you are wondering. Those tracks that display in Material correctly without Track Nos are Spotty tracks from LastMix
        Jim



        VB2.4 storage QNAP TS419p (NFS)
        Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
        Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
        Dining Room SB Radio
        Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
        Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
        Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

        Comment


        • Originally posted by d6jg
          A very minor bug but
          ...
          In case you are wondering. Those tracks that display in Material correctly without Track Nos are Spotty tracks from LastMix
          That's not a bug per se - it's intentional. There is no way I'm going to support the multitude of track formats the web UI supports. However, I guess I could check if TRACKNUM is in the format, and use, otherwise don't. Currently disc number is not used, so probably need to support that too (again by checking if its used).
          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


          • Originally posted by cpd73
            That's not a bug per se - it's intentional. There is no way I'm going to support the multitude of track formats the web UI supports. However, I guess I could check if TRACKNUM is in the format, and use, otherwise don't. Currently disc number is not used, so probably need to support that too (again by checking if its used).
            Don’t fix on my account. It’s too minor.
            That said I would have expected the server to have been responsible for the formatting of the playlist not the browser?
            Jim



            VB2.4 storage QNAP TS419p (NFS)
            Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
            Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
            Dining Room SB Radio
            Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
            Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
            Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

            Comment


            • Originally posted by cpd73
              Yup, that's chrome. It's because the webapp is not served over HTTPS. The only way to remove this is to have LMS serve its pages over HTTPS.

              [Edit] It's because the text field would mean transmitting text to the server, un-encrypted. Chrome detects this, and shows that horrible info bar. I no of noway to remove this unfortunately.
              I found a way to disable the warning [emoji3]



              Sent from my SM-G900F using Tapatalk
              Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
              Bedroom: Radio
              Bathroom: Radio

              Comment


              • Originally posted by slartibartfast
                I found a way to disable the warning [emoji3]

                https://www.technipages.com/chrome-e...secure-warning
                Brilliant! Thanks. I think it might be due to chrome thinking one of the fields is (or could be) a password entry. If so, then it might be possible to work-around in code. Will see.
                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


                • Possible bug in M&AI implementation in Material (which is getting very good btw)

                  Jim



                  VB2.4 storage QNAP TS419p (NFS)
                  Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
                  Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
                  Dining Room SB Radio
                  Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
                  Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
                  Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

                  Comment


                  • Announce: Material Skin

                    > Possible bug in M&AI implementation in Material (which is getting very
                    > good btw)


                    I'm seeing that Material is sending

                    ["musicartistinfo","albumreview","artist:Gary Moore","albumark days in
                    Paradise"]

                    It would be preferable if it sent "album_id:123" when possible. And then
                    I need to eliminate a small bug in MAI...

                    --

                    Michael
                    Michael

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

                    Comment


                    • Originally posted by mherger
                      > Possible bug in M&AI implementation in Material (which is getting very
                      > good btw)


                      I'm seeing that Material is sending

                      ["musicartistinfo","albumreview","artist:Gary Moore","albumark days in
                      Paradise"]

                      It would be preferable if it sent "album_id:123" when possible. And then
                      I need to eliminate a small bug in MAI...
                      I was just looking at the MAI code for this. If I used "album_id:", MAI does a lookup on the DB to get the album name. So, I save it some time here :-) However, it will also call "cleanupAlbumName", which removes the part in parenthesis. if MAI is called with "album:" it does not cleanup the name - hence the error. So, I guess MAI needs to be fixed to call the cleanup in this "album:" case.

                      The reason for not using IDs was so that it would work with streams, etc. And seeing as MAI just maps the ID -> name anyway, I see no benefit (as the name is that supplied by LMS anyway).
                      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


                      • Announce: Material Skin

                        > I was just looking at the MAI code for this. If I used "album_id:", MAI
                        > does a lookup on the DB to get the album name. So, I save it some time
                        > here :-) However, it will also call "cleanupAlbumName", which removes
                        > the part in parenthesis. if MAI is called with "album:" it does not
                        > cleanup the name - hence the error. So, I guess MAI needs to be fixed to
                        > call the cleanup in this "album:" case.


                        Good catch!

                        > The reason for not using IDs was so that it would work with streams,
                        > etc. And seeing as MAI just maps the ID -> name anyway, I see no benefit
                        > (as the name is that supplied by LMS anyway).


                        Sometimes it saves the hassle of encoding issues...

                        --

                        Michael
                        Michael

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

                        Comment


                        • Announce: Material Skin

                          > I was just looking at the MAI code for this. If I used "album_id:", MAI
                          > does a lookup on the DB to get the album name. So, I save it some time
                          > here :-) However, it will also call "cleanupAlbumName", which removes
                          > the part in parenthesis. if MAI is called with "album:" it does not
                          > cleanup the name - hence the error. So, I guess MAI needs to be fixed to
                          > call the cleanup in this "album:" case.


                          That should be fixed in MAI v1.1.11.

                          --

                          Michael
                          Michael

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

                          Comment


                          • Originally posted by mherger
                            > I was just looking at the MAI code for this. If I used "album_id:", MAI
                            > does a lookup on the DB to get the album name. So, I save it some time
                            > here :-) However, it will also call "cleanupAlbumName", which removes
                            > the part in parenthesis. if MAI is called with "album:" it does not
                            > cleanup the name - hence the error. So, I guess MAI needs to be fixed to
                            > call the cleanup in this "album:" case.


                            That should be fixed in MAI v1.1.11.

                            --

                            Michael
                            That was quick
                            Jim



                            VB2.4 storage QNAP TS419p (NFS)
                            Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
                            Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
                            Dining Room SB Radio
                            Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
                            Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
                            Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

                            Comment


                            • Announce: Material Skin

                              > That was quick

                              Can you confirm MAI is working now in the Material skin?

                              --

                              Michael
                              Michael

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

                              Comment


                              • Originally posted by mherger
                                > That was quick

                                Can you confirm MAI is working now in the Material skin?

                                --

                                Michael
                                Its not. Album Review now hangs on "Fetching..."

                                Immigrant Song, Led Zeppelin III (Vinyl)
                                Jim



                                VB2.4 storage QNAP TS419p (NFS)
                                Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
                                Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
                                Dining Room SB Radio
                                Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
                                Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
                                Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

                                Comment

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