Author Topic: Play only one track from playlist or cue  (Read 399 times)

ctin

  • Posts: 3
Play only one track from playlist or cue
« on: 12 Aug '24 - 10:38 »
Hello,
Can I listen to only one song/track/subsong from a playlist or cue marks list in XMplay?
Is there a command line argument for this? For example: xmplay.exe "D:\DESKTOP\ok.mp3#mark1".
Or one DDE message?
Thank you.
« Last Edit: 12 Aug '24 - 12:28 by ctin »

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: Play only one track from playlist or cue
« Reply #1 on: 12 Aug '24 - 17:06 »
You can do that by appending *<number> to the filename. For example: xmplay.exe "D:\DESKTOP\ok.mp3*1"

The same should work via DDE too.

ctin

  • Posts: 3
Re: Play only one track from playlist or cue
« Reply #2 on: 12 Aug '24 - 17:15 »
Thank you very much. Works.
But by the name of the cue mark (title)? Who are PostMessage or SendMessage parameters?
But for playlists how is it done? For example: xmplay.exe "D:\DESKTOP\audio.pls*3" not work, for play item 3 from pls.
But for zip audio archives? For example: xmplay.exe "D:\DESKTOP\audio.zip*3" not work, for play item 3 from zip.
« Last Edit: 13 Aug '24 - 05:04 by ctin »

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: Play only one track from playlist or cue
« Reply #3 on: 13 Aug '24 - 13:38 »
It isn't currently possible to refer to cues by their title, only their number. It also isn't possible to refer to a single playlist entry - you would need to extract the playlist entry yourself and pass that to XMPlay. It is possible to refer to a single file in an archive, but only by its filename, like this: xmplay.exe "D:\DESKTOP\audio.zip|filename.mp3"

ctin

  • Posts: 3
Re: Play only one track from playlist or cue
« Reply #4 on: 13 Aug '24 - 16:54 »
Thank you.