![]() |
|
Web status info - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Web status info (/showthread.php?tid=7496) |
Web status info - gzapico - 17-03-2025 10:37 Hi all, I would like to know if there is a way from browser or using a simple app to get values from number or artists, albums et all. I am using JPLAY on macOS but sometimes after rescanning I would like to know number of albums and artists and while I check the log i only get folders and items as info. Kind regards. RE: Web status info - simoncn - 17-03-2025 11:45 The top-level index shows the number of albums. You could get the number of artists by using the writeAllTags property to write an "all tags" file and count the number of ARTIST= lines in this file (and similarly for other tag names). Edit: To see this top-level index in JPLAY, you need to select By Folder under Local Network, then select a MinimServer instance. RE: Web status info - Donuk - 18-03-2025 10:32 Perhaps not helpful, but if you use a control app like Lumin or the Linn ones, that information is easily available. Donuk RE: Web status info - simoncn - 18-03-2025 10:59 The home page in JPLAY shows the numbers of albums, tracks, artists, composers, playlists and live radios. RE: Web status info - gzapico - 18-03-2025 21:00 Many thanks. I am aware that endpoints give all the info needed (I am using JPLAY) but i wanted a quick method to do it when i am rescanning MinimServer without needing to open control app. I think a find an 'easy way' parsing all tags as @simoncn told before. Using a bash script. # Count unique albums ALBUM_COUNT=$(grep '^ALBUM=' all_tags.txt | sort | uniq | wc -l) # Count unique artists (combining ALBUMARTIST and ARTIST) ARTIST_COUNT=$(grep -E '^(ALBUMARTIST=|ARTIST=)' all_tags.txt | awk -F'=' '{print $2}' | sort | uniq | wc -l) # Print results echo "Number of unique albums: $ALBUM_COUNT" echo "Number of unique artists: $ARTIST_COUNT" |