• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Can't save covers with slashes in name

    Scheduled Pinned Locked Moved
    Comments & Feedback
    2
    3
    410
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • leifbkL
      leifbk
      last edited by

      I'm on Linux, and If I search for a cover for an album where the title contains a slash, I get an error message, and the cover won't save.

      This is a general problem with Unixes, where the slash / is the directory separator and about the only invalid character in a file name. Therefore a slash must be replaced by another character, eg an underscore, before Strawberry tries to save a cover.

      rlkeeneyR 1 Reply Last reply Reply Quote 0
      • rlkeeneyR
        rlkeeney @leifbk
        last edited by

        @leifbk You can use"" in a file name in Linux. I just created these three files using different methods. That said I don't think having a "" in a filename is a good idea.

        Screenshot at 2022-03-04 08-56-26.png

        leifbkL 1 Reply Last reply Reply Quote 0
        • leifbkL
          leifbk @rlkeeney
          last edited by leifbk

          @rlkeeney I'm talking about a forward slash (/) not a backslash (\), like in Lionel Hampton's "Golden Vibes / Silver Vibes". It's probably the same issue with artist names with slashes in them, like AC/DC (which I don't play).

          The problem is that I don't try to create the file, Strawberry does when it downloads a cover and tries to save it in the music folder.

          I have set Strawberry to "Save album covers in album directory" with the default pattern %albumartist-%album -- which doesn't work when there's a slash in the album name. Then it just throws up an error message saying something to the effect that the image can't be stored.

          This is clearly a bug, and it should be easy to remedy by replacing the slash with another character, like an underscore, before saving.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors