If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Thanks! Is there a way to add all favorites at once to the play queue? (I only see how to add one at a time).
I had not tried "select" in the 3 dots. Selecting one favorite, inverting the selection (to get all the others), re-selecting the original, and playing the selection does work.
No, sorry, I don't see a way to add all favourites at once.
I see you've worked out how to use the "invert selection" method. Once added to the play queue, save the queue as a playlist?
Lost ads when using Qobuz plugin with Material Skin
I found the following strange behavior with the Qobuz plugin, which seems to only occur with Material Skin because everything works fine with the default skin. Maybe this also happens elsewhere with other plugins.
To check the following you need a Qobuz subscription and the last Qobuz Plugin 2.5.1.
To reproduce the effect try the following example:
1.) Select Qobuz Search and search for "pink floyd".
2.) Now select "The Wall" in "Albums".
3.) Now click on "Copyright" and display it.
(The copyright is displayed correctly)
4.) Back and now click on "Description" and display it.
This description contains some blank lines ("\n"), which are also shown in the display.
5.) Back and click "Copyright" again and display it.
Now Copyright text is gone, the display is blank and it does not come back until you exit the album and select it again.
Of course that shouldn't happen.
I tested it with Kiwi browser on Android and with Squeezelite-X on the PC.
I have temporarily fixed the problem by removing all "\n" contained in the strings to be displayed in the procedure in the program code of the Qobuz plugin.
This doesn't always look optimal, but it runs stably without this behavior.
Of course it would be nicer if you could find out why it works with the default skin and not with the material skin so that you can possibly correct it.
Maybe I can help find out.
....
4.) Back and now click on "Description" and display it.
This description contains some blank lines ("\n"), which are also shown in the display.
5.) Back and click "Copyright" again and display it.
Now Copyright text is gone, the display is blank and it does not come back until you exit the album and select it again.
....
I am not seeing either of these behaviors. No blank lines in Description. Copyright still displays in full. I've tried using a LInux desktop browser (Vivaldi), the Material apk on Android, and an open source browser on Android (SmartCookieWeb, a fork of Lightning).
This was with the remastered 2011 version of The Wall, the only one I see on Qobuz.
Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players (Squeezelite and Airplay bridge). Occasionally using SB Radio, Boom or Classic.
I found the following strange behavior with the Qobuz plugin, which seems to only occur with Material Skin because everything works fine with the default skin.
...
Sorry, but I don't use any music streaming services. To look into this I'll need the JSON REQ/RESP messages for each stage - see my signature. Note, your browser will probably ellide some of the mesages, in which case you need to click on the "..." to expand these.
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.
>> I found the following strange behavior with the Qobuz plugin, which
>> seems to only occur with Material Skin because everything works fine
>> with the default skin.
>> ...
>
> Sorry, but I don't use any music streaming services. To look into this
> I'll need the JSON REQ/RESP messages for each stage - see my signature.
> Note, your browser will -probably- ellide some of the mesages, in which
> case you need to click on the "..." to expand these.
Do you have the "textarea" implemented in Material? The "Description" is
returned as a "textarea" item, rather than just a text.
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
Do you have the "textarea" implemented in Material? The "Description" is
returned as a "textarea" item, rather than just a text.
Don't think so. I assume you mean "result.window.textarea"? Material handles this, and should replace new-lines with "<br/>" and then display as HTML.
However, the original reporter states that it shows initially, but not after going back out, showing antother section, and then showing the original section (where it is comming up blank).
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.
Sorry, but I don't use any music streaming services. To look into this I'll need the JSON REQ/RESP messages for each stage - see my signature. Note, your browser will probably ellide some of the mesages, in which case you need to click on the "..." to expand these.
Thank you for wanting to take a look.
Here is the console output of album "Heavy Load Blues" from "Gov't Mule":
The log shows three steps executed in a row.
1.) Copyright
2.) Description
3.) Copyright
In step 3 the Copyright is blank.
In the log of step 2 (description) is at the end only one "\n". If the description has no "\n" this doesn't happen, a little bit crazy but reproducible.
Maybe you can see what's going wrong, whether in the plugin or somewhere else.
LMS 8.3, MATERIAL 2.9.4, Qobuz 2.5.1 Plugin, Browser: Brave 1.3.8 (Chrome), german qobuz subscription
I have now discovered a second case in which some ads are initially empty, although the data is definitely there.
You can also see the data in the log, but they are not displayed.
I'm using the following album now: "Black Train" by John Coltrane.
First I go to the search and select the album.
Then I tap on Copyright and get the text displayed.
As an alternative, I go to the "Bestseller" album list and select the album.
If I now tap on Copyright, no text is displayed, the entry remains empty.
Very strange, it seems to depend on various factors, so it could also be due to the Qobuz plugin.
Very strange, it seems to depend on various factors, so it could also be due to the Qobuz plugin.
Pretty sure this is a issue with Material - your video with the empty page shows "1 Item", so Material thinks there is something to show.
I hacked your original 3 responses into Material and they seem to work. Are any errors logged? I guess not, as you would have listed them here.
Can you use the git version of Material? If so please edit browse-resp.js and add the following after lin 656:
Code:
console.log(JSON.stringify(resp));
...so should be:
Code:
}
console.log(JSON.stringify(resp));
}
} else if (data.result.artists_loop) {
var isComposers = false;
Hard-reload Material in your browser (without JSON debug), and re-do steps to blank Copyright view. This log will show the decoded results, and what Material should be showing. Does it show the text of the Copyright item?
After that can you try editing the same file, but change line 613 to:
Code:
id: parent.id+".textarea."+new Date().getTime()
...then hard-reload again. Does that help?
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.
Are any errors logged? I guess not, as you would have listed them here.
correct, no errors are logged.
Can you use the git version of Material? If so please edit browse-resp.js and add the following after lin 656:
Hard-reload Material in your browser (without JSON debug), and re-do steps to blank Copyright view. This log will show the decoded results, and what Material should be showing. Does it show the text of the Copyright item?
..and no obvious differences. Both have the copyright text in the "items" list - and the entry is the same for both. Very odd. My guess is something is breaking the list view between calls.
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.
My guess is something is breaking the list view between calls.
Based on this thought, I looked at the code of the Qobuz plugin again and carried out numerous tests and tried a lot. I think I've found something, but I want to check it out with Michael first. Not that there are any side effects from the code change.
I'll report when I know more.
> ..and no obvious differences. Both have the copyright text in the
> "items" list - and the entry is the same for both. Very odd. My guess is
> something is breaking the list view between calls.
I did some digging your code. If I change replaceNewLines() to always
return the un-altered string, the issue doesn't appear.
If I leave replaceNewLines() as is, but make sure that the copyright
does have a new line (\n) character, the issue isn't their either.
Or if I (as Sven suggested) removed all new line characters on the
server side, the issue doesn't appear either.
So IMHO there's a problem with removing the new lines in the browser.
Could there be some caching involved? As soon as I have a textarea item
with new line and another one without, the latter would no longer
display after the first had been rendered.
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
So IMHO there's a problem with removing the new lines in the browser.
I 100% agree the issue is with Material, I'm just not 100% sure where it is. I find it odd that Material does process both calls correctly - as you can see from the logs. Just it then fails to display the decoded item
...does that help? Not 100% sure where the "\\n" came from, but I'm thinking it was proably an artist bio, review, or lyrics that had 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.
title: text.startsWith("<") ? text : ("<p>"+text+"</p>"),
type: "html",
...this should cause all textarea's to be treated as HTML.
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.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment