Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2219

Empty file naming script causes files to be renamed to _ext

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.6.3
    • Component/s: File Move & Rename
    • Labels:
      None

      Description

      Having a renaming script that evaluates to an empty filename Picard generates broken filenames in the form of e.g. "_mp3" (underscore followed by extension without dot).

      The cause is that an empty filename will first result in a filename of just the extension (".mp3"), but leading dots are replaced by underscores (due to being invalid in Windows Explorer and being interpreted as hidden on Unix like systems). The result is "_mp3".

      I propose Picard should keep the original filename in those cases.

       

       

        Attachments

          Activity

            People

            Assignee:
            outsidecontext Philipp Wolfer
            Reporter:
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                2.6.3