Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.2.3
-
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.
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
Issue Links
- links to