Author Topic: Play Album - tracks not added to playlist in track number order  (Read 2345 times)

0 Members and 1 Guest are viewing this topic.

csimon

  • Jr. Member
  • **
  • Posts: 8
  • Karma: 0
    • View Profile
Play Album - tracks not added to playlist in track number order
« on: January 22, 2015, 07:38:30 PM »
The supplied Play Album command, which uses the JRiver.SearchPlay action, doesn't necessarily add the tracks to the playlist in the correct order. So I've tried adding a sort modifier according to the JRiver search expression language as follows:

[Album]=[{1}] ~sort=[Disc #],[Track #]

But it doesn't work. Any ideas?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Play Album - tracks not added to playlist in track number order
« Reply #1 on: January 22, 2015, 10:39:57 PM »
I had to play around with this for a while before I figured it out.

Code: [Select]
[Album]=[{1}] ~sort=[Track %23]
In other words, replace the # with %23

In my test, it was not necessary to include the disk # but if you do then that would also require the replacement.

Hmmm. It might be a good idea to have the VC JRiver plugin do the replacement automatically.  This might also affect songs, or artists that have a # character in their name...

csimon

  • Jr. Member
  • **
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Play Album - tracks not added to playlist in track number order
« Reply #2 on: January 23, 2015, 02:44:26 PM »
Yes, that worked. Thank you.  :)