title
Products            Buy            Support Forum            Professional            About            Codec Central
 

'Programmable Action' [REPLACE] don't work as excpected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joecr
    • Oct 2017
    • 4

    'Programmable Action' [REPLACE] don't work as excpected

    The expression:

    [REPLACE];,-,[tag]time[]

    produces this string:

    [REPLACE];,-,;09;42;07

    But I expect:

    09-42-07

    what I'm doing wrong?
  • mville
    dBpoweramp Guru
    • Dec 2008
    • 4015

    #2
    Re: 'Programmable Action' [REPLACE] don't work as excpected

    The syntax is wrong. Should be [REPLACE];,-,[tag]time[][]

    By the way, time is a property and not a tag.

    Comment

    • joecr
      • Oct 2017
      • 4

      #3
      Re: 'Programmable Action' [REPLACE] don't work as excpected

      Thank you. I see the error in my syntax.
      but this give's me as result:

      10;02;36

      Comment

      • mville
        dBpoweramp Guru
        • Dec 2008
        • 4015

        #4
        Re: 'Programmable Action' [REPLACE] don't work as excpected

        As I said earlier, time is a property and not a tag.

        Try this [REPLACE];,-,[time][]

        Where/How are you using the Replace function? In Naming string (Win10 64-bit and dBpa R16.3 Beta 4), I get 102230 AM.

        ... also, what version of dBpoweramp and on which platform/OS?

        ... ... finally, this works in Naming string:
        [GRAB]1,2,[time][]-[GRAB]4,5,[time][]-[GRAB]7,8,[time][][GRAB]9,11,[time][]
        e.g. 10-31-44 AM
        Last edited by mville; 10-17-2017, 10:43 AM. Reason: another question and another possible solution

        Comment

        • joecr
          • Oct 2017
          • 4

          #5
          Re: 'Programmable Action' [REPLACE] don't work as excpected

          I use dBpoweramp reference 16.2 64bit on german Windows 10

          Also with [REPLACE];,-,[time][] I got 10;02;36

          I want to create a timestamp within a directory path while ripping

          i.e :

          C:\output\20171017_10-02-36_COMPOSER\ ...

          Comment

          • mville
            dBpoweramp Guru
            • Dec 2008
            • 4015

            #6
            Re: 'Programmable Action' [REPLACE] don't work as excpected

            Try this instead:
            [GRAB]1,2,[time][]-[GRAB]4,5,[time][]-[GRAB]7,8,[time][]

            OR

            [GRAB]1,2,[time][]-[GRAB]4,5,[time][]-[GRAB]7,8,[time][][GRAB]9,11,[time][]

            Comment

            • joecr
              • Oct 2017
              • 4

              #7
              Re: 'Programmable Action' [REPLACE] don't work as excpected

              Perfect! This works.

              Many thanks for you help.

              BTW

              why works [GRAB] on a property but not [REPLACE]?

              Comment

              • mville
                dBpoweramp Guru
                • Dec 2008
                • 4015

                #8
                Re: 'Programmable Action' [REPLACE] don't work as excpected

                Originally posted by joecr
                why works [GRAB] on a property but not [REPLACE]?
                No idea. Perhaps Spoon can advise.

                Comment

                Working...

                ]]>