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.
Please try this (all LMS, no VS involved):
- Create a new test virtual library with >1000 tracks in it using advanced search. (Or how did you create it?)
- In the default skin, got to Home > Library View. Library View is only displayed in the home menu, if you have have created a library view / virtual library.
- It should display the name of your virtual library and a track count.
- Is the track count displayed, and if so correctly?
- If the answer to both questions is not yes then it could also be an OS related issue (LMS on Ubuntu).
- You could try updating LMS to 8.3.0. Maybe consult the LMS git commit log or ask in the Logitech Media Server.
Not sure what else I can do because, as I said, I use the LMS provided function to delimit thousands.
Please try this (all LMS, no VS involved):
- Create a new test virtual library with >1000 tracks in it using advanced search. (Or how did you create it?)
- In the default skin, got to Home > Library View. Library View is only displayed in the home menu, if you have have created a library view / virtual library.
- It should display the name of your virtual library and a track count.
- Is the track count displayed, and if so correctly?
- If the answer to both questions is not yes then it could also be an OS related issue (LMS on Ubuntu).
- You could try updating LMS to 8.3.0. Maybe consult the LMS git commit log or ask in the Logitech Media Server.
Not sure what else I can do because, as I said, I use the LMS provided function to delimit thousands.
My default skin in 8.3 displays track counts correctly but when I tried VS recently it didn't.
Sent from my Pixel 3a using Tapatalk
Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: Radio
My default skin in 8.3 displays track counts correctly but when I tried VS recently it didn't.
So are you saying that right now, with browser caches cleared, maybe even an LMS restart, VS doesn't display the track counts correctly?
I'm very surprised that the very same function should yield different results in Library Views and VS.
What's your OS? And is English the default language of OS and the language set in LMS?
If nothing else works, I'll have to include my own delimit function and see if that works better.
So are you saying that right now, with browser caches cleared, maybe even an LMS restart, VS doesn't display the track counts correctly?
I'm very surprised that the very same function should yield different results in Library Views and VS.
What's your OS? And is English the default language of OS and the language set in LMS?
If nothing else works, I'll have to include my own delimit function and see if that works better.
Raspberry Pi OS Bullseye on a Pi4. English language.
Sent from my Pixel 3a using Tapatalk
Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: Radio
I've noticed that sometimes the visual statistics plugin won't display stats, instead it shows a red X next to the stat to be displayed.
This only seems to happen when running with material skin via squeezelite-X. Using material skin via a web browser, VS works fine.
When it gets into this state, changing the skin within squeezelite-X to default and back to material seems to get it working again, but on re-start the problem seems to recur.
I think this is relatively new as I don't recall seeing it previously and I almost always run material within SLX, so I would have spotted it.
FYI
Squeezelite-X 2.11.32
LMS 8.4.0 - 1667914576
Vis Stats 1.4.14
I've noticed that sometimes the visual statistics plugin won't display stats, instead it shows a red X next to the stat to be displayed.
This only seems to happen when running with material skin via squeezelite-X. Using material skin via a web browser, VS works fine.
When it gets into this state, changing the skin within squeezelite-X to default and back to material seems to get it working again, but on re-start the problem seems to recur.
I don't own a Windows PC but I've asked a friend who relunctantly installed the necessary software and did a quick test. What you're describing is exactly what he saw.
The red X would suggest that there's a problem with the VS request to the LMS server or its response. Or that the content of the response is empty or incorrect. In the latter case, however, there would most likely be error log messages in the LMS log, but they aren't.
If Material in a web browser and LMS default skin in Squeezelite-X work fine, I think it's probably not something I can fix in VS but something that a change in Squeezelite-X could fix. The fact that VS does work in Squeezelite-X with Material until it doesn't (Squeezelite-X restart?) seems to support this.
Also the last major VS code change happened last October, so nothing new there for a while that could have messed up things that weren't already messed up :-)
If you need this fixed, I think your best bet would be to ask the developer of Squeezelite-X to have a look. Sorry I can't be of more help here.
If you need this fixed, I think your best bet would be to ask the developer of Squeezelite-X to have a look. Sorry I can't be of more help here.
Thanks to you (and your friend) for testing and confirming. I'll post a note on the Squeezelite-X thread referring back to this post and see if Greg can shed any light on it.
I got this sorted out on the Squeezelite-X side. In the process, I had the good fortune to install the Visual Statistics plugin and I think it is pretty cool.
I have been looking for something like this that would build a database of all the songs I listen to (I rarely play anything from my own library anymore). I was hoping the PlayLog plugin would do the trick, but it appears obsolete. With Visual Statistics, you have all the basics to build such a feature.
So my suggestion is to add into Visual Statistics the ability to do visual statistics on songs played (like PlayLog). I was considering writing such a plugin and then when I saw Visual Statistics, I decided it really belongs there.
I got this sorted out on the Squeezelite-X side. In the process, I had the good fortune to install the Visual Statistics plugin and I think it is pretty cool.
I have been looking for something like this that would build a database of all the songs I listen to (I rarely play anything from my own library anymore). I was hoping the PlayLog plugin would do the trick, but it appears obsolete. With Visual Statistics, you have all the basics to build such a feature.
Not sure if PlayLog is still maintained. I think it's been replaced by the What Was That Tune? plugin.
You say that you rarely play anything from your own LMS library anymore. Do you mean you're mostly listening to streaming services like Spotify? If so, there's a restriction imposed by LMS you should know about: tracks from streaming services can only be processed by plugins like VS if you have added them to your LMS library as part of an album. LMS does not import single online tracks or tracks of online playlists as library tracks.
If this is about LMS library tracks, I think you can do already this: you create a virtual library with all tracks whose play count > 0 and then select this virtual library as a filter in VS. I've actually created such a virtual library with SQLite Virtual Libraries (because it can update the VL once a day) and Alternative Play Count (because it doesn't count skips as play counts). I can post the SQLite code for the VL if you're interested.
If you wanted to gather data on (online/remote) tracks that are not part of your LMS library, you'd first have to fetch all kinds of track (meta)data and the plugin for the respective streaming service (e.g. Spotty for Spotify) would be the way to go in that case. And then you'd need code to handle play counts and other dynamic metadata because LMS won't handle any of that for non-library tracks. You'd basically have to replicate a lot of LMS code to handle non-library online tracks.
Not sure if PlayLog is still maintained. I think it's been replaced by the What Was That Tune? plugin.
You say that you rarely play anything from your own LMS library anymore. Do you mean you're mostly listening to streaming services like Spotify? If so, there's a restriction imposed by LMS you should know about: tracks from streaming services can only be processed by plugins like VS if you have added them to your LMS library as part of an album. LMS does not import single online tracks or tracks of online playlists as library tracks.
If this is about LMS library tracks, I think you can do already this: you create a virtual library with all tracks whose play count > 0 and then select this virtual library as a filter in VS. I've actually created such a virtual library with SQLite Virtual Libraries (because it can update the VL once a day) and Alternative Play Count (because it doesn't count skips as play counts). I can post the SQLite code for the VL if you're interested.
If you wanted to gather data on (online/remote) tracks that are not part of your LMS library, you'd first have to fetch all kinds of track (meta)data and the plugin for the respective streaming service (e.g. Spotty for Spotify) would be the way to go in that case. And then you'd need code to handle play counts and other dynamic metadata because LMS won't handle any of that for non-library tracks. You'd basically have to replicate a lot of LMS code to handle non-library online tracks.
Thanks for reminding me about "What Was That Tune". Better than nothing, I guess. One thing I would have liked about PlayLog is that you could configure it to not log local tracks and just log streamed tracks which is what I am really after.
Correct. I usually only play songs from my own library that are not available on Spotify. I mostly listen to Spotify and Pandora radio stations. I discover a lot of new music that way, and often, I think "Oh, I want to remember this song and tell so-and-so about it or listen to it again a few days later", then I can't remember it. So, "What Was that Tune" will help with that. It would be cool if VS could show statistics on WWTT data, though I have not looked into what data is keeps and whether VS could access it. (I guess this would be a variation on my original thought.)
I was just thinking of logging 'songinfo' data as the songs are played (like I assume WWTT and Playlog do). I have not confirmed that the songinfo command returns what you need, or whether an additional call needs to made using a link provided in 'songinfo'.
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