Author Topic: Xmp-justlog plugin  (Read 10061 times)

Keltic Danor

  • XMPlay Support
  • Posts: 905
Re: Xmp-justlog plugin
« Reply #50 on: 1 Oct '23 - 18:00 »
I was wondering if it could be possible to add a conditional filter of sort this plugin.
I see some streams I listen too are missing the title sometimes, so I'd like to be able to not have them logged.
Something along the lines of "if title is empty skip else log time - author - title"?
Been a while since I took a look at it, I was going to say "Exclude Untitled" should do that but I imagine you have that unchecked to log the filename when there is no tags.
Maybe a new more specific option for "Exclude Untitled Stream" would do the trick?

piovrauz

  • Posts: 1019
Re: Xmp-justlog plugin
« Reply #51 on: 2 Oct '23 - 19:18 »
Yes, it will work, as long it checks the stream data and not the custom log line.
In my case it would be something like "date time - ", ... which is not empy.

edit: I checked, and I do have "Exclude Untitled" checked, and since I only log streams... "Exclude Files is checked too". 
formatting for streams is %y-%m-%d %h:%i:%s %1

Keltic Danor

  • XMPlay Support
  • Posts: 905
Re: Xmp-justlog plugin
« Reply #52 on: 3 Oct '23 - 12:01 »
Yes, it will work, as long it checks the stream data and not the custom log line.
In my case it would be something like "date time - ", ... which is not empy.

edit: I checked, and I do have "Exclude Untitled" checked, and since I only log streams... "Exclude Files is checked too". 
formatting for streams is %y-%m-%d %h:%i:%s %1
It's a bit hard for me to test it given the scenario but I don't think the exclude untitled option was working at all, I've uploaded an update for you to try.

v1.91
  • Fixed the exclude untitled option ...maybe.
Just Log v1.91
« Last Edit: 4 Oct '23 - 03:22 by Keltic Danor »

piovrauz[offline]

  • Guest
Re: Xmp-justlog plugin
« Reply #53 on: 26 Oct '23 - 11:53 »
Putting a bit more synapses on this I found that the affected stream is sending a "-" character when switching between tracks. :P
Xmp-justlog would obviously interpret it as a title: I guess a filter based on title leght may work better?
Would that be feasible?