Browse Source

Pick up "old" PMP device-id too

Could matter on Linux due to case-sensitivity. Damn inconsistencies.
Vincent Lang 8 years ago
parent
commit
52bd9477e2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/player/CodecsComponent.cpp

+ 1 - 0
src/player/CodecsComponent.cpp

@@ -281,6 +281,7 @@ static QString findOldDeviceID()
     QDir::home().path() + "/Library/Application Support/Plex Media Server/Codecs/.device-id",
 #endif
     QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/Plex/Codecs/.device-id",
+    QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/Plex/codecs/.device-id",
     QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/Plex Media Server/Codecs/.device-id",
     Paths::dataDir() + "/codecs/.device-id",
   };