![]() |
[PROBLEM] Queue Screen is Indented - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] Queue Screen is Indented (/showthread.php?tid=5142) Pages:
1
2
|
RE: Queue Screen is Indented - Tim Curtis - 10-28-2022 (10-28-2022, 07:38 PM)doobster Wrote:(10-26-2022, 07:48 PM)Nutul Wrote: @doobster Adding or modifying code to workaround the rare case where some tags have HTML is not a good idea. It's much better to fix the data with a good tagging utility. RE: Queue Screen is Indented - Nutul - 10-28-2022 (10-28-2022, 07:38 PM)doobster Wrote:(10-26-2022, 07:48 PM)Nutul Wrote: @doobster Hi, actually, regardless of the size of your library, a script will do it in a matter of seconds; and yes, it will resolve the issue in ALL instances, provided all the tags are stripped-down of all the "<" and ">" that alter the behavior of the library by injecting unwanted nested html elements. But anyway... the solution you suggest (although a graphical solution, not a technical one, and thus prone to render itself not working at some point in the future, due to UI changes / different screen/font sizes etc.) may be enough for the playing queue, but for sure it is not for neither the folder view, nor the tag view (and possibly the album view, I cannot remember). And this is just for the Artist tag in the file; Comment, Genre, Composer (among others) are also vulnerable. I do agree that moOde should not break in case of html-injection (be it intentional or not, doesn't matter), but if the problem can be circumvented with some grade of care... The technical fix may result a bit heavy, in terms of CPU power, and depending on how large your library is, could also affect the performance of some commands that require backend attention; I am still investigating for a clean and light solution, but at the moment I'm not fully satisfied with the results. Extensive testing to ensure it will not break something else in the long term, also are a stopper (for me at least). P.S. just try to put this as the Artist in one of your files, which is just legal html: <h1 style='color: red; font-size: 64px; font-weight: 900;'>Unknown</h1> Cheers, Al. |