|
Web status info
|
|
18-03-2025, 21:00
Post: #5
|
|||
|
|||
|
RE: Web status info
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" Gustavo Zapico Sent from my Commodore 64. Please excuse brevity and tpyos. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Web status info - gzapico - 17-03-2025, 10:37
RE: Web status info - simoncn - 17-03-2025, 11:45
RE: Web status info - Donuk - 18-03-2025, 10:32
RE: Web status info - simoncn - 18-03-2025, 10:59
RE: Web status info - gzapico - 18-03-2025 21:00
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




