Page 1 of 1

How to get current playing filename in playlist?

Posted: 18 Aug 2025 20:04
by Thijmen
Hi there,

I am trying to create an event for, for example OnUser1.

When pressed, I hoped it would do this:

Code: Select all

EXEC_TAG_FILE ${filenameandpath}|rating=20
PLS_CURRENT_PLAY_NEXT
But it appears that ${filenameandpath} is only for playlist events.
Is there a way to achieve what I want?

Re: How to get current playing filename in playlist?

Posted: 18 Aug 2025 20:08
by Thijmen
Perhaps a

Code: Select all

${cpltrackfilenameandpathcurrent}
can be implemented?

Re: How to get current playing filename in playlist?

Posted: 18 Aug 2025 22:43
by radio42
Sure. That might be added to the next release.

Re: How to get current playing filename in playlist?

Posted: 19 Aug 2025 08:03
by Thijmen
That would be great, looking forward to the release! :D

Re: How to get current playing filename in playlist?

Posted: 19 Aug 2025 08:37
by Thijmen
I currently worked around this by setting a EXEC_VAR_SET in OnTrackPlay, with the current filename and I fetch it in my command with ${VAR:variable}, but having this natively in Proppfrexx would be great!

Re: How to get current playing filename in playlist?

Posted: 07 Sep 2025 23:17
by radio42
The macros ${cpltrackfilenameandpathcurrent} and ${cpltrackfilenameandpathnext} have been added to the new v4.5.2.0.

Re: How to get current playing filename in playlist?

Posted: 11 Oct 2025 07:51
by Thijmen
Awesome, thanks Bernd!