Airtime
  1. Airtime
  2. CC-4055

When choosing a new Airtime stor directory, ensure that it is empty

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2.0
    • Component/s: None
    • Labels:
      None
    • Originating Party:
      Developer

      Description

      Some user's miss the point of a stor directory, and point it at their existing music directory (which is what Watched directories are for).

      Make it so that if a user changes their stor directory, it must point to an empty directory.

        Activity

        Hide
        Daniel James
        added a comment -
        What about the scenario where a fresh install of Airtime is made, and then the storage directory path is changed to match an existing Airtime storage archive not under /srv/airtime/stor e.g. a RAID array? We could test for this by searching for the 'imported' and 'organize' folders, and if they are found, recognize the proposed new path as an existing Airtime archive and migrate it.

        If the proposed path does not contain these folders but is non-empty, we could display a warning message such as 'This folder is not an Airtime storage archive, files may be moved or renamed if you continue'. Then if they still click OK, move all files into the 'organize' folder.
        Show
        Daniel James
        added a comment - What about the scenario where a fresh install of Airtime is made, and then the storage directory path is changed to match an existing Airtime storage archive not under /srv/airtime/stor e.g. a RAID array? We could test for this by searching for the 'imported' and 'organize' folders, and if they are found, recognize the proposed new path as an existing Airtime archive and migrate it. If the proposed path does not contain these folders but is non-empty, we could display a warning message such as 'This folder is not an Airtime storage archive, files may be moved or renamed if you continue'. Then if they still click OK, move all files into the 'organize' folder.

          People

          • Assignee:
            Martin Konecny
            Reporter:
            Martin Konecny
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: