Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-2187

Import CD crashes MP when UAC is enabled

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0 Alpha
    • 1.2.3
    • Music
    • None
    • Operating System: Windows

    Description

      When you try to import a CD or CD Track in Music and you have UAC enabled, MP crashes. There is no issue in Windows XP where there is no UAC.

      h4. Steps to Reproduce
      Make sure UAC is enabled and Music importer is configured.

      1. Open "Music" in MP.
      2. Change View to "Shares"
      3. Open CD
      4. Select a track from the CD
      5. Pick either "Import CD" or "Import track" from the context menu.
      6. MP crashes.

      h4. Additional Information
      The problem is that MP tries to use (and create if it does not exist) directory "temp" to store the newly imported files before moving them to the library, but it uses a relative path not an absolute one. Since the working directory by default is the one that contains the running executable (i.e. %ProgramFiles%\Team MediaPortal\MediaPortal) MP attempts to create the temp directory in there which requires administrative rights, hence fails when UAC is on.

      Attachments

        Activity

          People

            arion_p arion_p (Inactive)
            arion_p arion_p (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: