Announcement

Collapse
No announcement yet.

Announce: Material Skin

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by cpd73
    When the error occurs again, please
    1. Open your browser's developer tools.
    2. Open the console tab - errors causing the view not to be drawn should be logged here
    3. Open the storage tab and expand local storage on the left.
    4. Click the LMS url that appears.
    5. On the right should now be listed materials settings that are stored
    6. Paste the contents of "lms-material:inned" here. This is the setting that contains the details of pinned apps.


    The above is for firefox - don't currently have chrome installed here, but you should be able to locate 'locate storage' in a similar vein.

    I can only assume that a pinned app is causing the storage to be corrupt. But as it does not happen here, kinda hard to determine the issue. Perhaps an encoding issue? However, there were no changes between 0.2.0 and 0.2.1 that should have affected this.
    I have just found out that once I click on more and browser then if I close the browser, it happen again. That means as long as I don't browse the " ... More " then it is ok!

    Comment


    • Originally posted by anadigi
      I have just found out that once I click on more and browser then if I close the browser, it happen again. That means as long as I don't browse the " ... More " then it is ok!
      I see the same issue on my phone. The only way to get out of it is to delete the cache.

      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


      • Announce: Material Skin

        Am 18.12.18 um 23:48 schrieb anadigi:
        >
        > cpd73 wrote:
        >> When the error occurs again, please
        >>
        >>> >

        > - Open your browser's developer tools.
        > - Open the console tab - errors causing the view not to be drawn
        > > should be logged here

        > - Open the storage tab and expand local storage on the left.
        > - Click the LMS url that appears.
        > - On the right should now be listed materials settings that are
        > > stored

        > - Paste the contents of "lms-material:inned" here. This is the
        > > setting that contains the details of pinned apps.
        > > > >


        Please don't just quote what Craig asked you to do, but actually do it.

        --

        Michael
        Michael

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

        Comment


        • Empty left side.

          Hi!

          Is this what you are asking for? From Chrome.

          I have the same problem on Chrome Windows 10 and on iPhone.

          lms-material:inned

          [{"id":"apps.spotty","title":"Spotty","item":{"i con-id":"plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee.png","addAction": "go","type":"redirect","actions":{"go":{"cmd":["spotty","items"],"params":{"menu":"spotty"}}},"title":"Spotty","im age":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50.png","menuA ctions":[{"cmd":"unpin","icon":"star","title":"Un-pin from main page"}],"id":"apps.spotty"}}]
          SB Touch optical to Hegel H90, Speakers Larsen 4.2
          Spare SB3
          AirPlay Bridge to Audio Pro A10
          Squeezelite-x connected to home LMS with ZeroTier One.
          SB Radio
          ReadyNAS 202
          iPeng

          Comment


          • Originally posted by bernt
            Hi!

            Is this what you are asking for? From Chrome.

            I have the same problem on Chrome Windows 10 and on iPhone.

            lms-material:inned

            [{"id":"apps.spotty","title":"Spotty","item":{"i con-id":"plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee.png","addAction": "go","type":"redirect","actions":{"go":{"cmd":["spotty","items"],"params":{"menu":"spotty"}}},"title":"Spotty","im age":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50.png","menuA ctions":[{"cmd":"unpin","icon":"star","title":"Un-pin from main page"}],"id":"apps.spotty"}}]
            That is what I'm asking for, but that is from an older version of material. This should now be like:

            Code:
            [{"id":"apps.spotty","title":"Spotty","image":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50_o.png","command":["spotty","items"],"params":["menu:spotty"]}]
            ...there is much less info stored now. Please clear this setting from localstorage, and restart material. Also, when the error occurs, are there any messages logged in the browser's console?
            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 is what I'm asking for, but that is from an older version of material. This should now be like:

              Code:
              [{"id":"apps.spotty","title":"Spotty","image":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50_o.png","command":["spotty","items"],"params":["menu:spotty"]}]
              ...there is much less info stored now. Please clear this setting from localstorage, and restart material. Also, when the error occurs, are there any messages logged in the browser's console?

              After clearing the settings from localstore and restarted Material all seems to be fine. I can't reproduce it for now anyway.

              Love the skinn. Thanks!
              SB Touch optical to Hegel H90, Speakers Larsen 4.2
              Spare SB3
              AirPlay Bridge to Audio Pro A10
              Squeezelite-x connected to home LMS with ZeroTier One.
              SB Radio
              ReadyNAS 202
              iPeng

              Comment


              • Originally posted by cpd73
                When the error occurs again, please
                1. Open your browser's developer tools.
                2. Open the console tab - errors causing the view not to be drawn should be logged here
                3. Open the storage tab and expand local storage on the left.
                4. Click the LMS url that appears.
                5. On the right should now be listed materials settings that are stored
                6. Paste the contents of "lms-material:inned" here. This is the setting that contains the details of pinned apps.


                The above is for firefox - don't currently have chrome installed here, but you should be able to locate 'locate storage' in a similar vein.

                I can only assume that a pinned app is causing the storage to be corrupt. But as it does not happen here, kinda hard to determine the issue. Perhaps an encoding issue? However, there were no changes between 0.2.0 and 0.2.1 that should have affected this.
                Code:
                [{"id":"apps.spotty","title":"Spotty","item":{"actions":{"go":{"cmd":["spotty","items"],"params":{"menu":"spotty"}}},"type":"redirect","addAction":"go","icon-id":"plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee.png","title":"Spotty","image":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50_o.png","menuActions":[{"cmd":"unpin","icon":"star","title":"Von Hauptseite entfernen"}],"id":"apps.spotty"}}]

                Comment


                • Originally posted by bernt
                  After clearing the settings from localstore and restarted Material all seems to be fine. I can't reproduce it for now anyway.

                  Love the skinn. Thanks!
                  I re-upgraded today to 0.2.1 to provide the requested information - and now I can not reproduce the error!
                  Very strange - yesterday it happened very consistent multiple times both on my phone as well as SLX on W10.
                  (I changed nothing from yesterday to today other than re-upgrading to current skin version)
                  Very, very odd.
                  LMS 8.x on RasPi4 (running along with OMV and AdGuard)
                  Player: 5 x Squeezebox Classic, Slimp3, SqueezeAmp
                  2nd System: PiCorePlayer (and LMS) on Pi Zero

                  Comment


                  • Originally posted by cpd73
                    That is what I'm asking for, but that is from an older version of material. This should now be like:

                    Code:
                    [{"id":"apps.spotty","title":"Spotty","image":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50_o.png","command":["spotty","items"],"params":["menu:spotty"]}]
                    ...there is much less info stored now. Please clear this setting from localstorage, and restart material. Also, when the error occurs, are there any messages logged in the browser's console?
                    I spook to soon (again ). The problem is back.

                    From the console.
                    Code:
                    vue.min.js?r=2.5.17:6 ReferenceError: i is not defined
                        at eval (eval at xa (vue.min.js?r=2.5.17:6), <anonymous>:3:4998)
                        at o.Pt [as _l] (vue.min.js?r=2.5.17:6)
                        at o.eval (eval at xa (vue.min.js?r=2.5.17:6), <anonymous>:3:4846)
                        at o.fn._render (vue.min.js?r=2.5.17:6)
                        at o.<anonymous> (vue.min.js?r=2.5.17:6)
                        at St.get (vue.min.js?r=2.5.17:6)
                        at new St (vue.min.js?r=2.5.17:6)
                        at o.hn.$mount (vue.min.js?r=2.5.17:6)
                        at o.hn.$mount (vue.min.js?r=2.5.17:6)
                        at init (vue.min.js?r=2.5.17:6)
                    He @ vue.min.js?r=2.5.17:6
                    vue.min.js?r=2.5.17:6 TypeError: Cannot read property 'addEventListener' of null
                        at o.setScrollElement (browse-page.js?r=0.2.1:1423)
                        at o.mounted (browse-page.js?r=0.2.1:1608)
                        at _t (vue.min.js?r=2.5.17:6)
                        at Object.insert (vue.min.js?r=2.5.17:6)
                        at A (vue.min.js?r=2.5.17:6)
                        at hn.__patch__ (vue.min.js?r=2.5.17:6)
                        at hn._update (vue.min.js?r=2.5.17:6)
                        at hn.<anonymous> (vue.min.js?r=2.5.17:6)
                        at St.get (vue.min.js?r=2.5.17:6)
                        at new St (vue.min.js?r=2.5.17:6)
                    He @ vue.min.js?r=2.5.17:6
                    html/lang/sv.json?r=0.2.1:1 Failed to load resource: the server responded with a status of 404 (Not Found)
                    init.js?r=0.2.1:60 Error: Request failed with status code 404
                        at e.exports (axios.min.js?r=0.18.0:8)
                        at e.exports (axios.min.js?r=0.18.0:8)
                        at XMLHttpRequest.l.(anonymous function) (http://10.0.0.3:9000/material/html/lib/axios.min.js?r=0.18.0:8:3278)
                    axios.get.then.catch.err @ init.js?r=0.2.1:60
                    Code:
                    [{"id":"apps.spotty","title":"Spotty","image":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50_o.png","command":["spotty","items"],"params":["menu:spotty"]}]
                    Last edited by bernt; 2018-12-19, 09:53.
                    SB Touch optical to Hegel H90, Speakers Larsen 4.2
                    Spare SB3
                    AirPlay Bridge to Audio Pro A10
                    Squeezelite-x connected to home LMS with ZeroTier One.
                    SB Radio
                    ReadyNAS 202
                    iPeng

                    Comment


                    • Originally posted by ElFishi
                      Code:
                      [{"id":"apps.spotty","title":"Spotty","item":{"actions":{"go":{"cmd":["spotty","items"],"params":{"menu":"spotty"}}},"type":"redirect","addAction":"go","icon-id":"plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee.png","title":"Spotty","image":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50_o.png","menuActions":[{"cmd":"unpin","icon":"star","title":"Von Hauptseite entfernen"}],"id":"apps.spotty"}}]
                      After clearing the cache the pane is back. Info now looks like this
                      Code:
                      [{"id":"apps.spotty","title":"Spotty","image":"/plugins/Spotty/html/images/93aac68fb06348598c1e67734dfaceee_50x50_o.png","command":["spotty","items"],"params":["menu:spotty"]}]

                      Comment


                      • Originally posted by bernt
                        I spook to soon (again ). The problem is back.
                        Hmm... If you remove the pinned app, does everything (browsing local music, apps, etc) work OK? Just trying to narrow down where the issue is.
                        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
                          Hmm... If you remove the pinned app, does everything (browsing local music, apps, etc) work OK? Just trying to narrow down where the issue is.
                          Did a clear again and the pinned app was removed and everything seems normal. I click around for I while without any pinned app and see what happens.
                          SB Touch optical to Hegel H90, Speakers Larsen 4.2
                          Spare SB3
                          AirPlay Bridge to Audio Pro A10
                          Squeezelite-x connected to home LMS with ZeroTier One.
                          SB Radio
                          ReadyNAS 202
                          iPeng

                          Comment


                          • Change background colour

                            Hi,

                            Impressed with the skin, I would like to integrate it in the visualisation of my domotics installation.

                            In order to blend the interface with my visualisation setup I would like to change the background colour.
                            I had a look at dark.css and changed some of the colours, but only managed to change one area:

                            Click image for larger version

Name:	Screenshot_20181219_125831.png
Views:	1
Size:	23.8 KB
ID:	1565546

                            What do I need to change to have the whole background changed to a different colour?

                            Thanks.

                            Comment


                            • Originally posted by baggins
                              I would like to integrate it in the visualisation of my domotics installation..
                              The colours are defined by https://vuetifyjs.com. Whilst it should be possible to add theme colours, I have no idea how to do this.
                              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
                                The colours are defined by https://vuetifyjs.com. Whilst it should be possible to add theme colours, I have no idea how to do this.
                                OK. Thanks.

                                Comment

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