pssc / ha-addon-lms

Logitech Media Server Addon for Home Assistant
GNU General Public License v3.0
55 stars 13 forks source link

Blank Page #64

Closed hackintoshlover closed 7 months ago

hackintoshlover commented 7 months ago

Hi, Merry Christmas. Thanks for such an amazing addon. I installed it and used it everything works fine with the default LMS skin. But once i switch to material skin, the page goes blank. I have scoured the web but unable to get it working. Attached below is the image for your reference. Kindly help. Thanks. Screenshot (321)

pssc commented 7 months ago

Have you installed material in one and changed the HA. Add-on config and restarted your web browser for good measure ?

On 27 December 2023, at 11:03, hackintoshlover @.***> wrote:

Hi, Merry Christmas. Thanks for such an amazing addon. I installed it and used it everything works fine with the default LMS skin. But once i switch to material skin, the page goes blank. I have scoured the web but unable to get it working. Attached below is the image for your reference. Kindly help. Thanks. Screenshot.321.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/pssc/ha-addon-lms/issues/64", "url": "https://github.com/pssc/ha-addon-lms/issues/64", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

hackintoshlover commented 7 months ago

Hi, Thanks for the superfast reply. Yes i have done all the above steps. The weird thing is when i go into lms settings and change interface type to default. The sidebar displays proper lms webpage. This issue arises only when i change interface type to material skin. Moreove if i access from a web browser example: 192.168.x.x:9000 the material skin based lms shows up and everything works ok. Only when using from within the home assistant i am getting this issue.

pssc commented 7 months ago

On 27 December 2023, at 11:37, hackintoshlover @.***> wrote:

Hi, Thanks for the superfast reply. Yes i have done all the above steps. The weird thing is when i go into lms settings and change interface type to default. Yes leave it as default in itself The sidebar displays proper lms webpage. This issue arises only when i change interface type to material skin. Only change this in HA add-ons lms Moreove if i access from a web browser example: 192.168.x.x:9000 the material skin based lms shows up and everything works ok. Only when using from within the home assistant i am getting this issue. This is good and expected ingress works by proxying and has to rewrite the pages to make them work

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/pssc/ha-addon-lms/issues/64#issuecomment-1870225878", "url": "https://github.com/pssc/ha-addon-lms/issues/64#issuecomment-1870225878", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

hackintoshlover commented 7 months ago

I guess you don't understand the problem. I have applied material skin to lms. But unable to access it from within home assistant sidebar because it displays a blank page. How do i fix it? I don't want to manually open a browser to use lms. I wan to use it from within home assistant sidebar.

pssc commented 7 months ago

I am trying to ascertain the edges of the problem this does work I run my own setup through ingress with the material skin.

configure lms through port 9000 to use the default skin(not material), but have material installed.

configure the lms addon to use the material skin HA -> addons - lms -> config -> skin "material".

Browser caching can get in the way so its worth flushing the caches.

Phill.

On Thu, 28 Dec 2023 at 12:31, hackintoshlover @.***> wrote:

I guess you don't understand the problem. I have applied material skin to lms. But unable to access it from within home assistant sidebar because it displays a blank page. How do i fix it? I don't want to manually open a browser to use lms. I wan to use it from within home assistant sidebar.

— Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-lms/issues/64#issuecomment-1871123421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYPVAUZYI36PCBPIBT3YLVRCNAVCNFSM6AAAAABBEHKFHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGEZDGNBSGE . You are receiving this because you commented.Message ID: @.***>

-- I Can Resist Everything Except Temptation -- Oscar Wilde

hackintoshlover commented 7 months ago

Hey Phil, Thanks very much it finally shows up after the update. A small question though. Is there a way to change the interface name from LMS to Music ? Like in the sidebar it currently says LMS. How do i rename that to music ?

pssc commented 7 months ago

@hackintoshlover reopened? not fixed?

hackintoshlover commented 7 months ago

Hi. Very happy new year. I was actually wondering. If there is a way to rename the addon grom lms to music So that in the sidebar it says music where it currently says lms

pssc commented 7 months ago

@hackintoshlover don't think so you can change the order in the HA user prefs but that's it, You could use a custom iframe with the a custom name at a guess but that will not use ingress and will go direct which may or may not work for you dependant on your remote access requirements

hackintoshlover commented 7 months ago

Hey, Thanks for getting back. I tried the iframe method before asking you. I wanted to get it working through ingress. Will settle with LMS for now. Thanks for the help.