Author Topic: Suggestions for 3.9  (Read 181611 times)

piovrauz

  • Posts: 994
Re: Suggestions for 3.9
« Reply #450 on: 5 Jul '21 - 20:44 »
@sveakul: you have to set it to "append" in the config, or it'll clear the logs every time you start ;)

sveakul

  • Posts: 115
Re: Suggestions for 3.9
« Reply #451 on: 5 Jul '21 - 21:52 »
@sveakul: you have to set it to "append" in the config, or it'll clear the logs every time you start ;)
If you take a look at the screenshot I included in my post, you'll see that I already have it set to "append."

piovrauz

  • Posts: 994
Re: Suggestions for 3.9
« Reply #452 on: 5 Jul '21 - 22:06 »
@sveakul: my bad, I block images and didn't read your post well enough.
Here my own settings in case they are needed - I do think there's a small bug.

sveakul

  • Posts: 115
Re: Suggestions for 3.9
« Reply #453 on: 5 Jul '21 - 22:56 »
Hi piovrauz, thanks for sharing your settings.  When I try them (with radio streams), after exiting XMPlay I get a single log.txt file with a single entry of the last song played, and a number of "log (date,time).old" files that contain the names of all the tracks played prior to the last one, one file per track.  Expected results of "append" would be a single log.txt file, containing the names of all the tracks played during that session.  I guess we'll have to wait for Keltic to take a look at it.

piovrauz

  • Posts: 994
Re: Suggestions for 3.9
« Reply #454 on: 6 Jul '21 - 05:28 »
How strange: yesterday it worked flawlessy, but this morning it creates a .old every time I open xmplay.
I'm 100% sure yesterday it continued writing on the same file, even after closing xmplay.
I switched between streams and local FLAcs too - and it was perfect.
I just suspended the session (with xmplay closed), slept, turned it on... and bam!

Keltic Danor

  • XMPlay Support
  • Posts: 816
Re: Suggestions for 3.9
« Reply #455 on: 6 Jul '21 - 05:37 »
nice, thanks gave it a quick test and it seems OK.

only missing thing would be enabling/disabling it based on stream/local file/format... maybe with custom formatting for each?
maybe that would be too much to ask for, ... but could it please be added? ;)

edit: on a second thought, there's another little thing I'd like to ask - can the logfile be saved using relative (to xmplay.exe folder) paths?
I think so, so just to clarify though would this work:
- A text field to exclude by file type, so you can enter "MP3" to ignore any mp3 files
- A checkbox, ignore all streams
- A checkbox, ignore all local files

Not sure about the different formatting though, probably a bit beyond me for the moment.

Edit2: Forgot to mention it should already handle relative paths, just formatting is a bit odd.
Any of the following should work:
- Plugins/log.txt
- log.txt
- ../log.txt
- C:\McguffinsInc\log.txt

@Keltic Danor:  thanks for this logging plugin!  However, I can't get it to append titles as they are played.  With the settings below, the log file only keeps the last title played after exiting XMPlay (this is after switching between various radio streams):

The Max Size setting wasn't working properly, hopefully this fixes it for you.

Just Log v1.2

Edit1: We should probably move any further plugin discussion to a different thread so we don't clog up this one. ;)
« Last Edit: 7 Jul '21 - 10:43 by Keltic Danor »

saga

  • Posts: 2526
Re: Suggestions for 3.9
« Reply #456 on: 7 Jul '21 - 20:23 »
As global shortcuts don't work on the Windows lock screen, it would be great if XMPlay could register itself as a media player in Windows 10, so that media keys such as play/pause (also via bluetooth) also work on the lock screen. This might of course conflict with global shortcuts if the user set those up using the standard media keys, so it should probably be optional.

My use case here would be a laptop being located in a different room, with a bluetooth speaker connected in my room that has a play/pause button.