Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Commit

Permalink
path-to-mediainfo-lib.patch updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ikarsokolov committed Apr 22, 2013
1 parent a679d90 commit f84fac4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions debian/patches/path-to-mediainfo-lib.patch
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
--- a/src/main/java/net/pms/dlna/MediaInfo.java
+++ b/src/main/java/net/pms/dlna/MediaInfo.java
@@ -44,17 +44,7 @@
libraryName = "mediainfo64";
} else {
@@ -46,15 +46,8 @@
libraryName = "mediainfo";
- }
-
}
- // libmediainfo for Linux depends on libzen
- if (!Platform.isWindows() && !Platform.isMac()) {
if (!Platform.isWindows() && !Platform.isMac()) {
- try {
- // We need to load dependencies first, because we know where our native libs are (e.g. Java Web Start Cache).
- // If we do not, the system will look for dependencies, but only in the library path.
- NativeLibrary.getInstance("zen");
- } catch (LinkageError e) {
- logger.warn("Error loading libzen: " + e.getMessage());
- LOGGER.warn("Error loading libzen: " + e.getMessage());
- }
+ NativeLibrary.addSearchPath(libraryName, "/usr/lib/ps3mediaserver/");
}
Expand Down

0 comments on commit f84fac4

Please sign in to comment.