Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-24 Thread jonhd
d6jg wrote: > @johnd > > What the above means is you just need to find an image for The Family - > name it artist.jpg and put it in your Artist folder for The Family and > do a rescan and it should be picked up. Thanks Slarti' & Jim. Sure plonking an artist.jpg in the Artist folder does what

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread Michael Herger
In the back of my mind I have a feeling that dropping an artist.jpg into a regular Artist folder works in the same way as bio.html in the same folder but I’m not certain. That's correct: the lookup would check an album's folder and walk up the folder hierarchy to check for artist pictures.

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread d6jg
@johnd What the above means is you just need to find an image for The Family - name it artist.jpg and put it in your Artist folder for The Family and do a rescan and it should be picked up. This is a one off correction measure and you should not need to set a folder inside the settings for MAI

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread d6jg
In the back of my mind I have a feeling that dropping an artist.jpg into a regular Artist folder works in the same way as bio.html in the same folder but I’m not certain. It may be a false memory. Ask Michael if I’m right. Jim https://jukeradio.double6.net VB2.4[/B] STORAGE *QNAP TS419P

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread slartibartfast
jonhd wrote: > Yeah, sure, aware of that. And, as per your screengrab, I too have it > disabled. (I don't want to bother with providing my own Artist artwork; > just let the plugin do it.) > > Whoops! Sorry - that's not a checkbox, it's a folder symbol. So, sure, > you have defined a path. I

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread jonhd
slartibartfast wrote: > You define the artist artwork folder in "Music and Artist Information" > settings. Yeah, sure, aware of that. And, as per your screengrab, I too have it disabled. (I don't want to bother with providing my own Artist artwork; just let the plugin do it.)

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread slartibartfast
jonhd wrote: > I don't think that's so simple with mherger's 'Music and Artist > Information' plugin. (I don't provide my own Artist artwork, and rely on > the plugin to do that (with it's default settings).) Certainly can't > find a 'artist artwork folder' anywhere under >

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread jonhd
slartibartfast wrote: > You can change the artist pics yourself if you like. Just find the > incorrect one in the artist artwork folder and replace it. > I don't think that's so simple with mherger's 'Music and Artist Information' plugin. (I don't provide my own Artist artwork, and rely on

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread slartibartfast
jonhd wrote: > And those 2 artists appear like so in the UI (shame that slimserver > pulled the same artist pic for the 2 [wildly different!] bands): > > 37302 > > JonYou can change the artist pics yourself if you like. Just find the incorrect one in the artist artwork folder and replace it.

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2022-02-23 Thread jonhd
And those 2 artists appear like so in the UI (shame that slimserver pulled the same artist pic for the 2 [wildly different!] bands): 37302 Jon +---+ |Filename: ksnip_20220223-120454.png|

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-11-29 Thread jonhd
Thanks so much Roland0 for lms_getalbums - pretty much exactly what I needed. I have but one request (would have a go myself, but my Python knowledge is VERY rudimentary - pretty much do everything I do with Bash scripts...). Here's the issue (fyi, I use the --no-sortcase --sort-ignorearticles

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-09-04 Thread SlimChances
Roland0 wrote: > In LMS' data model (and API), albums do not have a genre or a file > system path (only tracks do). This means that the script would have to > assemble this "manually", which would be both tedious to implement and > *very* slow ( since the script would have to query LMS for all

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-09-04 Thread Roland0
SlimChances wrote: > I am not teksavvy enough to solve this for myself but is there a way of > showing output by genre?by library(ie MP3 and FLAC)? or better still by > Folder structure? Sorry if these are unrealistic requests and if so > ignore In LMS' data model (and API), albums do not have

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-09-03 Thread SlimChances
@RolandThanks for this script it is lightning ffast and nearly what I was looking for. I am not teksavvy enough to solve this for myself but is there a way of showing output by genre?by library(ie MP3 and FLAC)? or better still by Folder structure? Sorry if these are unrealistic requests and

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-07-15 Thread Bromf
Joined the forum today so that I could say "Thanks!" for this helpful thread and the Python script. It really is a wonderfully fast way of obtaining the album list and for us 'older-folk' used to paper it is very much appreciated. I am printing it off for the household. My Linux command is

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-02-17 Thread carsten_h
slartibartfast wrote: > Are all your tags correct? Yes, I hope so. The strange is that that this python script is using LMS to get the list and the display of LMS is also from LMS. So the data is the same. pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon one case

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-02-17 Thread slartibartfast
carsten_h wrote: > Hello! > > I used the python script: > > on my Mac and I got the list without any problem. After a little bit of > work (in Notepad++) I was able to get a plain text file which only has > the album names in sorted order. > > But now I see a difference. The list from here

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2021-02-17 Thread carsten_h
Hello! I used the python script: Viragored wrote: > • (Anything Python runs on) *Python script* (created by Roland0) – takes > a bit of setting up the first time, but then is a single click and fast > (a few seconds!). Output in HTML. A little familiarity with entering > command line

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-23 Thread Viragored
Roland0 wrote: > Looks fine. Some suggestions: > Post: You may want to mention which options works on which platform > (probably: option 1 & 3: Windows only, option two: anywhere python is > available (Windows, MacOS, Linux, ...) > PDF: > - direct link to script D/L instead of forum post > -

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-22 Thread Roland0
Viragored wrote: > Hi - I've updated post #1 in this thread to make direct reference to > your Python script. If you've a moment to spare, could you take a look > at the guide sheet I've attached? I'd appreciate any improvements you > can suggest to help others who arrive at your script via

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-22 Thread pkfox
Viragored wrote: > Every now and then I search the forums to see if there is a simple, > single-click way to output a list of all the Albums I've got, sorted by > Artist (must have) and Album Title (a nice bonus) and one album per row. > I had not come across one but since starting this thread

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-22 Thread Viragored
Roland0 wrote: > Here's a Python script which fetches the information directly from LMS > and writes it to a local file: 'download' > (https://nexus0.net/pub/sw/misc/lms_getalbums.py) > Usage: > Hi - I've updated post #1 in this thread to make direct reference to your Python script. If

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-20 Thread Viragored
Roland0 wrote: > added a --sort-ignorearticles option > > > There is no font specified, so you could just configure your browser to > prefer sans-serif What kind of sorcery is this? It works just like magic! Thanks so much :-) Browser: I've got Chrome's default font on my PC set to

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-20 Thread Roland0
Viragored wrote: > For me one major improvement would be to use, if possible, LMS's sort > order for album artists (the one that ignores selected beginnings of > artist names, such as the, el, le). > added a --sort-ignorearticles option > > A minor improvement would be to use sans-serif font

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-20 Thread Viragored
Roland0 wrote: > You could even create a 'batch file' > (https://www.windowscentral.com/how-create-and-run-batch-file-windows-10) Amazing - I've now made a 2-line batch file that runs the python then opens the output file in my web browser. With a shortcut to the batch file on my desktop, it's

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-19 Thread Viragored
Roland0 wrote: > Strange. Are you sure you added the --no-sortcase option ? > e.g. > > Code: > > > py lms_getalbums.py --no-sortcase piCoreLMS:9000 output.html > > > > > (run py lms_getalbums.py --help to see the script's syntax) > > >

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-19 Thread Viragored
Paul Webster wrote: > Just rename your .txt file to .bat or .cmd > and change any lines that have info (as opposed to the command itself) > to start with > REM Thanks guys! So much to learn, you can complete the rest. Digital: Raspberry Pi 3B; piCorePlayer 6 + LMS 8; HifiBerry DAC+DSP >

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-19 Thread Paul Webster
Just rename your .txt file to .bat or .cmd and change any lines that have info (as opposed to the command itself) to start with REM Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-19 Thread Viragored
Roland0 wrote: > Strange. Are you sure you added the --no-sortcase option ? > e.g. > > Code: > > > py lms_getalbums.py --no-sortcase piCoreLMS:9000 output.html > > > > > (run py lms_getalbums.py --help to see the script's syntax) > > >

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-19 Thread Roland0
Viragored wrote: > I have downloaded again a couple of hours ago, so I hope I'm on the > current version of your code. The backgrounds to the initial letters and > navbar are now a deep olive. But the sort order hasn't changed for me. > Here's a snip of what is near the end of my album list. >

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread Viragored
Paul Webster wrote: > That resolved it - including for Safari on iOS 12 > delivered via a web server (as in screenshot). > You can also see it does not show the year (can scroll left to get it > sometimes) or the index. I have downloaded again a couple of hours ago, so I hope I'm on the

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread Viragored
pkfox wrote: > Hi there - you need to download the latest version , check Albums List > and PDF or HTML radio button Thanks! I'm trying that now, and Avast tells me to stand by for a couple of hours while their lab verifies that you're not taking over the world with a virus. And I don't

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread Paul Webster
Roland0 wrote: > Good point, added. Didn't even consider that some platforms still seem > to default to some proprietary stuff even for web content. Guess the > spirit of IIS6 and Internet Explorer 8 is still alive... That resolved it - including for Safari on iOS 12 [image:

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread Roland0
Paul Webster wrote: > Also, and perhaps as a consequence of loading it locally on Windows with > a file:// I think it needs a charset to be specified in the head so that > extended characters display correctly > e.g. > Good point, added. Didn't even consider that some platforms still seem to

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread Roland0
Viragored wrote: > > One request: Would it be possible to sort the output without > case-sensitivity? In my library, one artist sequence is "ZZ Top" then > "Zed" followed by "a-ha". The album titles also have similar examples, > such as "BBC" before "Battle" > uploaded a new version which

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread pkfox
Viragored wrote: > Ooh - what did I miss? I didn't find a way to list only the albums > without the tracks, which gave me >1600 pages of output. I'll go back to > your app and try again. > > If you succeed I suspect you'll get a lot of users, over the years there > have been so many of us

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread Paul Webster
Also, and perhaps as a consequence of loading it locally on Windows with a file:// I think it needs a charset to be specified in the head so that extended characters display correctly e.g. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-18 Thread Paul Webster
Roland0 wrote: > I probably should have mentioned that I've uploaded an updated version > yesterday which already includes this. Including the few lines to make the port number optional would be useful. With your new version I do not see the year and also the index on the right does not

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-17 Thread Viragored
Roland0 wrote: > I probably should have mentioned that I've uploaded an updated version > yesterday which already includes this. Wow - lightning fast, indeed! Maybe five seconds - plus a half hour to find the output LOL !! A very usable file under 200KB listing my 3.2k albums. I'm a Python

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-17 Thread Viragored
pkfox wrote: > Hi there, my app does offer one album per line but in a pdf - I'll have > a look at knocking it up in HTML Ooh - what did I miss? I didn't find a way to list only the albums without the tracks, which gave me >1600 pages of output. I'll go back to your app and try again. If you

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-17 Thread Viragored
Roland0 wrote: > Not using Spotify, but seems unlikely that LMS would store such > information in it's own database There's a setting to select whether to include Spotify, via the Spotty plug-in, in the library scan. That led to my library having lots of entries that were only in Spotify, and

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-17 Thread Roland0
Grumpy Bob wrote: > Wow, that works quickly. Looks like I have some duplicates in there - I > presume that's the Spotify duplicates? > Not using Spotify, but seems unlikely that LMS would store such information in it's own database 'Various SW' (https://www.nexus0.net/pub/sw/): Web

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-17 Thread Roland0
Paul Webster wrote: > Some quick suggestions for changes to Roland0 Python script: > Index at top of page (first letter of artist name - simplistic and > foolable) > and --singleartist to enable hiding of duplicate artist names which I > think makes it a bit easier to scan quickly by eye > I

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-17 Thread pkfox
Viragored wrote: > That doesn't offer one album per line of output, and the author says > changing the logic to exclude all the tracks would be too much of a > mission. It's a neat app though, and is easy to use. > > Edit: my output pdf file from Documenter was >10 MB without artwork; > >350MB

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-16 Thread Paul Webster
Couple of quick suggestions: This makes the :9000 optional so only needs to be included if using non-standard port and --singleartist to enable hiding of duplicate artist names which I think makes it a bit easier to scan quickly by eye near the top ... Code: parser

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-16 Thread Grumpy Bob
Wow, that works quickly. Looks like I have some duplicates in there - I presume that's the Spotify duplicates? Robert *Home: *Raspberry Pi 3/piCoreplayer/LMS8.0.0/Material with files on QNAP TS-251A Touch > DacMagic 100 > Naim Audio Nait 3 > Mission 752 (plus Rega Planar 3 > Rega Fono Mini;

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-15 Thread Roland0
Here's a Python script which fetches the information directly from LMS and writes it to a local file: 'download' (https://nexus0.net/pub/sw/misc/lms_getalbums.py) Usage: Code: python3 lms_getalbums.py lmsserver:port filename Example: Code:

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-15 Thread Viragored
d6jg wrote: > Nice set of instructions. > Never come across AsctoTab before but frequently use db browser to look > at the libary.db > > Just one point - you should really make sure that LMS is NOT running > when you copy library.db - for safety sake Thanks, that's helpful. I'll amend the

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-15 Thread d6jg
Viragored wrote: > Every now and then I search the forums to see if there is a simple, > single-click way to output a list of all the Albums I've got, sorted by > Artist (must have) and Album Title (a nice bonus) and one album per row. > I've not come across one so spent some lockdown hours

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-15 Thread Viragored
Paul Webster wrote: > LMS Documenter offers another way > https://forums.slimdevices.com/showthread.php?112557-LMS-Documenter-Part-II That doesn't seem to offer one album per line of output. It's a neat app though, and is easy to use. Digital: Raspberry Pi 3B; piCorePlayer 6 + LMS 8;

Re: [SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-15 Thread Paul Webster
LMS Documenter offers another way https://forums.slimdevices.com/showthread.php?112557-LMS-Documenter-Part-II Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland

[SlimDevices: SqueezeCenter] How to list all Albums and Artists in LMS library

2020-07-15 Thread Viragored
Every now and then I search the forums to see if there is a simple, single-click way to output a list of all the Albums I've got, sorted by Artist (must have) and Album Title (a nice bonus) and one album per row. I've not come across one so spent some lockdown hours ploughing through things that